0% found this document useful (0 votes)
26 views

Excel Notes

Uploaded by

no one
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views

Excel Notes

Uploaded by

no one
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 8

#23-07-24(Day1)

Excel is product of Microsoft Company


Data will be stored in the form of rows and Column

Data-Rows And Column-Table-Data bases -Schema

Rows =Rows(A:A) 1048576


Columns =Columns(1:1) 16384
Cell Combination of Rows and Column

Data types in Excel


1 Text Name,City,Country
2 Number Salary Sales Profit Gain Age
3 Date DOB date of Joining Ship date order date
Operator
= Equal to
>= Greater than equal to
> Greater than
< Less than
<= less than equal to
<> not equal to
Allignments
Left Text
Right Date Number
Short Cuts
Ctrl+C Copy
Ctrl+V paste
Ctrl+S Save
Ctrl+Z undo
Ctrl+Y redo
Ctrl+X Cut
Ctrl+A Select All
Crrl+B Bold
Ctrl+F Find
Ctrl+N New Sheet
Ctrl+ Add row
Ctrl- remove Row

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

Referencing($ Fixing Cell Address)


1 Relative A1 D100
2 Mixed $A1 A$1
3 Absolute $A$1

Named Range -Formulas Bar-Define Name


Name For named range is Unique
-Now data will not be added to Named Range
-Name Manager edit Named Range
-Only in one Workbook we can use named range

#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...)

=SUM(IF(Product=$K2,Revenue,"")) Ctrl+Shift+Enter-Convert to array {}


=SUMIFS(Revenue,Year,C$2,Region,$B$2,Product,$B3)
Date Function
Today() -Todays Date
Now() Todays Date with Time

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

=B10&"Year "&C10&"Month "&D10&"Day"

Workday -Last date of Project


Workday and Networkdays will take Sat and Sunday Weekoff
Workday.INTL and Networkdays.INTL have customised Weekend List options
Workday.INTL
=WORKDAY(B1,B2,B5:B19)
=WORKDAY.INTL(B1,B2,12,B5:B19)

Networkday Networkdays.INTL Net working Days

=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

No1 No2 AND OR NOT

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)

Handle Error with Customized O/P

=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)

Large to find kth highest value


=Large(Column,K=Value) =Large(salary,5)

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))

Rand()- generate random Number


randbetween- generate values between bottom and top
=randbetween(bottom,Top)
Rank-generate rank on the basis of total value
=Rank(Value,ref,order(asc/desc)-default is descending

=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

=IFERROR($I2>500,"")------Highlights entire Row

=TEXT(A2,"DDDD")="Sunday" Sunday in Red Colour

=TEXT(A2,"DDDD")="Saturday" Saturday in Red Colour

=AND(TEXT($A2,"DDD")<>"Sun",TEXT($A2,"DDD")<>"Sat") Weekdays Highlight

=OR(TEXT($A2,"DDD")="Sun",TEXT($A2,"DDD")="Sat") Weekend Highlight

#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

Power Pivot -Get Data-Add to data model


Manager -Diagram View to do Connection

Data Modelling

Two or more than 2 Data


Main/Parent/Fact Dimension/Child/Sub Table
Data -Rows Column-Table-Databases-Schema

Cardinality(Connection between Table)


Many : One
One : Many
One : One
Many: Many

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

You might also like