Excel Notes
Excel Notes
Extensions
.xlsx new version
.xls old Version
.csv Comma Seperated File (Name,Age,City)
.xlsm Macro and VBA (Advanced Excel)
.pdf read only
Functions
Sum =SUM(number1:numbern)
Average =Average(number1:numbern)
Max =max(number1:numbern)
Min =min(number1:numbern)
Count =count(number1:numbern)
Product =product(number1:numbern)
CountA Count Non blank cells =CountA(number1:numbern)
Countblank Count blank cells =Countblank(number1:numbern)
Countif(1 Condition) =countif(Range.Criteria)
Countifs(1 or more) =countifs(Range1,Criteria1,…...)
#24-07-24(Day2)
If Condition
=if(Condition,True,False)
=ifs
""-Blank Cell
=IF(B2>=C2,"Achieved","Not Achieved")
=IF(B2>=C2,"Bonus","No Bonus")
=IF(D2="Achieved","Bonus","No Bonus")
ifs 1 or more
-Ifs(Logical text1 ,True1,Logical Text2,True2.........)
N number of Conditions -Ifs Condition n
=IFS(G2<3000,"No Tax",G2<=6000,G2*10%,G2<=9000,G2*20%,G2>9000,G2*30%)
Ifs n =n Conditions
=IF(G2<3000,"No Tax",IF(G2<=6000,G2*10%,IF(G2<=9000,G2*20%,G2*30%)))
if(if(if) n Condition-1
#25-07-24(Day5)
=Sumif(Criteria Range,Criteria,Sum Range)
=Sumifs(Sum Range,Criteria Range1,Criteria1,Criteria Range2,Criteria2...)
=Averageifs(Sum Range,Criteria Range1,Criteria1,Criteria Range2,Criteria2...)
=Maxifs(Sum Range,Criteria Range1,Criteria1,Criteria Range2,Criteria2...)
=Minifs(Sum Range,Criteria Range1,Criteria1,Criteria Range2,Criteria2...)
Date (YYYY,MM,DD)
Day Day(Date)
Month Month(Date)
Quarter Quarter(Date)
Year Year(Date)
Date andTime
Hour Hour(Date)
Minute Minute(Date)
Second Second(Date)
Datedif
Text
=TEXT(Date,"DDDD")
MMMM Full month Name
MMM Short month Name
MM 01
M 1
DDDD Full Day Name
DDD Short Day Name
DD 01
D 1
#26-07-24(Day6)
=DATEDIF(C2,DATE(2013,3,31),"Y")
=DATEDIF(C3,TODAY(),"Y")
Year =DATEDIF(A10,TODAY(),"Y")
Month =DATEDIF(A10,TODAY(),"YM")
Day =DATEDIF(A10,TODAY(),"MD")
Y -year
M month
D Day
MD Days passed in the month
YM Month passed in the Year
=NETWORKDAYS(B1,B2,B5:B19)
=NETWORKDAYS.INTL(B1,B2,16,B5:B19)
Operator in Excel
AND Both condition TRUE
OR Any one Condition TRUE
NOT Opposite
0 0 0 0 1
0 1 0 1 1
1 0 0 1 0
1 1 1 1 0
#29-07-24(Day-7)
Text Function
Clean -Remove nonprintable character
Trim -Remove unwanted Space before and after name
Upper -Upper case
Lower -Lower case
Find/search -Find any char
Concat ,Concatinate,& -combine string
Left -Separate left Char
Right -Separate right Char
Mid - Separate Middle Char
replace -replace specific character from any position
substitute- replace string with other string
#30-07-24(Day-8)
Vlookup Function-Vertical Lookup-column
-Vertical Data
-Lookup value must be present in First Column
-Find value only Right Side of Lookup Value
=VLOOKUP(VLOOKUP(J12,$B$1:$H$21,7,0),$J$2:$L$7,3,1)
=iferror(VLOOKUP($J3,$B$1:$H$21,MATCH(K$2,$B$1:$H$1,0),0),"No Data")
#31-07-24(Day-9)
Extract data from multiple Sheets using Table Range
=IFERROR(VLOOKUP($K$2,Data1,MATCH(L$1,Data1[#Headers],0),0),IFERROR(VLOOKUP($K$2,Da
ta2,MATCH(L$1,Data2[#Headers],0),0),IFERROR(VLOOKUP($K$2,Data3,MATCH(L$1,Data3[#Hea
ders],0),0),"No Info")))
Hlookup
=HLOOKUP(B$10,$A$2:$U$8,MATCH($A11,$A$2:$A$8,0),0)
Hlookup Function-Horizontal Lookup-column
-H Horizontal Data
-Lookup value must be present in First Row
-Find value only below the Lookup Value
=Hlookup(Lookup Value,Table Array,Row index No,matchtype)
Vlookup HLookup
1 Data Vertical Horizontal
2 Lookup Value 1 Column 1 Row
3 Drawback not find Left Side Not find above value
4 Header Column headers Row headers
5 Formula =vlookup(Lookupvalue,table,Column Header,Match type)
=hlookup(Lookupvalue,table,RowHeader,Match type)
#01-08-24(Day-10)
Index and Match(Find any value)
=index(array,Row match,Column Match)
=INDEX($A$2:$E$6,MATCH($C$9,$A$2:$A$6,0),MATCH(B$11,$A$1:$E$1,0))
=RANK($L5,$L$5:$L$9,0)
True=1
False=0
=--(True)=1
=--(False)=0
ISBLANK-Check for blank
ISERROR-check for error
ISNA check for na error
ISNUMBER check for no
ISEVEN check for even no
ISODD check for odd no
ISTEXT Check for text
ISlOGICAL Check for Logical O/p(True/False)
#02-08-24(Day 11)
Array - Group of Numbers {} Ctrl+Shift+Enter
=SUMPRODUCT(G2:G10,H2:H10)
Indirect function gives dependent List
=INDIRECT($C$10)
Filter Ctrl_Shift+L
Filter Types
Text Contain ,Start with ,end with
Number > >= < <= between
Date Dates In Same Month Week
#05-08-24(Day 12)
Conditional Formatting-
Text Number Date
1 Background Colour
2 Font Colour
3 Icons
4 Data Bars
#06-08-24(Day 13)
Data restriction
Restrictions to particular cell -Data-Data Validation-Whole -Value
Input Message
Alert Message
1 Information
2 Warning
3 Stop
Invalid Circle for wrong Entry
PMT-Calculate EMI
=PMT(Rate,Term, -Principal Value)
What if analysis
to convert in the form of Array
Offset is always work with ref Cell
-2
-1
-2 -1 Ref 1 2
1
2
3
=OFFSET($A$1,MATCH($G$1,$A$2:$A$10,0),MATCH($F2,$B$1:$C$1,0))
07-08-024(Day14)
Group Ungroup Subtotal
08-08-2024(Day15)
Pivot Table
Sumarize Report to Analyze
Dashboard-Combination of Charts ,Cards ,Nevigation,Slicer,Filter
Data Modelling
Schema
1 Star Schema
2 Snowflakes Schema
3 Galaxy Schema
Cross Filter
Single
Both
13-08-2024(Day16)
Types Of Joins
1 Left Join -Left+Common
2 Right Join- Right+Common
3 Inner -Common
4 Left Anti-Left (Without Common)
5 Right Anti -Right(Without Common)
6 Full outer (Left+Right+Common)
A B
1 2
2 3
3 6
4
5
Left Join
1 null
2 2
3 3
4
5
Left Anti
1
4
5
Right
2 2
3 3
null 6
Right Anti
Null 6
Inner
2 2
3 3
Full Outer
1 Null
2 2
3 3
4 null
5 Null
Null 6
Append-Same Structure of Table
Merge-One Common Column
#13-08-24(Day17)
Macro VBA(Visual Basic Application)
File -Options-Customize Ribbon-Developer Tap