Advanced Excel Training
Advanced Excel Training
SEARCH 11 11 1
Vijay Vijay 1
Nested Replace
110715
11/07/15
Nested Substitute
Excml is Grma$
Ref Date No. of Months Before Result Date No. of Months After
EDATE 5/7/2016 7 10/7/2015 2
Ref Date No. of Months Before Result Date No. of Months After
EOMONTH 5/7/2016 7 10/31/2015 2
Date Months
3/25/2016 4
Add months to a Date 7/25/2016
Reduce months to a Date 11/25/2015
Date Years
1/15/2016 3
Add Years to a Date 1/15/2019
Reduce Years to a Date 1/15/2013
Date Result
First Date of a month for a
give Date 4/5/2016 4/1/2016
6/30/2016 6/1/2016
11/19/2016 11/1/2016
Date Result
No. of Days in a Month 9/12/2016 30
Next-or-Previous-Day-of-The-Week.zip
Result Date
7/7/2016
Result Date
7/31/2016
Weekends - 12
12 FRI / SAT
Weekends - 15
15-Apr-16
20-Jun-16
abs_num
ADDRESS $E$4
1 $E$4
2 E$4
3 $E4
4 E4
CHOOSE Wed 2 10 4 1 9
5 2 0
6 3 12
7 4 2
COLUMN 3 7
COLUMNS 15 27
ROW 20 14
ROWS 1 97
Reverse
VLOOKUP State AR First Name State
Naomi Terisa VA
Milton TX
Lonnie MN
Naomi AR
Cathryn WA
Sylvester LA
Jamaal IN
Leslie MN
Gaynell MD
High Medium
Complex VLOOKUP
through INDEX /
MATCH Medium Bangalore Delhi 65 64
81 Chennai 33 33
Mumbai 57 82
Kolkata 44 26
Bangalore 58 81
Hyderabad 21 62
INDIRECT 57 K65
#REF!
57
Start Row 63 End Row 66
205
Column Letter K
199
Emp ID First Name
250945 Terisa
778777 Milton
962153 Lonnie
833630 Naomi
565499 Cathryn
608769 Sylvester
262325 Jamaal
562671 Leslie
711925 Gaynell
613284 Loria
917399 Florance
369366 Mathew
642751 Scottie
323627 Timmy
833463 Warren
146564 Delta
290540 Hal
219886 Alberto
403583 Jaime
326177 Annabelle
637335 Shemika
300379 Angeles
577250 Trish
120557.8 559735 Ariel
561878 Hope
Sr. No. Data AscendingDescending 651100 Lloyd
1 29 12 89 263154 Darrell
2 32 19 71 398942 Ezra
3 49 25 69 131281 Erik
4 69 29 60 459600 Shaun
5 60 32 49 176410 Everette
6 89 36 36 198452 Claude
7 71 49 32 559357 Florene
8 36 60 29 806665 Edgar
9 12 69 25 685780 Merrill
10 25 71 19 463094 Alanna
11 19 89 12 831621 Janessa
569084 Melvin
772004 Evangelina
Small
88
83
45
82
60
71
Multiplication Factor
1233 2 5 10 25
MROUND 1234 1235 1230 1225 Nearest Multiple
MOD
Sequential repeating no. generation Repeat a sequence and regenerate Extract Decimal Portion
1 1 123.45
2 1 0.8
3 1 123
4 2
1 2
2 2
3 3
4 3
1 3
2 4
3 4
4 4
1 5
2 5
3 5
Data Range
COUNT 4 Counts only numbers - 14 & 11 are characters a
1
COUNTA 12 Cell I52 has literal ="" which is counted as Non Empty f
*
11
45
&
Reference values 6 17
COUNTIF Data
4 Counts >=12 13
2 2 Counts = 18 - "18" and "=18" are equivalent Ajay
0 Counts only Text 9
0 Counts only 4 characters 12
3 Greater E62 and F62 Apple
3
Bina
5
Bunty
Brunch
18
18
Lata
AGGREGATE
Emp Name Month Sales
Ram Jan 18000
Ram Feb 12000
Ram Mar 1000
Ram Apr 6000
Ram May #N/A
Ram Jun 6000
Ram Jul 10000
Ram Aug 5000
Ram Sep 2000
Ram Oct 8000
Ram Nov 18000
Ram Dec 15000
John Jan 20000
John Feb #DIV/0!
John Mar 9000
John Apr 16000
John May 17000
John Jun 11000
John Jul 8000
John Aug 14000
John Sep 18000
John Oct 18000
John Nov 3000
John Dec 20000
10000
Pivot for exploring Pivot Table Options Classic pivot table layout
Region Gender Count - Region Region Gender Count - Region
Midwest 10 Midwest F 4
F 4 M 6
M 6 Midwest Result 10
Northeast 5 Northeast F 4
F 4 M 1
M 1 Northeast Result 5
South 15 South F 8
F 8 M 7
M 7 South Result 15
West 9 West F 5
F 5 M 4
M 4 West Result 9
(empty) (empty) (empty)
(empty) (empty) Result
Total Result 39 Total Result 39
Count - Region
39
(empty) Total Result
1442031
635207
1526850
1097667
4701755
Emp ID First Name
250945 Terisa
778777 Milton
962153 Lonnie
833630 Naomi
565499 Cathryn
608769 Sylvester
262325 Jamaal
562671 Leslie
711925 Gaynell
613284 Loria
917399 Florance
369366 Mathew
642751 Scottie
323627 Timmy
833463 Warren
146564 Delta
290540 Hal
219886 Alberto
403583 Jaime
326177 Annabelle
637335 Shemika
300379 Angeles
577250 Alessandra
559735 Ariel
561878 Hope
651100 Lloyd
263154 Darrell
398942 Ezra
131281 Erik
459600 Shaun
176410 Everette
198452 Claude
559357 Florene
806665 Edgar
685780 Merrill
463094 Alanna
831621 Janessa
569084 Melvin
772004 Eva
Gender Date of Birth Date of Joini Salary State Zip Region Ticket Statu
F 5/23/1984 12/11/2009 64667 VA 22651 South Pending
M 10/10/1986 1/6/2014 46688 TX 78344 South Pending
F 1/13/1972 7/23/2009 78661 MN 56088 Midwest Pending
F 11/25/1961 2/27/1990 118632 AR 71855 South Pending
F 8/13/1979 11/30/2009 181053 WA 99349 West Pending
M 5/24/1969 6/28/1999 76790 LA 71418 South Pending
M 3/16/1968 8/30/1999 170583 IN 46866 Midwest On Hold
F 8/8/1975 7/14/2007 136188 MN 56178 Midwest On Hold
F 7/30/1990 1/20/2013 88425 MD 20724 South On Hold
F 7/29/1992 5/20/2015 194557 OH 44282 Midwest On Hold
F 3/31/1965 7/18/1986 177637 CA 94307 West On Hold
M 6/11/1993 8/16/2015 193972 MS 39113 South On Hold
M 12/24/1966 9/3/2015 198240 MO 63876 Midwest On Hold
M 5/19/1993 9/21/2014 175621 NM 87413 West On Hold
M 5/13/1981 8/30/2011 142919 CA 95667 West In Progress
F 6/19/1984 10/10/2011 132695 WV 25685 South In Progress
M 12/5/1980 3/21/2009 118357 IA 51201 Midwest In Progress
M 3/16/1958 3/6/1992 126401 VA 23054 South In Progress
F 1/18/1972 5/28/2000 77181 OK 74014 South In Progress
F 10/12/1976 1/8/2007 50103 KY 41016 South In Progress
F 8/9/1973 12/26/2014 125546 PA 17051 Northeast In Progress
F 3/25/1981 11/6/2007 66592 UT 84648 West Closed
F 6/21/1966 11/13/1992 91332 CO 81655 West Closed
M 2/16/1960 3/24/2007 63472 OH 45888 Midwest Closed
F 8/11/1969 4/28/2013 117979 PA 15773 Northeast Closed
M 2/13/1972 1/22/2012 191676 MI 49790 Midwest Closed
M 1/22/1970 4/8/2000 88935 CA 95409 West Closed
M 4/27/1983 1/11/2005 112107 MD 21123 South Closed
M 7/20/1979 12/20/2000 47737 AL 35054 South Closed
F 4/18/1987 3/29/2014 55408 NY 11569 Northeast
M 12/21/1983 12/11/2007 138712 NJ 07457 Northeast
M 11/9/1978 3/19/2002 119847 IL 62895 Midwest
F 7/10/1980 7/14/2010 73306 CA 92223 West
M 8/11/1976 6/1/2008 192334 OK 73541 South
F 8/14/1985 10/28/2007 87039 KY 40601 South
F 4/13/1977 11/30/2000 197562 PA 16368 Northeast
F 8/10/1974 9/25/1995 112079 DC 20209 South
M 9/28/1958 6/16/1992 100272 CA 95528 West
F 2/15/1987 3/19/2012 170450 MI 48631 Midwest
Application Ticket StatuApplication
App 3 In Progress App 3
App 1 In Progress App 1
App 3 In Progress App 3
App 1 In Progress App 1
App 3 Pending App 3
App 3 Pending App 3
App 2 On Hold App 2
App 1 On Hold App 1
App 1 On Hold App 1
App 2 On Hold App 2
App 2 On Hold App 2
App 2 Closed App 2
App 3 Closed App 3
App 1 Closed App 1
App 2 Closed App 2
App 2 In Progress App 2
App 1 In Progress App 1
App 3 In Progress App 3
App 3 In Progress App 3
App 1 In Progress App 1
App 2 In Progress App 2
App 1
App 1
App 1
App 1
App 3
App 2
App 3
App 3
Slicer Reference Table
Count - Gender
This shape represents a This shape represents a slicer.
39 slicer. Slicers are supported Slicers are supported in Excel
in Excel 2010 or later. 2010 or later.
Timeline Reference Table Timeline: Works in Excel 2013 or higher. Do not move
Count - Gender or resize.
39
Growth in Profit
Company Q1 Q2 Q3 Q4 Win/Loss Column Trend
Tata 7% -81% -59% 49%
Reliance 53% 83% 84% 89%
ONGC 1% -77% 46% 57%
Hindalco 73% 23% 94% 67%
HDFC -60% 92% 9% 9%
TCS 2% 20% -66% -20%
Coal India 36% 92% 66% 5%
Wipro 42% 75% 24% 75%
Infosys 2% 56% -75% 40%
Cognizant 16% 24% 57% 24%
Sep-16 Oct-16 Nov-16 Dec-16 Trend Column Win/Loss
247 122 41 90
250 20 98 37
249 239 136 174
225 134 69 92
208 98 172 189
182 174 137 227
161 198 91 205
204 103 135 97
79 165 55 21
41 155 176 159
Eaxmple 1 - Separate First Name and Last Name from Full Name
Name First Name Last Name
Sheldon Zurita
Demarcus Dunigan
Wilson Quick
Quentin Hills
Rodger Bronk
Riley Arline
Adalberto Atkin
Edgardo Gros
Abraham Sewell
Jospeh Say
Example 2 - Extract user name and domain names from E Mail IDs
E Mail IDs User ID Domain Name
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
Example 5 - First 4 characters of First Name and Last 2 Characters of Last Name
First Name Last Name First Name - 4 Chars Last Name - 4 Chars
Darrell Nyberg
Ezra Tuggle
Erik Askins
Shaun Kardos
Everette Pharris
Claude Guajardo
Florene Mcghee
Edgar Bieker
Merrill Cambridge
Alanna Aldridge
Generate a
Unique List -
More than
Generate a one column is
Unique List the criteria Name Country
Hera AUS A US
Zeus ARU A RU
Aries BEN B EN
Aphro BBR B BR
Venus CCH C CH
Apollo DFR D FR
Poseidon ECH E CH
EBN E BN
FIN F IN
CUS C US
GUS G US
One field
criteria Two fields
criteria
Aries B EN 2 BEN
Aphro B EN 8 BEN
Venus A US 5 AUS
Zeus A US 8 AUS
Apollo B BR 4 BBR
Poseidon C CH 7 CCH
D FR 9 DFR
E CH 4 ECH
D FR 4 DFR
D FR 4 DFR
E BN 2 EBN
E BN 2 EBN
C CH 9 CCH
F IN 2 FIN
C US 5 CUS
G US 1 GUS
G US 1 GUS
When column A is
Name Country Number the criterion Name Country Number
A US 8 A US 8 When column A, B
A RU 9 A RU 9 & C are criteria
B EN 2 B EN 2
B EN 8 B EN 8
A US 5 A US 5
A US 8 A US 8
B BR 4 B BR 4
C CH 7 C CH 7
D FR 9 D FR 9
E CH 4 E CH 4
D FR 4 D FR 4
D FR 4 D FR 4
E BN 2 E BN 2
E BN 2 E BN 2
C CH 9 C CH 9
F IN 2 F IN 2
C US 5 C US 5
G US 1 G US 1
G US 1 G US 1
When column A, B
& C are criteria
Description
Giving a color code
Giving a color code - 2 IF and 1 Else Condition
Do not show 0
To convert -ve to +ve
Display in K
Display in Million
Degree Symbol
Cr / Dr
Rupees and Paise
0
K
M
0 Cr
0 Error!
Highlight Cell Rules Highlight Bottom Rules
Text That contains
- Ma A Date Occuring 83
5 Mary 7/6/2016 31
8 Patricia 6/9/2016 5
9 Linda 5/17/2016 32
3 Barbara 7/26/2016 55
10 Elizabeth 5/23/2016 72
3 Jennifer 6/22/2016 18
4 Maria 7/4/2016 14
16 Susan 6/4/2016 95
9 Margaret 5/15/2016 93
9 Dorothy 5/30/2016 49
4 Myra 6/10/2016 98
4 Nancy 6/7/2016 80
6 Karen 6/19/2016 43
6 Betty 6/26/2016 2
86
96
22
16
90
85
66
39
15
17
92
73
10
8
59
54
14
87
97
69
34
2
78
83
Data Bars Color Scales Icon Sets Weekend Dates Generate a Chess
83 83 83 6/1/2016
31 31 31 6/2/2016
5 5 5 6/3/2016
32 32 32 6/4/2016
55 55 55 6/5/2016
72 72 72 6/6/2016
18 18 18 6/7/2016
14 14 14 6/8/2016
95 95 95 6/9/2016
93 93 93 6/10/2016
49 49 49 6/11/2016
98 98 98 6/12/2016
80 80 80 6/13/2016
43 43 43 6/14/2016
2 2 2 6/15/2016
6/16/2016
6/17/2016
6/18/2016
6/19/2016
6/20/2016
6/21/2016
6/22/2016
6/23/2016
6/24/2016
6/25/2016
6/26/2016
6/27/2016
6/28/2016
6/29/2016
6/30/2016
Generate a Chess Board
Q1 Salary Q2 Salary
Jaime 10000 30000
Michelle 130000
Annabelle 160000
Shemika 30000 190000
Angeles 30000 40000
Lisa 150000
Ariel 30000
Hope 20000
Remi 100000
Trish 160000
Darrell 140000 90000
George 70000
Ezra 10000
Erik 150000 180000
Shaun 150000 200000
Everette 130000 100000
Claude 30000 130000
Florene 170000 60000
Sales Cost
Q1 15521 2911
Q2 14066 5818
Q3 9685 11101
Q4 14826 8955
Sum of Value Column Labels Sum of Value Column Labels
Row Labels Cost Sales Grand Total Row Labels Q1 Salary
Q1 2911 15521 18432 Angeles 30000
Q2 5818 14066 19884 Annabelle
Q3 11101 9685 20786 Ariel 30000
Q4 8955 14826 23781 Claude 30000
Grand Total 28785 54098 82883 Darrell 140000
Erik 150000
Everette 130000
Ezra
Florene 170000
George 70000
Hope 20000
Jaime 10000
Lisa 150000
Michelle 130000
Remi 100000
Shaun 150000
Shemika 30000
Trish
Grand Total 1340000
Q2 Salary Grand Total
40000 70000
160000 160000
30000
130000 160000
90000 230000
180000 330000
100000 230000
10000 10000
60000 230000
70000
20000
30000 40000
150000
130000
100000
200000 350000
190000 220000
160000 160000
1350000 2690000
First Name Q1 Salary Sales Cost
Jaime 10000 Q1 7728 911
Michelle 130000 Q2 6260 1148
Shemika 30000 Q3 2629 2156
Angeles 30000 Q4 8111 2167
Lisa 150000
Ariel 30000
Hope 20000
Remi 100000
Darrell 140000
George 70000
Erik 150000
Shaun 150000
Everette 130000
Claude 30000
Florene 170000
First NameQ2 Salary
Jaime 30000 Sales Cost
Annabelle 160000 Q1 7793 2000
Shemika 190000 Q2 7806 4670
Angeles 40000 Q3 7056 8945
Trish 160000 Q4 6715 6788
Darrell 90000
Ezra 10000
Erik 180000
Shaun 200000
Everette 100000
Claude 130000
Florene 60000
GOAL SEEK
Loan Amount 500000 Given all Parameters find Loan Amount 40000
Term in Months 60 the interest rate Term in Months 60
Interest Rate 5.00% Interest Rate 10.00%
EMI 9436 EMI 850
Scenario Analysis
Revenue 5000 Sales 5000
Cost 2000 Advertising Inco 3500
Profit 3000 Fixed Cost 800
Overhead Cost 500
Recurring Cost 2000
Solver
2x2+4x=8
Input 4 4
Output 48 40
Has x as named range
Products Units Profit per Unit Total Profit - It is clear that this company should produce
Basket 600 10 6000 only apples as greatest profit come from there.
- But if it is that simple, we don't require
Handbag 400 20 8000 Solver / technques.
Purse 1000 2 2000 - In a real life, there would be constraints which
Total 2000 16000 we need to satisfy
- Let's have following constraints
- Production capacity is 3000 units
- Not more than 500 handbags can be
produced as market demand is not there
- 500 units of purse are needed for an order
- Production capacity is 3000 units
- Not more than 500 handbags can be
produced as market demand is not there
- 500 units of purse are needed for an order
Loan Amount 600000 Given all
Given all Parameters find
Parameters find Term in Months 20 the Tenure
the Loan Amount
Interest Rate 10.00%
EMI 32694
ny should produce
fit come from there.
don't require
be constraints which
traints
3000 units
ndbags can be
nd is not there
needed for an order
3000 units
ndbags can be
nd is not there
needed for an order
76
20
10
0
2010 2011 2012
R
Year Revenue A Profit
2005 97 10% Data for
Data for 2006 100000 50%
Combination
2007 19 70%
Column, Chart
2008 2000000 80%
Bar and 2009 10000 60%
Line Chart 2010 5600 10%
Revenue
2011 57 21
Salary Average Age Number
Data for 8184972 40 134 Data for
3543958 57 405
Stacked Bubble Chart
881856 23 588
Column Chart 6368992 25 864
3553646 30 876
Percentag
Number of Sale s e of
Product s Market
Shar e
5 $5,500 20%
14 $12,200 12%
20 $60,000 33%
18 $24,400 10%
22 $32,000 42%
Employee Reimursement Claims Amount
for Travel 4560000 Data for Pareto Chart
Phone 450000
le Chart
Internet 960000
Professional Development 340000
Mileage 2345900
Other 768900
Template
Amount Cu
Sale Target 1500
Data for Sold 1000
Thermometer
Chart Achieved 67%
Goal
Template 01 - Pareto Chart Template.zip 100%
90%
Hundred % stacked column
80%
Right click > Full Pyramid
70%
Right Click > Rotation to 0
Switch column / Row 60%
Achieved 50%
100% 40%
90% 30%
Chart Title 20%
80%
120.0%
100.0% 70% 10%
80.0% 67%
60% 0%
60.0%
40.0% 50%
20.0%
40%
0.0%
e t r t
ag ne he ne en 30%
ile ter Ot Ph
o
pm
M In l o 20%
ve
De 10%
n al
s io 0%
es
rof
P
Revenue
Sold Sale Target 1500
1815 Data for Sold 600 Data for
1800
Performance Speedometer
2400 Achieved 40%
700
Chart Chart
20%
30%
50%
Performance Achievement
40%
ata for
peedometer
hart
Month Revenue
Jan-15 1000 OFFSET Method
Feb-15 4000
Mar-15 8000
Apr-15 3000 Revenue
May-15 8000 10000
Jun-15 9000
9000
Jul-15 7000
8000
Aug-15 3000
7000
Sep-15 5000
6000
5000
4000
3000
2000
1000
0
Jan-15 Feb-15 Mar-15 Apr-15 May-15 Jun-15 Jul -15 Aug-15 Sep-15
Month Revenue
Jan-15 1000 Table Method
Feb-15 4000
Mar-15 4000
Apr-15 3000 Revenue
May-15 8000
10000
Jun-15 9000
9000
Jul-15 7000
8000
Aug-15 3000
7000
Sep-15 5000
6000
5000
4000
3000
2000
1000
0
Aug-15 Sep-15 Jan-15 Feb-15 Ma r-15 Apr-15 May-15 Jun-15 Jul -15 Aug-15
Pivot Table Method
Month Sum - Revenue
(empty)
enue Jan-19 1000 Total
Feb-19 4000
10000
Mar-19 4000
9000
Apr-19 3000
May-19 8000 8000
n-19 Feb-19 Ma r-19 Apr-19 May-19 Jun-19 Jul -19 Aug-19 Sep-19
Month Revenue
Jan-15 1000 OFFSET Method
Feb-15 4000
Mar-15 4000
Apr-15 3000 Revenue
May-15 8000 10000
Jun-15 9000
9000
Jul-15 7000
8000
Aug-15 3000
Sep-15 5000 7000
6000
5000
4000
3000
2000
1000
0
Month Revenue
Jan-15 1000 Table Method
Feb-15 4000
Mar-15 4000
Apr-15 3000 Revenue
May-15 8000
10000
Jun-15 9000
9000
Jul-15 7000
8000
Aug-15 3000
7000
Sep-15 5000
6000
5000
4000
3000
2000
1000
0
Jan-15 Feb-15 Ma r-15 Apr-15 May-15 Jun-15 Jul -15 Aug-15
Pivot Table Method
Month Sum - Revenue
(empty)
enue Jan-19 1000 Total
Feb-19 4000
10000
Mar-19 4000
9000
Apr-19 3000
May-19 8000 8000
n-19 Feb-19 Ma r-19 Apr-19 May-19 Jun-19 Jul -19 Aug-19 Sep-19
PowerQuery.zip PowerPivot.zip