Microsoft Advanced Excel
E x e r c i s e –
1 A
C
D
Name Sales Target Alan 1000 5000 Bob 6000 5000 Carol 2000 4000 = IF ( B2>= C2, "Achieved" , "Not Achieved" )
1 2 3 4
Result : E x e r c i s e –
B
Result Not Achieved Achieved Not Achieved
2 A
B
Name Sales Alan 1000 Bob 6000 Carol 2000 =IF(B2>=C2,B2*10%,B2*5%) =IF(B2>=C 2,B2*10%,B2*5%)
1 2 3 4
Result :
C
D
Target 5000 5000 4000
Result 500 600 100
E x e r c i s e – 3 Write a function which returns if the student Pass or Fail if the t he average mark is greater than 10
1
Student Luc Estelle Laurent Paul Léa Murielle Thierry E x e r c i s e –
Course 1 8 4 11 17 17 6 18
. e
ut
a
o
n e
1
2
N
ts
m ll o N S
Course 3 9 16 8 3 10 13 15
Average 11 12 8.3 12 15 8 17
Result Pass Pass Fail Pass Pass Fail Pass
4
t d
Course 2 15 15 6 16 18 5 19
R
3 ts
e
e T
T
ts e
e T
T
g
s n
a
kr
e
o
at
5
4 ts
e l at
ts
ec
d ar m
T T
e e
r e
G R
P
Priya
101
45
67
87
86
35
320
64%
Good
Talan
102
23
76
68
54
76
297
59%
Bad
B Fail
Sharma
103
34
67
78
75
82
336
67%
Good
B
David
104
94
89
79
90
88
440
88%
EXLT
A+
Edward
105
23
56
74
33
67
253
51%
Bad
Fail
John
106
36
78
83
93
77
367
73%
V.Good
A
Alan
107
38
47
46
59
34
224
45%
Bad
Fail
Smith
108
56
67
78
87
45
333
67%
Good
B
Jones
109
88
89
99
98
89
463
93%
EXLT
A+
Frank
110
12
14
34
14
24
98
20%
Bad
Fail
Remarks Grade E x e r c i s e –
IF(i2>=80%,"EXLT", IF(i2>=80% ,"EXLT", IF(i2>=70%,"V.GOOD", IF(i2>=70%," V.GOOD", IF(i2>=60%,"GOOD","BAD"))) IF(i2>=60%, "GOOD","BAD"))) IF(i2>=80%,"A+", IF(i2>=80%,"A+", IF(i2>=70%,"A", IF(i2>=70%,"A", IF(i2>=60%,"B","FAIL") IF(i2>=60%,"B","FAIL"))) )) 5
Team AAA BBB FFF HHH Result :
Result Result Team 2 0 DDD 1 1 EEE 3 1 RRR 0 1 JJJ JJ J =IF(B2>C2,"Win",IF(B2< =IF(B2>C2 ,"Win",IF(B2
Software and Hardware Training Centre
Result Win Tie Win Lose Microsoft Advanced Excel
Microsoft Advanced Excel
E x e r c i s e –
6
Student Course 1 Course 2 Course 3 Average Result Luc 8 15 9 10.67 Pass Estelle Estell e 4 15 16 11.67 Pass Laurent 11 6 8 8.33 Fail Paul 17 16 3 12.00 Good Léa 17 18 10 15.00 Very Good Murielle 6 5 13 8.00 Fail Thierry 18 19 15 17.33 Excellent Result : =IF(E2<10,"Fail" =IF(E2<10,"Fail",IF(E2<12 ,IF(E2<12,"Pass",IF(E2 ,"Pass",IF(E2<14,"Good" <14,"Good",IF(E2<16,"Ve ,IF(E2<16,"Very ry Good","Excellent")))) Good","Excellent")))) E x e r c i s e –
7 A
B
1
Item Qty order 2 Smartphone 50 3 Ipad 37 4 USB Stick 4Go 12 5 USB Stick 8Go 75 6 USB Stick 16Go 8 Result : =IF(D2
2
2 3 4 5 6 7
C
D
E
Qty in stock 45 51 15 47 10
Qty delivered 45 37 12 47 8
Qty to delivered 5
28
8 A
B
C
Stock AAA BBB CCC DDD EEE
Volume 25 53 50 75 100
Buy 35.4 42.8 86.1 75 8
8
Gain :=IF(C2<=D2,D2-C2,0)*B2 :=IF(C2<=D 2,D2-C2,0)*B2 Total :=SUM(E2:E6) , =SUM(F2:F6) =SUM(F2:F6) E x e r c i s e –
D
Last 45.8 37.5 88 69 10 Total Grand Total Lose : =IF(C2>D2,C2-D2,0)*B2 =IF(C2>D2,C2 -D2,0)*B2 Grand Total : =E7-F7
E
F
Gain 260 0 95 0 200 555
Lose 0 280.9 0 450 0 730.9 -175.9
9 Sales Report
Name
Basic
Sale 1
Sale 2
Sale 3
n
n
w
n
Sale
3
Total
2 ec
1 ec a
ec a
a w
ol
w ol
l
ol l
A
l A
A
Evans 2500 900 800 250 Henry 2000 150 250 900 Jake 2200 100 300 500 Neil 2500 450 250 400 Zack 2400 150 100 400 Allowance 1 : IF (Tot Sale >= 1000, Basic*35%, IF (Tot Sale >= 800,Basic*25%, "Try Again" ) ) Allowance 2 : IF (OR (Tot Sale > 800, Basic = 2500), 1000, 500 ) Allowance 3 : IF (AND (Tot Sale > 800, Basic = 2500), 1000, 500) E x e r c i s e – 1 2
10
A
B
C
D
E
F
G
H
I
J
K
K
Name Kumar
Firstname Sunil
Genre Man
Income 20,000
Situation Relationship Relationsh ip
Children 0
Q1
Q2
Q3
Q4
Q5
Q6
Software and Hardware Training Centre
Microsoft Advanced Excel
Microsoft Advanced Excel
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
3
Anand Ankit Man 80,000 Married 1 Garg Gaurav Man 67,000 Marri ed Married 0 Mishra Raghav Man 35,000 Relationship Relationsh ip 0 Kumar Rohit Man 77,000 Single 0 Kumar Manish Man 70,000 Married 3 Gupta Rahul Man 23,000 Single 3 Goyal Sakshi Woman 97,000 Relationship Relationsh ip 1 Singh Anurag Man 26,000 Divorced 3 Agarwal Shivani Woman 89,000 Relationship Relationsh ip 0 Sharma Anjali Woman 77,000 Single 2 Mishra Pritam Man 34,000 Divorced 0 Kumar Ashutosh Man 61,000 Relationship Relationsh ip 2 Pathak Soumitra Woman 27,000 Single 0 Gupta Soubhagya Woman 72,000 Divorced 3 Kumar Amit Man 85,000 Relationship Relationsh ip 1 Latha Sneha Woman 84,000 Single 3 Jain Akhil Man 50,000 Single 2 Chopra Shantanu Man 31,000 Single 0 Questions 1: How many clients are married with one child? 2: How many clients are single or divorced? 3: How many clients are married with an income above 75,000? 4: How many clients are male, unmarried and without children 5: How many clients are women with 1 or 2 children? 6: How many clients are married or in relationship, with an income greater than or equal to 50,000 and have at least two children. Solutions 1. =IF(AND(E2="Married",F2=1),1,0) 2. =IF(OR(E2="Single",E2="Divorced"),1,0) 3. =IF(OR(E2="Married",D2>75000),1,0) 4. =IF(AND(C2="Man",E2="Single",F2=0),1,0) 5. =IF(AND(C2="Woman", OR(F2=1,F2=2)),1,0) 6. =IF(AND(D2>50000,F2>=2,OR(E2="Married",E2="relationship")),1,0)
E x e r c i s e –
11 A
1 2 3 4 5 6 7 8 9 10 11
B
C
D
Item CD-Rom Pencil Post-It CD-Rom Glue CD-Rom Pencil Glue Post-It CD-Rom
Qty 75 15 200 50 30 100 30 40 50 20
Unit Price 1.25 2.6 12 1.25 3.4 1.25 2.6 3.4 12 1.25
SUM 93.75 39 2400 62.5 102 125 78 136 600 25
Item CD-Rom Pencil Post-It Glue Qty>= 50
Qty 4 2 2 2 5
12 13 14 15 16 17 18
Software and Hardware Training Centre
Total 306.25 117 3000 238 3281.25 Microsoft Advanced Excel
Microsoft Advanced Excel
Questions 1. Calculate Sum 2. Calculate No. of CD-Rom, Pencil, Post-it, Glue 3. Calculate Quantity which are greater than 50 4. Find the sum of CD-Rom, Pencil, Post-it, Glue 5. Find the sum of quantity which are greater than 50 Solutions Note: Press F4 to get dollar ( $ ) symbols 1. D2 : =B2*C2 2. B14 : =COUNTIF($A$2:$A$11,A14) =COUNTIF($A$2:$ A$11,A14) B15 : =COUNTIF($A$2:$A$11,A15) =COUNTIF($A$2:$ A$11,A15) B16 : =COUNTIF($A$2:$A$11,A16) =COUNTIF($A$2:$ A$11,A16) B17 : =COUNTIF($A$2:$A$11,A17) =COUNTIF($A$2:$ A$11,A17) 3. B18 : =COUNTIF(B2:B11,">=50") =COUNTIF(B2: B11,">=50") 4. D14 : =SUMIF($A$2:$A$11,A14,$D$2:$D$11) =SUMIF($A$2:$A $11,A14,$D$2:$D$11) D15 : =SUMIF($A$2:$A$11,A15,$D$2:$D$11) =SUMIF($A$2:$A $11,A15,$D$2:$D$11) D16 : =SUMIF($A$2:$A$11,A16,$D$2:$D$11) =SUMIF($A$2:$A $11,A16,$D$2:$D$11) D17 : =SUMIF($A$2:$A$11,A17,$D$2:$D$11) =SUMIF($A$2:$A $11,A17,$D$2:$D$11) 5. D18 : =SUMIF($B$2:$B$11,">=50",$D$2:$D$ =SUMIF($B$2:$B $11,">=50",$D$2:$D$11) 11) E x e r c i s e – A
4
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
12 B Gender Woman Woman Man Woman Man Man Woman Woman Woman Man Woman Man Woman Man Man Man Man Man Man Woman
C Marital Status Relationship Relationsh ip Married Married Relationship Single Married Single Relationship Relationsh ip Divorced Relationship Single Divorced Relationship Relationsh ip Single Divorced Relationship Single Single Single Single
D
E Man 2 2 5 2
Name Sushma Relationship SnehaLatha Married Shashiraju Single Aishwarya Divorced Avinash Hanumanthappa Total 11 Niveditha Nayanika Sharon Angelene Harish AkankshaKumari AkankshaKumar i Akshay Sahana Surya Harsha Karthik Harshit Joseph Srikanth Sowmyashree Question Count No. of Man and Man and Woman who Woman who are in Relationship, Married, Single and Divorced Solutions E2 : =COUNTIFS(B2:B21,"Man",C2:C21,"Re =COUNTIFS(B2:B21 ,"Man",C2:C21,"Relationsh lationship") ip") E3 : =COUNTIFS(B2:B21,"Man",C2:C21,"M =COUNTIFS(B2:B21 ,"Man",C2:C21,"Married") arried") E4 : =COUNTIFS(B2:B21,"Man",C2:C21,"Si =COUNTIFS(B2:B21 ,"Man",C2:C21,"Single") ngle") E5 : =COUNTIFS(B2:B21,"Man",C2:C21,"D =COUNTIFS(B2:B21 ,"Man",C2:C21,"Divorced") ivorced") F2 : =COUNTIFS(B2:B21,"Woman",C2:C21,"Re =COUNTIFS(B2:B21 ,"Woman",C2:C21,"Relationsh lationship") ip") F3 : =COUNTIFS(B2:B21,"Woman",C2:C21,"Mar =COUNTIFS(B2:B21 ,"Woman",C2:C21,"Married") ried") F4 : =COUNTIFS(B2:B21,"Woman",C2:C21,"S =COUNTIFS(B2:B21 ,"Woman",C2:C21,"Single") ingle") F5 : =COUNTIFS(B2:B21,"Woman",C2:C21,"Di =COUNTIFS(B2:B21 ,"Woman",C2:C21,"Divorced") vorced")
Software and Hardware Training Centre
F Woman 4 1 3 1
Microsoft Advanced Excel
9
Microsoft Advanced Excel
E x e r c i s e –
13
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
A
B
C
Name Karthik Sushma Hemendra Akshay Kalmeshwar Sowmyashree Ranjitha Kunal Madhu Vinod Prathiba Nikhil Pratik Kavya Mohith Gaurav Cybil Shrirang Priyanka Pooja
Score 60 94 74 37 84 49 93 69 57 46 74 93 53 49 45 67 62 47 71 48
Result pass pass pass fail pass fail pass pass pass fail pass pass pass fail fail pass pass fail pass fail
No. of Score No. of Result No. of Pass No. of Fail
20 20 13 7
22 23
5
24 25 26
Result No. of Score No. of Result No. of Pass No. of Fail E x e r c i s e –
= IF ( B2 >= 50 , “pass” , “fail” )
= COUNT ( B2 : B21 ) = COUNTA ( C2 : C21 ) =COUNTIF(C2 : C21 ,"pass") =COUNTIF( C2 : C21 ,"fail")
14
os r 1r e P
2r t
s el a
Smith Gibbs
0 6
8 9
Henery
7
John Alen
4
3 6
Disoza
1
0
9 4
l
o S
Q
S
oJ
a l t
Q
h at
le 3r
t Q
n l
n
R1 at
R2
R3
R4
R5
R6
ht ht i m
T
t o
R7
o
17 19
r T S
i m S
OK OK
OK OK
OK OK
Y Y
Y Y
Y N
Y Y
17 NOT
17 NOT
7
NOT OK
NOT OK
NOT OK
N
N
N
Y
NOT
NOT
2 4
9 10
NOT OK NOT OK
OK OK
NOT OK NOT OK
Y N
N N
N N
N N
NOT NOT
9 NOT
7
8
NOT OK
OK
NOT OK
Y
N
N
N
NOT
NOT
OK
Y
Y
Y
Y
23
23
Smith 9 8 6 23 OK NOT OK Solutions: R1: =IF(MAX(B2:D2)>7,"OK","NOT =IF(MAX(B2:D2)>7 ,"OK","NOT OK") R2: =IF(MIN(B2:D2)<5,"OK","NOT =IF(MIN(B2:D2)< 5,"OK","NOT OK") R3: =IF(SUM(B2:D2)>15,"OK","NOT =IF(SUM(B2:D2)>1 5,"OK","NOT OK") R4: =IF(COUNT(B2:D2)=3,"Y","N") R5: =IF(COUNTIF(B2:D2,">5")>1,"Y","N") Software and Hardware Training Centre
Microsoft Advanced Excel
Microsoft Advanced Excel
R6: =IF(SUMIF(B2:D2,">5")>15,"Y","N") R7: =IF(AVERAGE(B2:D2)>5,"Y","N") Smith Total : =IF(A2="Smith",SUM(B2:D2),"N =IF(A2="Smit h",SUM(B2:D2),"NOT") OT") Smith or John Total : =IF(OR(A2="Smith",A2="John") =IF(OR(A2="Smi th",A2="John"),SUM(B2:D2),"NO ,SUM(B2:D2),"NOT") T") E x e r c i s e – 1 2 3 4 5 6 7 8 9 10 11 12
15 A
B
C
Quantity Sold 5 4 15 3 22 12 10 33
Product Apples Apples Artichokes Artichokes Bananas Bananas Carrots Carrots
Salesperson Salesperson 1 2 1 2 1 2 1 2
A* <> Bananas
20 30
Solution A* : =SUMIFS(A2:A9,B2:B9,"=A*",C2: =SUMIFS(A2:A 9,B2:B9,"=A*",C2:C9,1) C9,1) <> Bananas : =SUMIFS(A2:A9,B2:B9,"<>Bananas =SUMIFS(A2:A 9,B2:B9,"<>Bananas",C2:C9,1) ",C2:C9,1) Description: A* :Adds the total number of products sold that begin with "A" and "A" and that were sold by Salesperson 1 <>Bananas :Adds the total number of products (not including Bananas) sold by Salesperson 1.
6
E x e r c i s e – 1 2 3 4 5 6
16 A
B
C
D
E
Totals Amount Interest paid (2000) Interest paid (2001) Interest paid (2002)
Account 1 100 1% 1% 0.50%
Account 2 390 0.50% 1.30% 3%
Account 3 8321 3% 2.10% 1%
Account 4 500 4% 2% 4%
Result 1 Result 2
500 8711
7 8
Solution Result 1 :=SUMIFS(B2:E2,B3:E3,">3%",B4:E4,">=2%") Result 2 :=SUMIFS(B2:E2,B5:E5,">=1%",B5:E5,"<=3%",B4:E4,">1%") Description: Result 1 :Total :Total amounts from each bank account where the interest was greater than 3% for the year 2000 and greater than or equal to 2% for the year 2001. Result 2 :Total :Total amounts from each bank account where the interest was between 1% and 3% for the year 2002 and greater than 1% for the year 2001. E x e r c i s e –
17 A
1 2 3 4 5
Daily Measurements Rain (total inches) Average temperature temperatur e (degrees) Average wind speed (miles per hour)
B
C
D
E
First Day 3.3 55 6.5
Second Day 0.8 39 19.5
Third Day 5.5 39 6
Fourth Day 5.5 57.5 6.5
Amount of Rainfall 8.8 Solution Amount of Rainfall :=SUMIFS(B2:E2,B3:E3,">=40",B4:E4,"<10") 6
Software and Hardware Training Centre
Microsoft Advanced Excel
Microsoft Advanced Excel
Description: Adds the total amount of rainfall for days when the average temperature temperature was at least 40 degrees Fahrenheit and the average wind speed was less than 10 miles per hour. Only cells B2 and E2 are summed because, for each column (B through through E), the values in both rows 3 and 4 must meet criteria1 and criteria2, respectively. Cells B3 and B4 meet both criteria, as do E3 and E4. However, neither C3 nor C4 meet either criteria. Finally, although D4 meets criteria2, D3 fails to meet criteria1. E x e r c i s e –
18 A
1 2 3 4 5 6 7 8 9
7
Morning and Evening Measurements AM: rain (total inches) PM: rain (total inches) AM: average temperature temperatur e (degrees) PM: average temperature temperatur e (degrees) AM: average wind speed (miles per hour) PM: average wind speed (miles per hour)
B
C
D
E
First Day 1.3 2 56 54 13 0
Second Day 0 0.8 44 34 6 33
Third Day 1.5 4 40 38 8 4
Fourth Day 3 2.5 38 77 1 12
Total No. of Rainfall 3.5 Solution Total No. of Rainfall :=SUMIFS(B2:E3,B4:E5,">=40",B6:E7,"<10") Description:Adds Description:Adds the total amount of rainfall for 12-hour periods when the average temperature was at least 40 degrees Fahrenheit and the average wind speed was less than 10 miles per hour. Only cells B3, C2, and D2 are summed, because their corresponding cells meet both criteria. The corresponding cells for B3 are B5 and B7, the corresponding cells for C2 are C4 and C6, and the corresponding cells for D2 are D4 and D6. As an example of data excluded from the operation, the corresponding cells of B2 (B4 and B6) do not meet both criteria; specifically, cell B6 fails because its value (13) is greater than criteria2 (10).
E x e r c i s e –
19 A
1
Homes
2
House1 House2 House3 House4 House5
3 4 5 6 7 8 9
B
Square Feet 1200 1580 2200 1750 2140
C
D
E
F
G
Bedrooms
Baths
Garage
Year built
Price
2 3 4 3 4
1 1.5 3 2.5 3
yes no yes yes yes
1940 1965 2003 2001 1998
125000 217000 376000 249000 199000
House Price 625000 House Average Price 312500 Solution House Price :=SUMIFS(G2:G6,C2:C6,">2",E2:E6,"yes",F2:F6,">1999",F2:F6,"<2004") House Average Price :=AVERAGEIFS(G2:G6,C2:C6,">2",E2:E6,"yes",F2:F6,">1999",F2:F6,"<2004") Description: House Price :Adds the price of those homes that have at least 3 bedrooms, a garage, and are between 5 and 10 years old as of 2009. House Average Price :Returns the average price for homes that have at least 3 bedrooms, a garage, and are between 5 and 10 years old as of 2009.
E x e r c i s e – 1 2 3 4 5 6
20 A
B
Sales Rep John Paul Ringo George John
Region North South North South North
Software and Hardware Training Centre
C
Sales 2,500 3,456 2,568 9,854 2,569
D
Qrt 1 2 3 4 1
E
F
Answers 17,435 7,631 7,631 12,767 Microsoft Advanced Excel
Microsoft Advanced Excel
Paul South 4,125 2 8 Ringo North 2,568 3 9 George South 1,458 4 10 John North 2,562 1 Questions 1. What is the SUM of the SALES above 3,000? 2. What is the SUM of the SALES for John? 3. What is the SUM of the SALES for John in the NORTH region? 4. What is the SUM of the SALES for John and Ringo in the NORTH region? Solutions 1. F3 : =SUMIF(C2:C10,">3000") =SUMIF(C2:C10," >3000") 2. F4 : =SUMIF(A2:A10,"john",C2:C10 =SUMIF(A2:A10, "john",C2:C10)) 3. F5 : =SUMIFS(C2:C10,A2:A10,"john", =SUMIFS(C2:C10 ,A2:A10,"john",B2:B10,"nort B2:B10,"north") h") 4. F6 : =SUMIFS(C2:C10,A2:A10,"*o*",B2:B10 =SUMIFS(C2:C10 ,A2:A10,"*o*",B2:B10,"n*") ,"n*") 7
Note:
* Begins with…
Glo*
Ends with…
*tech
Contains…
*inc*
8 ? Contains…
E x e r c i s e –
a?c
Returns any series of characters before/after the asterisk Globex Globex Corporation Globo Globo Gym American Corp Globo-Chem Globo-Chem Initech Initech Primatech Primatech Acme, inc. inc. Demo, inc. inc. Incom Inc om Corporation Input, Inc Input, Inc.. Sample, inc Returns text that contains one variable ABC Telecom ABC Telecom Monarc Monarch h Playing Card Co. Sombra Sombra Corporation Corporation Spade and Archer Archer
21 A
B
C
D
E
January Sunday Monday Monday Tuesday Wednesday 2 February 3 March 4 April 5 May row 8 August 6 June 7 July column 7 Saturday 8 August 9 September 10 October 11 November 12 December Solution E5 :=INDEX(A1:A12,D5) E7 :=INDEX(B1:H1,D7) Note: Change the numbers in D5 and D7 to see the changes. 1
E x e r c i s e – 1
F
G
H
Thursday
Friday
Saturday
22 A
B
Row
5
Software and Hardware Training Centre
C
D
E
F
Result
Mango
G
Microsoft Advanced Excel
Microsoft Advanced Excel 2 3 4 5 6 7 8 9 10
Column
5
Sunday Monday Tuesday Wednesday Thursday Friday Saturday
1 2 3 4 5 6 7
100 200 300 400 500 600 700
500 600 700 800 900 1000 1100
Apple Banana Watermelon Grape Mango Lemon Cherry
Jan Feb Mar Apr May Jun Jul
Aug Sep Oct Nov Dec Jan Feb
Solution F2 :=INDEX(A4:G10,B1,B2) Note: Change different numbers in B1 and B2 to see different results E x e r c i s e –
23
A
B
C
D
E
F
G
1 2 3 2 Top 10 Customers Sales Units Customer Sales 3 1 Mooby Corp 8959 884 Kumatsu Motors 7507 4 2 Spacely Sprockets 7840 976 5 3 Kumatsu Motors 7507 689 6 4 St. Anky Beer 6690 588 3 7 5 Mr. Sparkle 5802 555 8 6 Sto Plains Holdings 5487 578 9 7 ABC Telecom 3949 278 10 8 Videlectrix 3836 238 11 9 Sample, inc 3587 235 12 10 Demo Company 3210 115 Steps for Data Validation 1. Select F6. Under toolbar select DataData Validation 2. Settings Allow List 3. Click Source button and select from A3:A12. Click button again and click OK 4. You now have the drop down list from 1 to 10 in F6 5. F3 : =INDEX(B3:D12,F6,B1) =INDEX(B3:D12, F6,B1) 6. G3 : =INDEX(B3:D12,F6,C1) =INDEX(B3:D12, F6,C1) 7. H3 : =INDEX(B3:D12,F6,D1) =INDEX(B3:D12, F6,D1) 8. Select F6 drop down option and change the numbers and see the results above
H
1
9
E x e r c i s e – 2 4 Top 10 Customers Mooby Corp Spacely Sprockets Kumatsu Motors St. Anky Beer Mr. Sparkle Sto Plains Holdings ABC Telecom Videlectrix Sample, inc Demo Company Total Sales : Average Units Sold : E x e r c i s e – 2 5 STOCK LIST Television
Units 689
Sales Units 8959 884 7840 976 Total Sales Average Units Sold 7507 689 56867 513.6 6690 588 5802 555 5487 578 3949 278 3836 238 3587 235 3210 115 =SUM(INDEX(A2:C11,0,2)) =SUM(INDEX(A2: C11,0,2)) or =SUM(INDEX(A2:C11,,2)) =SUM(INDEX(A2:C1 1,,2)) =AVERAGE(INDEX(A2:C11,0,3)) =AVERAGE(I NDEX(A2:C11,0,3)) or =AVERAGE(INDEX(A2:C11,,3)) =AVERAGE(INDEX (A2:C11,,3))
PRICE 8,959
Software and Hardware Training Centre
COST 884
Stock Item
Position Microsoft Advanced Excel
Microsoft Advanced Excel
Laptop 7,840 976 Tablet 7,507 689 Monitor 6,690 588 Drone 5,802 555 What position within the STOCK LIST is the TABLET located? Position : =MATCH(E3,A1:A6,0) =MATCH(E3,A1:A6, 0)
Tablet
4
E x e r c i s e – 2 6 Question :Do the items in STOCKLIST1 exist in STOCKLIST2? Rename Sheet 1 as List 1 and 1 and type the following data 1 2 3 4 5 6 7 8 9 10 11
A
B
C
STOCK LIST 1 Tel2154 Lap5468 Tab4577 Mon45657 Dro424 Tel2135 Lap5456 Tab4598 Mon45645 Dro4255
PRICE 3,449 5,664 5,830 2,496 9,553 9,644 8,600 2,990 6,282 7,760
MATCH 2 #N/A 1 9 #N/A 6 7 #N/A 5 10
Rename Sheet 2 as List 2 and 2 and type the following data
10
1 2 3 4 5 6 7 8 9 10 11
A
B
STOCK LIST 2 Tab4577 Tel2154 Lap000 Dro000 Mon45645 Tel2135 Lap5456 Tab000 Mon45657 Dro4255
COST 565 515 574 984 899 646 524 503 933 904
Solution List 1C2 1C2 :=MATCH(A2,List :=MA TCH(A2,List 1!$A$2:$A$11,0) E x e r c i s e –
27 A
B
C
D
STOCK ID STOCK ITEM PRICE COST TEL458 Television 8,959 $884 3 LAP5987 Laptop 7,840 $976 4 TAB698 Tablet 7,507 $689 5 MON632 Monitor 6,690 $588 6 DRO844 Drone 5,802 $555 What is the STOCK ID for the TABLET? TABLET? G3 : =INDEX($A$2:$A$6,MA =INDEX($A$2:$A$6,MATCH(F3,$B$2:$B$6,0 TCH(F3,$B$2:$B$6,0)) )) 1 2
E x e r c i s e – 1 2 3 4
E
F
G
STOCK ITEM Tablet
STOCK ID TAB698
28 A
B
SALES REP John Mikel Leyre
REGION East North South
Software and Hardware Training Centre
C
AMOUNT 45,860 20,752 71,972
D
E
LARGEST SALE? Effie Microsoft Advanced Excel
Microsoft Advanced Excel
Ane South 59,654 6 George West 53,757 7 Tina North 73,427 8 Effie South 78,380 9 Jimmy East 70,487 Which SALES REP made the BIGGEST SALE? SALE? E4 : =INDEX(A2:A9,MATCH(MAX(C2:C9),C2:C9, =INDEX(A2:A9,MAT CH(MAX(C2:C9),C2:C9,0)) 0)) 5
E x e r c i s e – 2 9 V LOOKUP Searches for a value in the first column of a table array and returns a value in the same row from another column (to the right) in the table array. VLOOKUP(lookup_value, VLOOKUP(lookup_value, table_array, col_index_num, col_index_num, [range_lookup]) [range_lookup]) VLOOKUP(this value, in this list, and get me value in this t his column, [Exact Match/FALSE] / 0) Get me the PRICE of a LAPTOP and TABLET from the STOCK LIST! =VLOOKUP(A8,A2:C5,2,FALSE) =VLOOKUP(A8,A2 :C5,2,FALSE) OR =VLOOKUP(A8,A2:C5,2,0) =VLOOKUP(A8,A2:C5, 2,0) =VLOOKUP(A9,A2:C5,2,FALSE)
What does it do? Formula breakdown What it means Question C8 C9 1 2 3
11
4 5 6 7 8 9 10
A
B
C
Stock List Television Laptop Tablet Keyboard
Price 150 185 245 55
Cost 85 95 90 5
Item Laptop Tablet
Quantity 125 35
Price 185 245 Total
D
Total Price 23,125 8,575 31,700
E x e r c i s e – 3 0 V LOOKUP - Approximate Match Match VLOOKUP(this value, in this list, and get me value in this column, Approximate What it means Match/TRUE] / 1) Question : Get me the TAX RATE for an INCOME value! A 1 2 3 4 5 6 7
D4 :
B
D
Tax Rate 13% 18% 22% 30% 39% 45% =VLOOKUP(D2,A2:B7,2,1) =VLOOKUP(D2,A2: B7,2,1)
Income is Greater than or Equal to…
0 8,456 15,874 36,897 87,458 141,569 =VLOOKUP(D2,A2:B7,2,TRUE) =VLOOKUP(D2,A2: B7,2,TRUE)
C
OR
Enter Income 8,500 Tax Rate 18%
E x e r c i s e – 3 1 V LOOKUP - Data Validation Question :Get me the PRICE of a LAPTOP & TABLET from the STOCK LIST! 1 2 3 4 5 6
A
B
C
Stock List Television Laptop Tablet Keyboard
Price 150 185 245 55
Cost 85 95 90 5
Software and Hardware Training Centre
D
Microsoft Advanced Excel
Microsoft Advanced Excel
Item Quantity 8 Tablet 125 Steps for Data Validation: Validation: Select A8 Data Validation Validation List C8 : =VLOOKUP(A8,A2:C5,2,FALSE) =VLOOKUP(A8,A 2:C5,2,FALSE)
Price 245
7
source
Total Price 30,625
A2:A5
E x e r c i s e – 3 2 V LOOKUP – Different Sheets Get me the ITEM ID from the STOCK INVENTORY LIST! Sheet 1 A 1 2 3 4 5 6 7 8
Items Television Televis ion Laptop Tablet Keyboard Mouse iPad Microphone
B
C
D
Item id 254CFG 689CDF 987SDD 698ADR 125RTY 569AER 569ERT
2013 24,500 16,700 2,500 5,500 5,500 5,500 5,500
2014 33,000 18,700 8,400 6,000 6,000 6,000 6,000
Sheet 2 1 2 3 4
12
5 6 7 8 9 10 11 12 13 14 15 16
A
B
C
D
Items Floppy Disks Mic Stand Laptop Tablet Pop filter Mouse iPad Microphone Pen Drive Mixer Laprop Cover Keyboard Hard Drives Television Beers
Item ID 610KLO 125FRT 689CDF 987SDD 658UYG 125RTY 569AER 569ERT 589YUI 841MKL 658UYH 698ADR 971UOP 254CFG 012KIO
Supplier Acme, inc. Widget Corp 123 Warehousing Warehousi ng Demo Company Smith and Co. Foo Bars ABC Telecom Fake Brothers QWERTY Logistics Demo, inc. Sample Company Sample, inc Acme Corp Allied Biscuit Ankh-Sto Associates
Preferred Supplier YES NO NO YES YES YES NO YES NO YES YES NO NO YES YES
Steps: In Sheet 1 B2 type : = Vlookup(A2, then click on Sheet 2 at the bottom and select from A2 : D16 and press F4 and ,2,false) Formula should look like this : =VLOOKUP(A2,Sheet2!$A$2:$ =VLOOKUP(A2 ,Sheet2!$A$2:$D$16,2,FALSE) D$16,2,FALSE) E x e r c i s e – 3 3 Sum product – Conditional Date What does does it do? It returns the sum sum o off a conditional criteria from the corresponding corresponding range or array array Formula breakdown SUMPRODUCT((Nested SUMPRODUCT((Nested formula(array1 criteria))*array criteria))*array values) What it means SUMPRODUCT((Get SUMPRODUCT((Ge t me the Month of January(Date January(Dat e array))*Sales array) Question What's the SUM OF SALES for the month of JANUARY? JANUARY? Answer - F3 =SUMPRODUCT((MONTH(D2:D10)=1)*C2:C10) =SUMPRODUCT((MO NTH(D2:D10)=1)*C2:C10) 1 2 3 4
A
B
C
D
Sales Rep John Paul Ringo
Region North South North
Sales 2,500 3,456 2,568
Date 1/20/2014 1/25/2014 1/30/2014
Software and Hardware Training Centre
E
F
Answer: 8,524
Microsoft Advanced Excel
Microsoft Advanced Excel 5 6 7 8 9 10
George John Paul Ringo George John
South North South North South North
9,854 2,569 4,125 2,568 1,458 2,562
2/15/2014 2/18/2014 2/19/2014 3/18/2014 3/22/2014 3/30/2014
E x e r c i s e – 3 4 Sum product – Conditional SUM What does does it do? It returns the sum sum of a conditional criteria from the corresponding corresponding range or array array Formula breakdown SUMPRODUCT((array1 SUMPRODUCT((array1 criteria)*array criteria)*array values) What it means SUMPRODUCT((Date SUMPRODUCT((Date array criteria)*Sales array) Question What's the SUM OF SALES above the 3,000 transactional transactional level? Answer - F3 =SUMPRODUCT((C2:C10>3000)*C2:C10) =SUMPRODUCT((C 2:C10>3000)*C2:C10) 1 2 3 4 5 6 7 8 9
13
10
A
B
C
D
Sales Rep John Paul Ringo George John Paul Ringo George John
Region North South North South North South North South North
Sales 2,500 3,456 2,568 9,854 2,569 4,125 2,568 1,458 2,562
Qtr 1 2 3 4 1 2 3 4 1
E
F
Answer: 17,435
E x e r c i s e – 3 5 Sum product – Count What does it do? It returns the count of multiple criteria from the corresponding corresponding ranges or arrays Formula breakdown SUMPRODUCT((array1 SUMPRODUCT((array1 criteria)*(array2 criteria)*(array2 criteria)) What it means SUMPRODUCT((Sales SUMPRODUCT((S ales Rep array)*(Region array)*(Regi on array)) Question How many sales did JOHN make in the NORTH REGION? Answer - F3 =SUMPRODUCT((A2:A10="john")* =SUMPRODUCT((A 2:A10="john")*(B2:B10="north (B2:B10="north")) "))
1 2 3 4 5 6 7 8 9 10
A
B
C
D
Sales Rep John Paul Ringo George John Paul Ringo George John
Region North South North South North South North South North
Sales 2,500 3,456 2,568 9,854 2,569 4,125 2,568 1,458 2,562
Qtr 1 2 3 4 1 2 3 4 1
E
F
Answer: 3
E x e r c i s e – 3 6 Sum product – Maximum Sales What does does it do? It returns the sum sum of a conditional criteria from the corresponding range or array array Formula breakdown SUMPRODUCT(Nested SUMPRODUCT(Nested Formula((array1 Formula((array1 criteria)*array criteria)*array values)) SUMPRODUCT(Get me The Maximum value from the following criteria((Region What it means array)*Sales array)) Question What's the MAXIMUM sales amount in the NORTH region? Answer - F3 =SUMPRODUCT(MAX((B2:B10="north =SUMPRODUCT(M AX((B2:B10="north")*C2:C10)) ")*C2:C10)) Software and Hardware Training Centre
Microsoft Advanced Excel
Microsoft Advanced Excel
1 2 3 4 5 6 7 8 9 10
A
B
C
D
Sales Rep John Paul Ringo George John Paul Ringo George John
Region North South North South North South North South North
Sales 2,500 3,456 2,568 9,854 2,569 4,125 2,568 1,458 2,562
Qtr 1 2 3 4 1 2 3 4 1
E
F
Answer: 2,569
E x e r c i s e – 3 7 Sum product – Multiple Criteria What does it do? It returns the sum of multiple criteria from the corresponding ranges or arrays Formula breakdown SUMPRODUCT((array1 SUMPRODUCT((array1 criteria)*(array2 criteria)*(array3 criteria)*array values) What it means SUMPRODUCT((Sales SUMPRODUCT((S ales Rep array)*(Region array)*(Regi on array)*(Qrt array)*Sales array) Question What is the total sales for JOHN in the NORTH REGION in Q1? Answer - F3 =SUMPRODUCT((A2:A10="john")* =SUMPRODUCT((A 2:A10="john")*(B2:B10="north (B2:B10="north")*(D2:D10=1)*C2:C10 ")*(D2:D10=1)*C2:C10)) 1 2 3 4 5
14
6 7 8 9 10
A
B
C
D
Sales Rep John Paul Ringo George John Paul Ringo George John
Region North South North South North South North South North
Sales 2,500 3,456 2,568 9,854 2,569 4,125 2,568 1,458 2,562
Qtr 1 2 3 4 1 2 3 4 1
E
F
Answer: 7,631
E x e r c i s e – 3 8 Sum product – Sum of Top 3 Sales What does does it do? It returns the sum sum of a conditional criteria from the corresponding range or array array Formula breakdown {SUMPRODUCT(Nested Formula((array1 criteria)*array values))} {SUMPRODUCT(Return {SUMPRODUCT(Return me the Largest three values from((Region array)*Sales array)*Sales What it means array))} Question What's the SUM of the TOP 3 sales in the NORTH region? Answer - F3 =SUMPRODUCT(LARGE((B2:B10="nor =SUMPRODUCT(L ARGE((B2:B10="north")*(C2:C10), th")*(C2:C10),{1,2,3})) {1,2,3})) 1 2 3 4 5 6 7 8 9 10
E x e r c i s e –
A
B
C
D
Sales Rep John Paul Ringo George John Paul Ringo George John 39
Region North South North South North South North South North
Sales 2,500 3,456 2,568 9,854 2,569 4,125 2,568 1,458 2,562
Qtr 1 2 3 4 1 2 3 4 1
Sum product – Easy What does it do? Formula breakdown
E
F
Answer: 7,705
It returns the sum of the products of corresponding ranges or arrays SUMPRODUCT(array1, SUMPRODUCT(array1, [array2], [array3]...)
Software and Hardware Training Centre
Microsoft Advanced Excel
Microsoft Advanced Excel
What it means Question Answer - F3 1 2 3 4 5
SUMPRODUCT(this array, with that array…)
What is the AVERAGE SELLING PRICE of our total STOCK ITEMS! =SUMPRODUCT(B2:B5,C2:C5)/SUM(B2:B5) =SUMPRODUCT(B2: B5,C2:C5)/SUM(B2:B5) A
B
Stock Items Television Laptop Tablet Keyboard
Units Sold 24,500 16,700 2,500 5,500
C
D
Sale Price 350 650 850 150
E
Average Selling Price 455
E x e r c i s e – 4 0 Subtotal - SUM What does it do? Formula breakdown
15
It returns a Subtotal in a list or database SUBTOTAL(function_num, SUBTOTAL(function_num, ref1) SUBTOTAL(function SUBTOTAL(function number 1-11 includes manually-hidden rows & 101-111 What it means excludes them, your list or range) Question Enter the SUBTOTALS for the North, South and Totals? B4 =SUBTOTAL(9,B2:B3) B8 =SUBTOTAL(9,B6:B7) B10 =SUBTOTAL(9,B2:B9) Values for Subtotal Function Numbers Includes Hidden Values Ignores Hidden Values Function 1 101 AVERAGE 2 102 COUNT 3 103 COUNTA 4 104 MAX 5 105 MIN 6 106 PRODUCT 7 107 STDEV 8 108 STDEVP 9 109 SUM 10 110 VAR 11 111 VARP
1 2 3 4 5 6 7 8 9 10
A REGION North-East North-West Total North
B Q1 657 550 1,207
C Q2 797 723 1,520
D Q3 853 618 1,471
E Q4 886 734 1,620
South-East South-West Total South
295 443 738
574 391 965
206 478 684
564 693 1,257
TOTAL
1,945
2,485
2,155
2,877
Note: The SUBTOTAL function in Excel has many great features, like the ability to: Return a SUM, AVERAGE, COUNT, COUNTA, MAX or MIN from your data Include hidden values within your data by entering the first argument function_num, as values between 1 -11 Ignore hidden values within your data by entering the first argument function_num, as values between 101-111 Find the SUBTOTAL of filtered values Ignore other SUBTOTALS that are included in your range, avoiding any double counting!
E x e r c i s e –
41
Software and Hardware Training Centre
Microsoft Advanced Excel
Microsoft Advanced Excel
Subtotal – Visible / Filtered F2 : =SUBTOTAL(109,C3:C51) =SUBTOTAL(109,C 3:C51) H2 : =SUM(C3:C51) Select A2 and Data Filters Change the values using dropdown menu and see the results A 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
16
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
REGION A B C D E F G A B C D E F G A B C D E F G A B C D E F G A B C D E F G A B C D E F G A B C D E
B
YEAR 2010 2011 2012 2013 2014 2015 2016 2010 2011 2012 2013 2014 2015 2016 2010 2011 2012 2013 2014 2015 2016 2010 2011 2012 2013 2014 2015 2016 2010 2011 2012 2013 2014 2015 2016 2010 2011 2012 2013 2014 2015 2016 2010 2011 2012 2013 2014
C
SALES 500 550 600 650 700 750 800 850 900 950 1,000 1,050 1,100 1,150 1,200 1,250 1,300 1,350 1,400 1,450 1,500 1,550 1,600 1,650 1,700 1,750 1,800 1,850 1,900 1,950 2,000 2,050 2,100 2,150 2,200 2,250 2,300 2,350 2,400 2,450 2,500 2,550 2,600 2,650 2,700 2,750 2,800
Software and Hardware Training Centre
D
E
F
Total T otal Sales
SUBTOTAL FUNCTION 83,300
G
H
SUM FUNCTION 83,300
Microsoft Advanced Excel
Microsoft Advanced Excel 50 51
F G
2015 2016
2,850 2,900
E x e r c i s e – 4 2 INDIRECT Function What does it do? Formula breakdown What it means
Returns a reference to a range. The referenced range can be a cell, a range of cells, or a named range. INDIRECT(ref_text, INDIRECT(ref_text, [a1]) INDIRECT(Return the referenced range, Omit if the reference is an A1 style or enter FALSE if it is a R1C1 style)
A B C D E F G H I 1 65 53 79 76 76 A Cell Range of Cells Named Range 2 73 77 69 40 80 C5 C4:C8 TABLE 3 78 66 60 69 64 4 75 48 70 51 47 73 359 1651 5 68 83 84 51 49 =INDIRECT(G2) =INDIRECT( G2) =SUM(INDIRECT(H2)) =SUM(INDIREC T(H2)) =SUM(INDIRECT(I2)) =SUM(INDIREC T(I2)) Note: Select A1:E5 and go to top left(above A1) and type a name for the range of your data E x e r c i s e – 4 3
INDIRECT Function for Dependent Dropdown A
17
B
C
D
1 Category Meat Beverage Breakfast 2 Meat Beef Water Hotdog 3 Beverage Chicken Soda Pancake 4 Breakfast Pork Juice Eggs 5 6 Category Contents 7 Step 1 : Select from A2 to A4 and give a name as Category in Name Box ( above A1) Select from B2 to B4 and give a name as Meat in Name Box Select from C2 to C4 and give a name as Beverage in Name Box Select B6 DataData Validation Validation Criteria select List source A2:A4 Select C6 DataData Validation List Source =INDIRECT( $B$7 ) Select the Category Dropdown Lists and see the Contents Lists
E x e r c i s e – REPLACE
44
What does it do? Formula breakdown What it means Question C2
Replaces part of a text string, based on the number of characters you specify, with a different text string REPLACE(old_text, REPLACE(old_text, start_num, num_chars, new_text) REPLACE(this cell, starting from this number, all the way to this number, with this new text) Change Phone Area Codes with REPLACE Formula =REPLACE(A2,2,3,B2)
PHONE NUMBER (370) 609-3098 (961) 820-9688 (204) 439-3664 (517) 110-6801 (570) 261-8410 (996) 700-6596 E x e r c i s e – 4 5 Software and Hardware Training Centre
NEW 111 222 333 444 555 666
NEW PHONE NUMBER (111) 609-3098 (222) 820-9688 (333) 439-3664 (444) 110-6801 (555) 261-8410 (666) 700-6596
Microsoft Advanced Excel
Microsoft Advanced Excel
REPLACE - Extract Last Name 1 2 3 4 5 6 7 B2 :
A FULL NAME Talon Ferguson Doris Velez John Michaloudis Cain Sawyer Giacomo Trujillo Holly Coffey =REPLACE(A2,1,SEARCH =REPLACE(A2,1,SEARCH(" (" ",A2),"")
E x e r c i s e –
B SURNAME Ferguson Velez Michaloudis Sawyer Trujillo Coffey
46
SUBSTITUTE FORMULA What does it do? Substitutes new_text for old_text in a text string Formula breakdown SUBSTITUTE(text, SUBSTITUTE(text, old_text, new_text, [instance num]) SUBSTITUTE(This cell, By this text character, To this text character, [In the 1st, What it means 2nd…instance it occurs]) Question Add Comma After the Surname C2 =SUBSTITUTE(A2," =SUBSTITUTE(A2," ",",") FULL NAME Crosby Jackson Sharp Cairo Hurst Colin Bullock Fulton Cameron Kirk Figueroa Drew
18 E x e r c i s e –
B2 :
47
PART # C97-27-JT T28-24-FG F34-68-LJ S63-86-LL P73-57-UB H26-82-HH =SUBSTITUTE(A2,"-","#",2) =SUBSTITUTE(A2,"-","#",2)
E x e r c i s e –
FULL NAME WITH COMMA Crosby,Jackson Crosby,Jackson Sharp,Cairo Hurst,Colin Bullock,Fulton Cameron,Kirk Figueroa,Drew
NEW PART # C97-27#JT T28-24#FG F34-68#LJ S63-86#LL P73-57#UB H26-82#HH
48
NAME OCCURENCES Bradley Strickland ******* 7 Talon Ferguson **** 4 Doris Velez *** 3 Giacomo Trujillo **** 4 Holly Coffey *** 3 Jesse Everett ***** 5 Get the length of the entire string – in this case, the length of “Bradley Strickland *******” would be 26 Get the length of the text without the asterisks – in this case, the length of “Bradley Strickland” would be 19 Subtract the two lengths – this will give us 7, which is the number of asterisks =LEN(A2)-LEN(SUBSTITU =LEN(A2)-LEN(SUBSTITUTE(A2,"*","") TE(A2,"*","")))
E x e r c i s e –
49
Software and Hardware Training Centre
Microsoft Advanced Excel
Microsoft Advanced Excel
RANDBETWEEN FUNCTION Generates Random numbers from starting to end =RANDBETWEEN ( BOTTOM , TOP ) Select from A1 to J20 and type =randbtween(20,90) and press ctrl + enter Copy the numbers and open a new sheet and paste special and select values
E x e r c i s e – 5 0 RANDBETWEEN Function for Dates Generates random dates, in between a start date and an end date Select from A1 to D10 Type =RANDBETWEEN(DATE(2010,1,1),DATE(2015,1,1)) and press ctrl + enter Select Long Date from the Toolbar Copy the dates and open a new sheet and use paste special and select values Select Long or Short Date from the Toolbar
E x e r c i s e – 5 1 ARRAY FORMULA What does it do? Formula breakdown What it means
19
A formula that performs an Excel operation on an array/range of data To convert an Excel formula into an Array formula, you will need to press CTRL+SHIFT+ENTER =SUM(Array1*Array2) =SUM(Array1*Array2)
NORMAL FORMULA A 1 PRODUCT 2 LAPTOPS 3 TABLETS 4 MOBILES 5 PC 6 7 D2 : =B2*C2 D7 : =SUM(D2:D5)
B UNITS SOLD 87 268 541 55
C UNIT PRICE 788 651 325 450
D TOTAL 68,556 174,468 175,825 24,750
TOTAL SALES
443,599
ARRAY FORMULA A PRODUCT LAPTOPS TABLETS MOBILES PC
1 2 3 4 5 6 7 C7 :
=SUM(B2:B5*C2:C5) =SUM(B2:B5* C2:C5)
E x e r c i s e –
B UNITS SOLD 87 268 541 55
C UNIT PRICE 788 651 325 450
TOTAL SALES press CTRL+SHIFT+ENTER
443,599
52
ARRAY FORMULA NORMAL FORMULA 1 2 3 4 5
A DATE 2/18/2015 2/19/2015 2/20/2015 2/21/2015
Software and Hardware Training Centre
B OPEN 105 108 99 99 106
C CLOSE 109 95 104 120
D VARIANCE 4 -13 5 14 Microsoft Advanced Excel
Microsoft Advanced Excel
6 7 D2 : D7 :
MAX
14
=C2-B2 =MAX(D2:D5)
ARRAY FORMULA A DATE 2/18/2015 2/19/2015 2/20/2015 2/21/2015
1 2 3 4 5 6 7 C7 :
20
A B C D Sales representative representativ e Sale date Sales amount Commission due date Karthik 1/13/2015 78,782 2/28/2015 Sushma 1/25/2015 72,602 2/28/2015 Hemendra 2/6/2015 48,503 3/31/2015 Akshay 2/18/2015 44,316 3/31/2015 Kalmeshwar 3/2/2015 47,810 4/30/2015 Sowmyashree 3/14/2015 77,361 4/30/2015 Ranjitha 3/26/2015 51,146 4/30/2015 Kunal 4/7/2015 28,673 5/31/2015 Madhu 4/19/2015 31,810 5/31/2015 Vinod 5/1/2015 52,916 6/30/2015 Prathiba 5/13/2015 71,305 6/30/2015 Nikhil 5/25/2015 27,757 6/30/2015 Pratik 6/6/2015 47,404 7/31/2015 Kavya 6/18/2015 77,547 7/31/2015 Mohith 6/30/2015 74,339 7/31/2015 Gaurav 7/12/2015 71,869 8/31/2015 Cybil 7/24/2015 63,243 8/31/2015 Shrirang 8/5/2015 53,345 9/30/2015 Priyanka Priyank a 8/17/2015 71,996 9/30/2015 Pooja 8/29/2015 73,405 9/30/2015 Date(year , month , day ) =date(2015,1,13) =date(2015,1,13) B2 + 12 and drag till the end to get the remaining dates =EOMONTH(B2,1)
E x e r c i s e –
54
A
B
1 2 3
14
Returns the last day of the month after a start date EOM(start_date, EOM(start_date, months) EOM(Your Start Date, enter 0 for current end of month, 1 for the next end of month, and so on...)
What it means
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 B2 : B3 : D2 :
C CLOSE 109 95 104 120
MAX press CTRL+SHIFT+ENTER
=MAX(C2:C5-B2:B5) =MAX(C2:C5-B2 :B5)
E x e r c i s e – 5 3 End Of Month What does it do? Formula breakdown
B OPEN 105 108 99 106
Name Andy
Basic salary 5500
C 13% Conveyance allowance 715
Software and Hardware Training Centre
D 9.70% Medical allowance 533.5
E F 8% House Gross rent pay 440 7188.5
G 12% Income tax 862.62
H Net-pay 6325.88
Microsoft Advanced Excel
Microsoft Advanced Excel
4
Betty
4000
520
388
320
5228
627.36
4600.64
5
Corole
6500
845
630.5
520
8495.5
1019.46
7476.04
6
Denice
7000
910
679
560
9149
1097.88
8051.12
7
Everett
3000
390
291
240
3921
470.52
3450.48
8
Fran
8000
1040
776
640
10456
1254.72
9201.28
9 10
Gabe
6500 40500
845 5265
630.5 3928.5
520 3240
8495.5 52934
1019.46 6352.02
7476.04 46581.48
Grand total
Solutions: C3 D3 E3
= B3 * $ C $ 1 = B3 * $ D $ 1 = B3 * $ E $ 1
E x e r c i s e –
F3 G3 H3
= SUM ( B3 : E3 ) = F3 * $ G $ 1 = F3 - G3
55 H A
A
A
E M
75 64 25 77 77
S
N
C
S
E N
IN
S
H
B
T A
S K
25 78 46 95 50
62 66 66 81 25
36 87 36 65 15
% O
E
R
R A
R A R P T
248 383 218 411 242
K D
T M
O P
A
K
S E
L
A Y
O A
50 88 45 93 75
CI AI
A N
M
Daniel Maureen John Nihar Somnath
L
G T
N
D
500 500 500 500 500
49.6 76.6 43.6 82.2 48.4
G
D A D A1 D
M E R
UNCLEAR CLEAR UNCLEAR CLEAR UNCLEAR
21 CLEAR UNCLEAR Solutions: Obtained Marks Percentage Grade Remarks Clear Unclear E x e r c i s e –
2 3
Students Students
= SUM ( B2 : F2 ) = Marks / Total =IF(I2>80,"A1",IF(I2>70,"A",IF(I2>60,"B",IF(I2>50,"C",IF(I2>40,"D",IF(I2>33,"E","FAIL")))))) =IF ( I2 > 50 , " CLEAR " , " UNCLEAR " ) = COUNTIF ( K2 : K6 , " = clear " ) = COUNTIF ( K2 : K6 , " = Unclear " ) 56 Current Date & Time ec ir e P
ec a el
m
yt
es p
N
Sl. No.
hc m et
Panadol Disprin Dispri n Brophin Hajmola Iodex Flucoadvan Gluecoss Postan
a r
I
1 2 3 4 5 6 7 8
ir
a
S u P
10 20 30 20 30 40 50 20
20 50 60 35 50 60 70 25
Software and Hardware Training Centre
5 4 3 4 5 3 3 5
l at P T
a
e
50 20 30 40 50 60 70 50
a
s yr m
kr D
n e al a
o
100 200 180 140 250 180 210 125
itf
et
ec di B
50 180 150 100 200 120 140 75
4/26/2017 19:27
a
n B
50 120 90 60 100 60 60 25
i e p R x E
6/7/2019 6/7/2014 4/15/2014 10/5/2008 5/5/2005 8/8/2008 9/9/2009 6/6/2009
Not Expire Expire Expire Expire Expire Expire Expire Expire
Microsoft Advanced Excel
Microsoft Advanced Excel
9 10 11 12 13 14 15 16 17 18 19 20
Facsin Asfax Acular Cerilac Ceril ac Nido Ni do Nido + 3 Farix Vacsin Truma Nitron Humigon Ors
30 10 20 30 615 225 40 23 30 20 30 20
40 15 35 50 650 250 56 44 60 45 50 40
3 4 5 3 3 5 4 5 4 5 3 6
120 60 175 150 1950 1250 224 220 240 225 150 240
60 30 80 60 1500 100 20 30 50 50 60 70 80
60 30 95 90 450 1150 204 190 190 165 80 160
30 20 75 60 105 125 64 105 120 125 60 120
6/7/2020 6/8/2009 6/9/2019 6/10/2017 6/11/2009 6/12/2009 12/13/2013 6/14/2009 6/15/2025 6/16/2009 6/17/2013 6/18/2011
Not Expire Expire Not Expire Not Expire Expire Expire Expire Expire Not Expire Expire Expire Expire
Total
Sale Price X Quantity
Current Date and time
= Now ( )
Balance
Total - Paid
Remarks
= IF ( J3 > NOW ( ) , " Not Expire " , " Expire Expire " )
Benefit
= ( Purchase Price – Sales Price ) X Quantity
E x e r c i s e –
57 Public School Attendance Sheet
A
22
B
C
1
D
E
F
G
H
I
FORMULAS
J
. E l
A
N
o M N.
2 S
N
U T
I U
E
L
COUNTIF
D E
O
K
H
A F
T
S
N
E B
EL
N E S A P
MMULT
SUM
F
=/ N
1
E NI
=/ L
T
R
V
. O
F
0 E S S R B A
P
S A
T R
EL
U T
5 E
E
N A
0
D .
T
A
Y 0
A S
R
MMULT
V
E E
O
NI
T
SUN
N
E
T T
R
M
3
1
Andy
L
A
L
P
P
L
2
1
3
100
150
250
4
2
Betty
A
P
P
A
L
P
3
2
1
200
50
250
5
3
Corole
P
P
P
P
P
P
6
0
0
0
0
0
6
4
Denice
L
P
A
P
P
P
Y
1
1
100
50
150
7
5
Everett
P
L
P
P
P
A
D
4 4
1
1
100
50
150
8
6
Fran
L
P
P
P
L
P
4
0
2
0
100
100
9
7
Gabe
P
L
L
P
A
L
2
1
3
100
150
250
10
8
Henry
P
A
P
L
P
P
4
1
1
100
50
150
11
9
Jake
P
A
P
P
P
A
4
2
0
200
0
200
12
10
Jackson
A
P
A
P
L P GRAND TOTAL
3
2
1
200
50
250
36
11
13
1100
650
1750
13 Present Absent Leave
E x e r c i s e –
= COUNTIF ( C3 : H3 , " = P " ) = COUNTIF ( C3 : H3 , " = A " ) = COUNTIF ( C3 : H3 , " = L " )
H
O
YL
A
Fine 100 Fine 50 Total Amount
O A
= MMULT ( K3 ,100 ) = MMULT ( L3, 50 ) = SUM ( M3 : N3 )
58
Software and Hardware Training Centre
Microsoft Advanced Excel
Microsoft Advanced Excel A
B
C
D
E
F
G
H
I
J
K
L
M
FIRST LEVEL TOTAL FEE
1
4500
2
. N PI A L N S
N
N
C
E
3
E
MAY
DATE
JUNE
DATE
JULY
E
E L
O
A T
DATE
K R A
A
A L
L
O T
S
C A
A B
M E
E L
B
R
4
1
0001
A
1500
1/5/2013
1500
1/6/2013
1400
1/7/2013
4500
0
5
2
0002
B
1300
1/5/2013
1500
2/6/2013
1200
2/7/2013
4000
500
UNCLEAR
6
3
0003
C
1500
2/5/2013
1500
3/6/2013
1500
3/7/2013
4500
0
CLEAR
7
4
0004
D
1500
2/5/2013
1400
4/6/2013
1500
4/7/2013
4500
0
100
CLEAR
8
5
0005
E
1500
2/5/2013
1450
5/6/2013
1500
5/7/2013
4500
0
50
CLEAR
9
6
0006
F
1500
3/5/2013
1500
6/6/2013
1500
6/7/2013
4500
0
CLEAR
10
7
0007
G
1500
3/5/2013
1500
7/6/2013
1200
7/7/2013
4200
300
UNCLEAR
11
8
0008
H
1499
3/5/2013
1500
8/6/2013
1500
8/7/2013
4499
1
UNCLEAR
12
9 10
0009 0010
I J
1500 1500
4/5/2013 5/5/2013
1250 1500
9/6/2013 10/6/2013
1500 1500
9/7/2013 10/7/2013
4250 4500
250 0
UNCLEAR CLEAR
13
Total Balance Remarks
23 E x e r c i s e –
CLEAR
= D4 + F4 + H4 + L4 =$K$2 - J4 = IF ( $ K $ 2 = J 4 , “ CLEAR ” , “ UNCLEAR ” )
59
A
B
C
D
1
E
F
G
H
I
J
K
ONE DAY CRICKET MATCH
E 1
2 T A
SUM AVERAGE MAX
S
T A
M
50 80 78 69 97
C
M
48 15 67 93 80
T A
A M
NI A
A
L E
X V
U
C
T
Prakash Rahul Akshay Vivek Naveen
H
C
N
M
H
C
E
4
H
A
E x e r c i s e –
3
H M
2 3 4 5 6 7
100
A R
M M
L G A M L S
M
75 42 68 79 38
36 98 48 51 96
209 235 261 292 311
= SUM ( B 3 : E 3 ) = AVERAGE ( B 3 : E 3 ) = MAX ( B 3 : E 3 )
52.25 58.75 65.25 73 77.75 MIN LARGE SMALL
75 98 78 93 97
36 15 48 51 38
50 80 68 79 96
48 42 67 69 80
= MIN ( B 3 : E 3 ) = LARGE ( B 3 : E 3 , 2 ) = SMALL ( B 3 : E 3 , 2 )
60
A
B
C
D
E
F
G
H
I
1 2 3
NAME C Likitha
SALE 1 5000
SALE 2 6000
SALE 3 NIL
SALE 4 75000
COUNT
COUNTA
COUNT BLANK
COUNT IF
3
4
0
1
4
Aishwarya
16000
18000
25000
NIL
3
4
0
1
5
Shreya
9000
22000
78000
40000
4
4
0
0
6
Jyothi
12000
60000
NIL
28000
3
4
0
1
7
Deeksha
30000
45000
36000
59000
4
4
0
0
Count FUNCTIONS
Software and Hardware Training Centre
Microsoft Advanced Excel
Microsoft Advanced Excel
Solutions: COUNT COUNTA COUNT BLANK COUNT IF E x e r c i s e –
24
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
= COUNT ( B 3 : E 3 ) = COUNTA ( B 3 : E 3 ) = COUNTBLANK COUNTBLANK ( B 3 : E 3 ) = COUNTIF ( B 3 : E 3 , “ * ” )
Note: COUNT COUNTA COUNT BLANK COUNTIF
Only for numbers Counting for all (numbers + text) Count for empty cell Only for text
61
A
B
Sl. No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Roll No. 11671 11604 11774 11661 11624 11625 11703 11752 12177 11753 11702 11586 11751 11654 11874 11590 11687 11713 11637 11847 11710 11608 11849 11805 11760 11630 11607 11855 11646 11591
C D INDIAN PUBLIC SCHOOL For the Academic Year 2013-14 Name Gender Anagha Ks FEMALE Angel Prescilla. Jean Pierre FEMALE A Sushma FEMALE MadirajuMonasri MadirajuMon asri FEMALE Kavy K FEMALE Komal Sharma FEMALE Sobhagya Gupta FEMALE Sujay N FEMALE M Archita FEMALE Syeda Uroosa Kulsum FEMALE InduPriya FEMALE Poojitha.K FEMALE Shweta FEMALE Panchami Nayak FEMALE FardeenaSiddiqua FardeenaSid diqua MALE Madan H S MALE Sumit Banerjee MALE Shreyas MALE Ranjana Ashok MALE Shubham Kumar FEMALE KarthikBm Karthik Bm FEMALE Gayana N MALE Narendra FEMALE RekhaChamakeri RekhaChamaker i MALE Sushanth N MALE Manu Singh MALE Shreyash MALE Arisha Siddiqui FEMALE Akshatha Gowda MALE DurgaRatnakar DurgaRatnaka r S MALE
Siblings No. 7 9
Siblings Yes 5 9
male Female
16
14
Total
Solutions: Siblings No. Siblings Yes
Total
E
F
House S G S H H S G H G G G H S G H S G H S H S H S G G H S G H S
Sibling YES NO YES YES NO NO YES NO NO NO YES NO YES YES NO NO YES NO NO NO YES NO NO YES NO YES NO YES YES YES
12 18
Gryffindor 3 7
Hufflepuff 5 5
Slytherin 4 6
30
10
10
10
=COUNTIFS(D4:D33,"MALE",F4:F =COUNTIFS(D4: D33,"MALE",F4:F33,"NO") 33,"NO") =COUNTIFS(D4:D33,"FEMALE",F4:F33,"NO") =COUNTIFS(D4:D33,"MALE",F4:F =COUNTIFS(D4: D33,"MALE",F4:F33,"YES") 33,"YES") =COUNTIFS(D4:D33,"FEMALE",F4:F33,"YES")
Software and Hardware Training Centre
Microsoft Advanced Excel
Microsoft Advanced Excel
Gryffindor
=COUNTIFS(E4:E33,"G",D4:D33,"male") =COUNTIFS(E4:E33,"G",D4:D33,"female") =COUNTIFS(E4:E33,"H",D4:D33,"male") =COUNTIFS(E4:E33,"H",D4:D33,"female") =COUNTIFS(E4:E33,"S",D4:D33,"male") =COUNTIFS(E4:E33,"S",D4:D33,"female")
Hufflepuff Slytherin
E x e r c i s e –
62 Airspace Travel Company Bi-Weekly Payroll Period:
a ts
a
m
e ts
#
e m ri
25
t y oL p m E
p
i a
o a
ss et
u r
ac ol
oi
sr mt
e aL
F
e oi
N
n
n n
e
N
s t
DI
m R
e
m o
D C
Adam
Landry
20177
Toronto
Sales
28
13.5
300
Debra
Cutler
14155
Toronto
Sales
44
20
1148
Elizabeth
Betts
17416
Toronto
Sales
31
22
520
Hope
Mooney
14661
Toronto
Sales
28
20
480
Tim
McKay
19191
Toronto
Sales
41
16
229
Jaime
Burgess
16340
New York
Management
36
20
0
Ashley
Bradford
17571
Miami
Administration
42
17.75
0
Deborah
Secrett
16735
Miami
Administration
38
20
0
Steven
Samuel
15563
Miami
Sales
36
14
1057
Timothy
Zaghit
17552
Vancouver
Sales
39
14
1036
Adel
Kahlmeier
13089
Miami
Administration
32
16
0
John
Currie
13434
Toronto
Sales
44
19
377
Sonny
Nguyen
14792
Vancouver
Administration
44
16.5
0
Carol
Gregory
16688
Los Angeles
Management
40
31
0
Natasha
Dyas
16054
Toronto
Administration
39
13
0
James
Norman
13733
Miami
Management
28
36
0
Joshua
Garcia
21620
Toronto
Administration
29
15
0
Sarah
Mckinnon
13041
New York
Sales
48
17
906
Shannon
Miller
20162
Vancouver
Management
42
27
0
Katrina
Kormylo
15750
Vancouver
Administration
36
16
0
Price 12.99 6.5 6 .5 9.29 2.19 1.99
Subtotal 2598 650 418.05 98.55 23.88
Reg. Hours Reg. Pay OT Hours OT Pay Gross Pay E x e r c i s e –
Item Name T-shirts T-shirt s Buttons Hamburgers Buns Water
: : : : :
if ( hours> 40 , 40 , hours ) Reg. hours X rate if ( hours> 40, hours – 40 , 0 ) OT hours X rate X 1.5 Re. pay + OT pay + commissions commissions
63
Purchase # #335 #336 #337 #338 #339
Kids for Change Items for Purchase Order By Quantity Tuesday, May 12, 2015 200 Wednesday, May 20, 2015 100 Saturday, May 30, 2015 45 Saturday, May 30, 2015 45 Saturday, May 30, 2015 12
Software and Hardware Training Centre
Discount 389.7 97.5 62.7 14.7 3.5
Total 2208.3 552.5 355.3 83.7 20.2
Microsoft Advanced Excel
Microsoft Advanced Excel
Subtotal Discount Total E x e r c i s e –
: : :
Quantity X Price Subtotal X 15 % Subtotal - Discount
64 Universal Corporate Events Q3 Events Client
Client Code
Airspace Travel Blue Jean Landscaping Jump Start Computers Kids for Change Learn Fast College Lost Revolution Miami Global Olson College Stormy BBQ Underwood College University of Norwood Winchester Winchest er Web Design
Event
117 Training 135 Training 114 Staff Party 250 Staff Party 306 Training 170 Team Building 185 Training 390 Training 200 Staff Party 210 Staff Party 420 Team Building 206 Staff Party Count
26
Event Date 28-Aug 14-Aug 10-Jul 17-Jul 28-Sep 14-Aug 17-Sep 5-Aug 26-Jul 5-Jul 30-Jun 28-Jul
Salesperson David Sutton Maria Fernandez David Sutton David Sutton Maria Fernandez Maria Fernandez Maria Fernandez Maria Fernandez David Sutton Maria Fernandez David Sutton David Sutton
Fee 325 550 450 250 175 750 480 450 550 325 750 750
Sum
Training Events Sold by David Training Events Sold by Maria Count David : =COUNTIF(E5:E16,"David =COUNTIF(E5:E16,"David Sutton") Sum David : =SUMIF(E5:E16,"David =SUMIF(E5: E16,"David Sutton",F5:F16) Sutton",F5:F 16) Count Maria : =COUNTIF(E5:E16," =COUNTIF(E5:E16," Maria Fernandez ") Sum Maria : =SUMIF(E5:E16," =SUMIF(E5: E16," Maria Fernandez ",F5:F16) E x e r c i s e –
B2 Note
65 A Salesperson Sales for Mary
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 :
Salesperson Salesperson Mary John Andrew Matthew Mary Mary Olga Matthew Andrew Matthew Andrew =SUMIF(A5:A15,B1,B5:B15) =SUMIF(A5:A15, B1,B5:B15)
:
E x e r c i s e –
B Mary 503 Amount 125 320 520 98 300 78 58 301 142 566 123
Change names in B1 and see the changes
66 A
Software and Hardware Training Centre
B
C Microsoft Advanced Excel
Microsoft Advanced Excel
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Name Student 1 Student 2 Student 3 Student 4 Student 5 Student 6 Student 7 Student 8 Student 9 Student 10
Score 65 39 57 45 64 77 78 32 73 73
Maximum No. Minimum No. No. of pass No. of fail Total of pass Total of fail
78 32 7 3 487 116
Result pass fail pass fail pass pass pass fail pass pass
Result =IF(B2>=50,"pass","fail") Maximum No. =MAX(B2:B11) Minimum No. =MIN(B2:B11) No. of pass =COUNTIF(C2:C11,"pass") =COUNTIF(C2: C11,"pass") No. of fail =COUNTIF(C2:C11,"fail") =COUNTIF(C2: C11,"fail") Total of pass =SUMIF(C2:C11,"pass",B2:B11 =SUMIF(C2:C11 ,"pass",B2:B11)) Total of fail =SUMIF(C2:C11,"fail",B2: =SUMIF(C2:C11 ,"fail",B2:B11) B11)
27 E x e r c i s e – 1 2 3 4 5 6 7 8 9 10 11
67
A
B
Sl. no 1 2 3 4 5 6 7 8 9
Date 18-Oct-11 18-Oct-11 18-Oct-11 18-Oct-11 18-Oct-11 18-Oct-11 18-Oct-11 18-Oct-11 18-Oct-11
C Start Time: EmpCode SW-01 SW-02 SW-03 SW-04 SW-05 SW-06 SW-07 SW-08 SW-09
D 8:00 TimeIn 8:00 7:50 7:45 8:15 9:00 10:00 8:30 7:55 7:45
E Timeout 16:45 17:00 17:30 16:30 16:50 16:55 17:10 17:45 18:00
F EndTime Late By 0:00 0:00 0:00 0:15 1:00 2:00 0:30 0:00 0:00
G 17:00 Early By 0:15 0:00 0:00 0:30 0:10 0:05 0:00 0:00 0:00
H Break: Total Hours 8:45 9:10 9:45 8:15 7:50 6:55 8:40 9:50 10:15
I 1:00 HW 7:45 8:10 8:45 7:15 6:50 5:55 7:40 8:50 9:15
Use Time Functions to enter time = Time ( hour, minute, second ) Late By : =IF(E3<$G$1,$G$1-E3,0) =IF(E3<$G$1 ,$G$1-E3,0) Early By : =IF(E3<$G$1,$G$1-E3,0) =IF(E3<$G$1 ,$G$1-E3,0) Total Hours : =E3-D3 HW : =H3-$I$1 E x e r c i s e – 1 2 3 4 5 6 7
68 A Supplier ID SP301 SP302 SP303 SP304 SP305 SP306
B Part No. A001 A002 A003 A004 A005 A006
Software and Hardware Training Centre
C Part Name Water Pump Alternator Alternat or Air Filter Wheel bearing Muffler Oil Plan
D Part Price 68.39 380.73 15.4 35.16 160.23 101.89
E Status In Stock In Stock In Stock In Stock In Stock Out of Stock Microsoft Advanced Excel
Microsoft Advanced Excel
8 9 10 11 12 13 14 15 16
SP307 SP308 SP309 SP310
Part Name Part Price Status E x e r c i s e – 1 2 3 4 5 6 7 8 9 10 11 12 13 14
28
A007 A008 A009 A010
Brake pads Brake rotors Headlight Brake cable
Part No. Part Name Part Price Status =VLOOKUP(D13,B2:E11,2,0) =VLOOKUP(D13,B 2:E11,2,0) =VLOOKUP(D13,B2:E11,3,0) =VLOOKUP(D13,B 2:E11,3,0) =VLOOKUP(D13,B2:E11,4,0) =VLOOKUP(D13,B 2:E11,4,0)
: : :
In Stock Out of Stock In Stock In Stock
A008 Brake rotors 85.73 Out of Stock
69 A Sales Person Joseph John Josh Jamie Jackie Johnson Jonathan Jagjit Jairam Jessy Javed Jimmy Juno
B No. Customers 8 8 8 9 10 10 7 7 8 6 9 6 9
1. How many sales did John make? 2. How many customers did Jamie have? 3. What is the profit of Jessy? E x e r c i s e –
65.99 85.73 35.19 15.49
C Net Sales 1592 1088 1680 2133 1610 1540 1316 1799 1624 726 2277 714 2682
D Profit / Loss 562.772 396.9024 752.64 922.7358 579.117 569.8 427.5684 708.806 621.3424 235.8774 965.6757 220.983 1023.183 1023.1 83
1088 =VLOOKUP("John",A2:D14,3,FAL =VLOOKUP("John ",A2:D14,3,FALSE) SE) 9 =VLOOKUP("Jamie",A2:D14,2,FAL =VLOOKUP("Jamie ",A2:D14,2,FALSE) SE) 236 =VLOOKUP("Jessy",A2: =VLOOKUP("Jessy",A2:D14,4,FALSE) D14,4,FALSE)
70 A
1 2 3
Q3 Events
4
Client
5 Airspace Travel 6 Blue Jean Landscaping 7 Jump Start Computers 8 Kids for Change 9 Learn Fast College 10 Lost Revolution 11 Miami Global 12 Olson College 13 Stormy BBQ 14 Underwood College 15 University of Norwood 16 Winchester Wincheste r Web Design 17
B
C D Universal Corporate Events
Client Code AIR117 BLU135 JUM114 KID250 LEA306 LOS170 MIA185 OLS390 STO200 UND210 UNI420 WIN206
Event Date Training 28-Aug Training 14-Aug Staff Party 10-Jul Staff Party 17-Jul Training 28-Sep Team Building 14-Aug Training 17-Sep Training 5-Aug Staff Party 26-Jul Staff Party 5-Jul Team Building 30-Jun Staff Party 28-Jul
Software and Hardware Training Centre
Event
E
F
G
Salesperson
Fee
Discount
David Sutton Maria Fernandez David Sutton David Sutton Maria Fernandez Maria Fernandez Maria Fernandez Maria Fernandez David Sutton Maria Fernandez David Sutton David Sutton
325 550 450 250 175 750 480 450 550 325 750 750
Microsoft Advanced Excel
Microsoft Advanced Excel
18 19 20 21 Discount E x e r c i s e –
Fee Discount 0 0.02 200 0.03 500 0.05 =VLOOKUP(F5,$B$19:$C$21,2)
:
71
A
B
C
5 6 7 8 9 10 11 12 13 14 15 16 17
29
E
F
G
Position Instructor Instruct or Instructor Instr uctor Instructor Instruct or Instructor Instructor Instruct or Instructor Instruct or Instructor Instruct or Instructor Instruct or Director Admissions Admission s President Director Admissions Admission s
Salary 46000 45000 38500 42000 42500 50000 36000 44000 62000 31500 75000 65000 35000
Tax Rate 34% 34% 31% 34% 34% 40% 31% 34% 42% 28% 42% 42% 31%
Learn Fast College Employee Database
1 2 3 4
D
Name Ed Neal James Ellis Ken Dunwell Larry Davis Jerry Cramden Jenna Anderson Pamela Bunnel Rita Baker Drew Allen Patty Mills Dan George Barb Hill Jan Wu
ID# #2318 #2319 #2320 #2323 #2324 #2325 #2329 #2330 #1875 #2327 #2335 #1920 #2337
Ext. x222 x223 x224 x225 x335 x336 x337 x338 x226 x227 x228 x339 x340
Location St. Thomas St. Thomas St. Thomas St. Thomas London London London London St. Thomas St. Thomas St. Thomas London London
18 19
20 21 22 23 24 25 26
Tax Table Income Bracket Tax Rate 0 15.00% 22000 28.00% 35000 31.00% 40000 34.00% 48000 39.60% 62000 42.00% Tax Rate : =VLOOKUP(F5,$A$21:$B$26,2) =VLOOKUP(F5,$ A$21:$B$26,2)
E x e r c i s e –
72 A
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
B C D Tobias Bernhardt Professional Services
Customer ID# 001 002 003 004 005 006 007 008 009 010 011
Service Consulting Consulti ng Accounting Accounti ng Accounting Accounti ng Accounting Accounti ng Accounting Accounti ng Consulting Consulti ng Consulting Consulti ng Accounting Accounti ng Consulting Consulti ng Consulting Consulti ng Consulting Consulti ng
Hours 37 38 54 46 61 43 47 31 40 26 44
Rate 28 24 24 24 24 28 28 24 28 28 28
E
Total Fees 1036 912 1296 1104 1464 1204 1316 744 1120 728 1232
Rates Accounting
Software and Hardware Training Centre
24 Microsoft Advanced Excel
Microsoft Advanced Excel
Consulting 18 Rate :
28 =VLOOKUP( B4,$A$17 :$B$18 ,2)
Total Fees
Hours X Rate
E x e r c i s e –
: 73 A
1
Employee Craig McInnis James Piercey Janice Burke Marsha Drew Ruth Bowers Shannon Woodhouse Tiffany Spencer Carla Joyce James Jones Ray Peters Charles Oakley Gaza Durr Sheila Coffield
2 3 4 5 6 7 8 9 10 11 12 13 14
30
15 16 17 18 19
B C D E F G Employee Retirement Savings Contributions Department Q1 Q2 Q3 Q4 Annual Total Fundraising Fundraisi ng 100 200 0 0 300 Admin 100 0 0 100 200 HR 300 250 175 250 975 Fundraising Fundraisi ng 200 200 200 200 800 Admin 0 0 0 150 150 HR 0 0 300 300 600 Fundraising Fundraisi ng 250 250 350 250 1100 HR 250 200 150 100 700 Fundraising Fundraisi ng 180 180 180 180 720 Admin 300 0 350 200 850 Admin 65 65 65 65 260 HR 120 160 120 160 560 Fundraising Fundraisi ng 275 380 290 425 1370
H Rate 20% 10% 40% 40% 10% 30% 50% 30% 30% 40% 20% 30% 50%
Contribution Range Rate 0 to 249 10% 250 to 499 20% 500 to 749 30% 750 to 999 40% 50% 1000 and up Annual Total : = sum ( C3 : F3 ) Rate : =VLOOKUP(G3,$A$18:$C$22,3) =VLOOKUP(G3, $A$18:$C$22,3)
20 21 22
E x e r c i s e – 7 4 Name sheet 1 as Price List A 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
B Universal Corporate Events Service Price List
Description Price Increase DJ, band or other entertainment entertai nment Overall décor, lighting, floor plan and layout Selecting Selectin g theme or style Photographer, Photographer , Videographer Transportation Transport ation and lodging Venue selection Guest list management Caterer; Food, beverage, Tastings Total Package Subtotal Package Discount Total Package Price
Price Total Package Subtotal Package Discount Software and Hardware Training Centre
: : :
Old Price 10% 390 350 200 200 180 150 150 140
C
D
Price
Deposit
429 385 220 220 198 165 165 154 1,936.00 135.52 1,800.48
100 100 50 50 50 25 25 25
= B6 + B6 * $B$5 =SUM ( C6 : C13 ) = C14 * 7% Microsoft Advanced Excel
Microsoft Advanced Excel
Total Package Price : Name sheet 2 as VIP Price List
= C 14 * 93%
A
B
D
E
Price
VIP Price
Deposit
429 385 220 220 198 165 165 154
365 327 187 187 168 140 140 131 1,645.60 115.19 1,530.41
100 100 50 50 50 25 25 25
Universal Corporate Events Service Price List for VIP's
1 2 3 4
31
C
Description Old Price 5 Price Increase 10% 6 VIP Discount 15% 7 DJ, band or other entertainment 390 8 Overall décor, lighting, floor plan and layout 350 9 Selecting theme or style 200 10 Photographer, Videographer 200 11 Transportation and lodging 180 12 Venue selection 150 13 Guest list management 150 14 Caterer; Food, beverage, Tastings 140 15 VIP Package Subtotal 16 Package Discount 17 VIP Package Price Price : =B7+B7*$B$5 VIP Price : =C7-C7*$B$6 VIP Package Subtotal : = SUM (D7 : D14 ) Package Discount : = D15 * 7% VIP Package Price : = D15 * 93% E x e r c i s e – 1 2 3 4 5 6 7
B7
75 A Region Sales 1 Sales 2 Sales 3 Sales 4
B East 200 300 400 500
North
275
:
E x e r c i s e –
E South 410 420 430 440
76
A Code ABC DEF GHI JKL GHI =VLOOKUP(A7,$A$2:$C$5,3,FALSE)
:
E x e r c i s e –
D North 275 300 325 350
=HLOOKUP(A7,A1:E5,2,FALSE)
1 2 3 4 5 6 7 B7
C West 350 400 450 500
B Product Paper Lamp Desk Pencil
C Price 5.00 15.00 75.00 0.50
75.00
77 Customer Name Mahesh
Software and Hardware Training Centre
Microsoft Advanced Excel
Microsoft Advanced Excel
Question Solution E x e r c i s e –
32
: :
=CONCATENATE("Mr. ",A2)
78
Question Solution E x e r c i s e –
Pavankumar Gopal Akash Puneet Prakash Vinay Kumar Pradeep Naveen Akshay Vishal Add Mr. in front of each person’s name
: :
Customer Name Sneha Sandhya Ramya Priyanka Tejaswini Kusuma Rajeshwari Pooja Sonia Swathi Add Miss. In front of each person’s name
=CONCATENATE("Miss. ",A2)
79
Sl. No. Name Gender Customer ID 35 Mahesh Male 36 Swathi Female 37 Pavankumar Male 38 Sonia Female 39 Gopal Male 40 Pooja Female 41 Akash Male 42 Rajeshwari Female 43 Puneet Prakash Male 44 Kusuma Female 45 Vinay Kumar Male 46 Tejaswini Female 47 Pradeep Male 48 Priyanka Female 49 Naveen Male 50 Ramya Female 51 Akshay Male 52 Sandhya Female 53 Vishal Male 54 Sneha Female Question : Add Mr. or Mr. or Miss. in front of each person’s name Solution : =IF(C2="Male",CONCATENATE("M =IF(C2="Mal e",CONCATENATE("Mr. r. ",B2),CONCATENATE("Miss. ",B2),CONCATE NATE("Miss. ",B2)) Question : Assign Customer ID for each Customer Eg: Customer ID for Mahesh is CUST0035, for swathi CUST0036 Software and Hardware Training Centre
Microsoft Advanced Excel
Microsoft Advanced Excel
Solution
:
E x e r c i s e – Sl. No. 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
33
=CONCATENATE("CUST00",B2)
80
Name Mahesh Swathi Pavankumar Sonia Gopal Pooja Akash Rajeshwari Puneet Prakash Kusuma Vinay Kumar Tejaswini Tejaswin i Pradeep Priyanka Naveen Ramya Akshay Sandhya Vishal Sneha
Gender Male Female Male Female Male Female Male Female Male Female Male Female Male Female Male Female Male Female Male Female
Account No. 2122321 2122322 2122323 2122324 2122325 2122326 2122327 2122328 2122329 2122330 2122331 2122332 2122333 2122334 2122335 2122336 2122337 2122338 2122339 2122340
Amount 150 138 90 56 132 145 98 142 60 95 124 130 65 75 145 120 135 120 150 130
SMS
Question: Type sms for the following Customers DearMahesh, an amount of Rs 150 has been debited from your account no 2122321 Solution: =CONCATENATE("Dear ",B2," an amount of Rs. ",E2," has been debited from your account No. ",D2) E x e r c i s e – 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
81 A Order ID 1 2 3 4 5 6 7 8 9 10 11 12
B First Name Nishanth Manish Ajith Madhav Akshay Himanshu Anish Shubha Deeksha Ashish Aditya Sadique Minimum result Maximum result 2nd smallest result 2nd largest result The average result The middle The most frequently occurring number
Software and Hardware Training Centre
C Last Name Shetty Kumar Nadig Prasad Kumar Kumar Prakash Subra Rao Patel Kalyan Ali Khan
D Result 97 47 28 75 30 79 20 16 59 96 66 45
MIN MAX SMALL LARGE AVERAGE (MEAN) MEDIAN MODE
16 97 20 96 55 53 #N/A
Microsoft Advanced Excel
Microsoft Advanced Excel
MIN MAX SMALL LARGE
=MIN(D2:D13) =MAX(D2:D13) =SMALL(D2:D13,2) =SMALL(D2:D13,2 ) =LARGE(D2:D13,2)
E x e r c i s e –
Total Running Total E x e r c i s e –
=AVERAGE(D2:D13) =AVERAGE(D2:D13 ) =MEDIAN(D2:D13) =MODE(D2:D13)
82
A B Client Spent per Month Jan Feb Client A 274 855 Client B 586 756 Client C 669 435 Client D 197 623 Client E 421 516 Sum 2,147 3,185 Count 5 5
1 2 3 4 5 6 7 8 9
AVERAGE (MEAN) MEDIAN MODE
C
D
E
F
G
H
Mar 750 510 228 546 938 2,971 5
Apr 741 439 488 175 642 2,485 5
May 894 411 776 98 840 3,019 5
Jun 130 555 398 606 157 1,846 5
Total 3,644 3,257 2,994 2,245 3,513 15,653
Running Total 3,644 6,900 9,894 12,140 15,653
=SUM(B3:G3) =SUM($H$3:H3)
Sum Count
=SUM(B3:B7) =COUNT(B3:B7)
83
Sum Across Multiple Sheets
34
Rename the three sheets as Jan, Feb and Mar
In cell A1, a number is stored in all the sheets and we want to take a sum
Let us enter number 10 in cell A1 in all the sheets to get the output as 30
We can put the formula in any cell in any sheet Type =SUM(in =SUM(in any cell in any of the sheet in i n the workbook
Select the tab for the first sheet like Jan
Hold the shift key and then select the tab for the last sheet, Mar
Click on the specific cell i.e. cell A1 for which you want to take a sum ( you can also drag for range ) The formula would be =SUM(Jan:Mar!A1)
Then press Enter. We will get the total from cells in different sheets
E x e r c i s e –
84
Calculate a Percentage (%) Increase and Decrease A
B
C
D e
e
a a
N
DI
e e
a
N dr O
oi
ri F
ac t
ts e er aL
2
100
Aleshia
List
3
101
Mary
Carte
4
102
Larissa
Albert
5
103
Sophie
Montas
6
104
Margaret
Scheidegger
t S Inverness Drive Durham Court Williams Street Morris Street Grant
Software and Hardware Training Centre
H tc or
or
oL
u
u
D
d P
J
K
P
L es
ec
ec a
ir a
ir er
er ci
d a
I es
tc et
t
N ts
G
n
m
r
F
m
m
1
E
P e w nI %
P c
c r
e N
D
w e N
Manchester
7/4/2016
Toaster
25.99
10%
28.59
5%
24.69
Liverpool
7/6/2016
Spoon
1.99
10%
2.19
5%
1.89
Liverpool
7/13/2016
Egg Cup
3.99
10%
4.39
5%
3.79
London
7/16/2016
Tray
4.99
10%
5.49
5%
4.74
Manchester
7/16/2016
Toaster
26.99
10%
29.69
5%
25.64
Microsoft Advanced Excel
Microsoft Advanced Excel Avenue
7
105
Peter
Patricio
8
106
Sharon
Lum
9
107
Harry
Monahan
10
108
Lenny
Shadley
11
109
Sheila
Grisham
12
110
Mary
Beverley
13
111
Vera
Breece
Hillcrest
Manchester
7/18/2016
Plate
2.99
10%
3.29
5%
2.84
Liverpool
7/24/2016
Mug
5.99
10%
6.59
5%
5.69
London
7/27/2016
Mug
5.99
10%
6.59
5%
5.69
London
7/29/2016
Spoon
1.99
10%
2.19
5%
1.89
London
8/1/2016
Egg Cup
3.99
10%
4.39
5%
3.79
Birmingham
8/3/2016
Plate
2.99
10%
3.29
5%
2.84
Birmingham
8/3/2016
Plate
2.99
10%
3.29
5%
2.84
Avenue Route 1 Lawrence Street Garfield Avenue Pleasant Street Sherwood Drive Chestnut Street
New Price New Price E x e r c i s e –
=H2*(1+I2) =H2*(1-K2)
85
RANK - Find the rank of a value in a list A
B
C
D
E
Order ID 1
First Name Aleshia
Last Name List
Result 97
Rank 1
3 4
2
Mary
Carte
47
7
3
Larissa
Albert
28
10
5
4
Sophie
Montas
75
4
6
5
Margaret
Scheidegger
30
9
7
6
Peter
Patricio
79
3
8
7
Sharon
Lum
20
11
9
8
Harry
Monahan
16
12
10
9 10
Lenny Sheila
Shadley Grisham
59 96
6 2
11
Mary
Beverley
66
5
Vera
Breece
45
8
1 2
35
11 12 13
12 =RANK(D2,$D$2:$D$13) E x e r c i s e –
86
Data Manipulation CONCATENATE A
1
B
C
D
e a ts ts
ll
a
m
e a
m
e
E
m DI N
2
G1212
Aleshia
List
3
G8123
Mary
Carte
4
G3078
Larissa
Albert
5
G1384
Sophie
Montas
6
G9335
Margaret
Scheidegger
Software and Hardware Training Centre
eL N
aL F
G t R
ef
F
u
H ec
I
h er
d e
F
a R
e
K
L e
r
gi
J
hc n
tf
N ri
F
S
ni
m
e ts
N
m
n
a a N eL F
ri
ts aL
Microsoft Advanced Excel
Microsoft Advanced Excel
7
G7340
Peter
Patricio
8
G2394
Sharon
Lum
9
G2341
Harry
Monahan
10
G9483
Lenny
Shadley
11
G2395
Sheila
Grisham
12
G0483
Mary
Beverley
13
G8492
Vera
Breece
Full Name
=CONCATENATE(B2," =CONCATENATE(B 2," ",C2)
Left
=LEFT(B2,3)
Right
=RIGHT(A2,4)
Reference
=CONCATENATE(E2,F2)
Search
=SEARCH(" ",D2)
Find
=FIND("G",A2)
Len
=LEN(D2)
First Name
=LEFT(D2,SEARCH(" =LEFT(D2, SEARCH(" ",D2) – 1)
Last Name
=RIGHT(D2,LEN(D2) =RIGHT(D2,L EN(D2) – SEARCH(" ",D2))
E x e r c i s e –
36
87
1 2
ID G1212
A First Name Aleshia
3
G8123
Mary
Carte
4
G3078
Larissa
Albert
5
G1384
Sophie
Montas
6
G9335
Margaret
Scheidegger
7
G7340
Peter
Patricio
8
G2394
Sharon
Lum
9
G2341
Harry
Monahan
10
G9483
Lenny
Shadley
11
G2395
Sheila
Grisham
12
G0483
Mary
Beverley
13
G8492
Vera
Breece
Upper Lower Email Username
E x e r c i s e –
B Last Name List
C Upper
D Lower
E Email
F Username
=UPPER(B2) =LOWER(B2) =CONCATENATE(LEFT(LOWER(B2),1),".",LOWER(C2),"@domain.co.uk") =LEFT(F2,SEARCH("@",F2)-1)
88 A
B
Software and Hardware Training Centre
C
D
E
F
G
H
I
J
K
L
M
Microsoft Advanced Excel
Microsoft Advanced Excel n dr
ac
N498 N234 N378 S434 N847 N849 N394 S940 S645 S234 M495 M473
E x e r c i s e –
or C P
dl e yt
P
2.99 1.99 3.99 4.99 5.66 2.99 5.99 5.99 1.99 3.99 2.99 2.99
d S R
n r et
? o
i d
Manchester Car red Liverpool Truck red Liverpool Car blue London Car grey Manchester Car green Manchester Truck yellow Liverpool Car blue London Van orange London Van pink London Car blue Birmingham Van green Birmingham Car yellow
Red Car Greater than 20 Or And Calculation IFERROR Nested IF
37
or
u ol
d oL
O
o
u
r e
u
tc r
iot
1
2 3 4 5 6 7 8 9 10 11 12 13
tc
DI
?r
R a
a C
er G
oi R
FI
uc
R
R et
t D
d
al N A
E l a C
FI
s e N
30 63 72 0 49 19 38 o 20 45 34 12
=IF(D2="Red","Yes","No") =IF(C2<>"Car","Other","Car") =IF(F2>20,"Yes","No") =IF(F2>20,"Yes","No") =IF(OR(C2="Car",F2>20),"Discount","Standard") =IF(AND(C2="Car",F2>20),"Discount","Standard") =IF(C2="Car",E2*F2,0) =IFERROR(E2*F2,0) =IF(C2="Car","Car",IF(F2>3 =IF(C2="Car","Car",IF(F2>30,"Investigate 0,"Investigate","Other")) ","Other"))
89
Counting A 1
B
C Product
Colour
E
F
G
H
Qty Sold 30
ManchesterCarred ManchesterCarred
2
Order ID N498
Manchester
Car
red
Product Price 2.99
3
N234
Liverpool
Truck
red
1.99
63
LiverpoolTruckred
4 5
N378 S434
Liverpool London
Car Car
blue green
3.99 4.99
72 0
LiverpoolCarblue LondonCargreen LondonCargreen
6
N847
Manchester
Car
green
5.66
49
ManchesterCargreen ManchesterCargreen
7
N849
Manchester
Truck
yellow
2.99
19
ManchesterTruckyellow ManchesterTruckyellow
8
N394
Liverpool
Car
blue
5.99
38
LiverpoolCarblue
9 10
S940 S645
London London
Van Van
red blue
5.99 1.99
0 20
LondonVanred LondonVanblue
11
S234
London
Car
blue
3.99
45
LondonCarblue
12
M495
Birmingham
Van
green
2.99
34
BirminghamVangreen BirminghamVa ngreen
13
M473
Birmingham
Car
yellow
2.99
12
BirminghamCaryellow BirminghamCaryellow
14
Location
D
12
12
17 18
Car Truck
7 2
19
Van
3
Unique Lookup Column
15 16
20
12
TRUE
21 Software and Hardware Training Centre
Microsoft Advanced Excel
Microsoft Advanced Excel
22 23
Orders over 20 units Orders that aren't for cars
7 5
24
Orders that start with 'N'
6
Orders for items in first half alphabet Orders for items in second half alphabet
7
25 26 27 28
5 12
TRUE
29 30
The number of orders that are above average The number of orders that are below average
31 32
6 6 12
TRUE
33 34 35
Car Car
red blue
1 3
36 37
Car Car
green yellow
2 1
38
7
39
38
40
Manchester
Car
red
1
41
Manchester
Car
blue
0
42 43
Manchester Manchester
Car Car
green yellow
1 0
44
2 H2 C14 F14 C17 C18 C19 F20 G20 F22 F23 F24 F26 F27 F28 G28 F30 F31 F32 G32 F34 F35 F36 F37 F38 F40
=CONCATENATE(B2,C2,D2:D2) =COUNTA(C2:C13) =COUNT(F2:F13) =COUNTIF($C$2:$C$13,$C17) =COUNTIF($C$2:$C$13,$C18) =COUNTIF($C$2:$C$13,$C19) =SUM(F17:F19) =F20=F14 =COUNTIF(F2:F13,">20") =COUNTIF(C2:C13,"<>Car") =COUNTIF(A2:A13,"N*") =COUNTIF(C2:C13,"=n") =SUM(F26:F27) =F28=F14 =COUNTIF(F2:F13,"<"&AVERAGE(F2:F13)) =COUNTIF(F2:F13,">"&AVERAGE(F2:F13)) =SUM(F30:F31) =F32=F14 =COUNTIFS($C$2:$C$13,$C34,$D$2:$D$13,$D34) =COUNTIFS($C$2:$C$13,$C35,$D$2:$D$13,$D35) =COUNTIFS($C$2:$C$13,$C36,$D$2:$D$13,$D36) =COUNTIFS($C$2:$C$13,$C37,$D$2:$D$13,$D37) =SUM(F34:F37) =COUNTIF($H$2:$H$13,CONCATENATE(B40,C40,D40))
Software and Hardware Training Centre
Microsoft Advanced Excel
Microsoft Advanced Excel
F41 F42 F43 F44
=COUNTIF($H$2:$H$13,CONCATENATE(B41,C41,D41)) =COUNTIF($H$2:$H$13,CONCATENATE(B42,C42,D42)) =COUNTIF($H$2:$H$13,CONCATENATE(B43,C43,D43)) =SUM(F40:F43)
E x e r c i s e –
90
SUMIFS 1 2 3 4 5 6 7 8 9 10 11 12 13
39
A Order ID N498 N234 N378 S434 N847 N849 N394 S940 S645 S234 M495 M473
B
C
D
Location
Product
Colour
Manchester Liverpool Liverpool London Manchester Manchester Liverpool London London London Birmingham Birmingham
Car Truck Car Car Car Truck Car Van Van Car Van Car
red red blue green green yellow blue red blue blue green yellow
E Product Price 2.99 1.99 3.99 4.99 5.66 2.99 5.99 5.99 1.99 3.99 2.99 2.99
14
F Qty Sold 30 63 72 0 49 19 38 0 20 45 34 12
G Total Price 89.70 125.37 287.28 0.00 277.34 56.81 227.62 0.00 39.80 179.55 101.66 35.88 1,421.01
H
I Unique Lookup Column ManchesterCarred ManchesterCarred LiverpoolTruckred LiverpoolCarblue LondonCargreen ManchesterCargreen ManchesterCargreen ManchesterTruckyellow ManchesterTruckyellow LiverpoolCarblue LondonVanred LondonVanblue LondonCarblue BirminghamVangreen BirminghamV angreen BirminghamCaryellow BirminghamC aryellow
15
Car Truck Van
16 17 18
1,097.37 182.18 141.46 1,421.01 True
19 20
Car Car Car Car
21 22 23 24
red blue green yellow
25
89.70 694.45 277.34 35.88 1,097.37 True
26 27 28 29 30
Manchester Manchester Manchester Manchester
Car Car Car Car
red blue green yellow
31
Total Price Unique Lookup Column G14 G16 G17 G18 G19 H19 G21
89.70 0.00 277.34 0.00 367.04
E2 * F2 =CONCATENATE(B2,C2,D2) =SUM(G2:G13) =SUMIF($C$2:$C$13,$C16,$G$2:$G$13) =SUMIF($C$2:$C$13,$C17,$G$2:$G$13) =SUMIF($C$2:$C$13,$C18,$G$2:$G$13) =SUM(G16:G18) =G19=G14 =SUMIFS($G$2:$G$13,$C$2:$C$13,$C21,$D$2:$D$13,$D21)
Software and Hardware Training Centre
Microsoft Advanced Excel
Microsoft Advanced Excel
G22 G23 G24 G25 H25 G27 G28 G29 G30 G31
=SUMIFS($G$2:$G$13,$C$2:$C$13,$C22,$D$2:$D$13,$D22) =SUMIFS($G$2:$G$13,$C$2:$C$13,$C23,$D$2:$D$13,$D23) =SUMIFS($G$2:$G$13,$C$2:$C$13,$C24,$D$2:$D$13,$D24) =SUM(G21:G24) =G25=G16 =SUMIF($I$2:$I$13,CONCATENATE(B27,C27,D27),$G$2:$G$13) =SUMIF($I$2:$I$13,CONCATENATE(B28,C28,D28),$G$2:$G$13) =SUMIF($I$2:$I$13,CONCATENATE(B29,C29,D29),$G$2:$G$13) =SUMIF($I$2:$I$13,CONCATENATE(B30,C30,D30),$G$2:$G$13) =SUM(G27:G30)
E x e r c i s e –
91
Lookups A 1
40
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
Order ID N498 N234 N378 S434 N847 N849 N394 S940 S645 S234 M495 M473
B
C
D
Location
Product
Colour
Manchester Liverpool Liverpool London Manchester Manchester Liverpool London London London Birmingham Birmingham
Car Truck Car Car Car Truck Car Van Van Car Van Car
red red blue green green yellow blue red blue blue green yellow
E
F
Product Price 2.99 1.99 3.99 4.99 5.66 2.99 5.99 5.99 1.99 3.99 2.99 2.99
Qty Sold 30 63 72 0 49 19 38 0 20 45 34 12
G Total Price 89.70 125.37 287.28 0.00 277.34 56.81 227.62 0.00 39.80 179.55 101.66 35.88 1,421.01
H
I Concatenate ManchesterCarred LiverpoolTruckred LiverpoolCarblue LondonCargreen ManchesterCargreen ManchesterTruckyellow LiverpoolCarblue LondonVanred LondonVanblue LondonCarblue BirminghamVangreen BirminghamCaryellow
J Product Price 2.99 1.99 3.99 4.99 5.66 2.99 5.99 5.99 1.99 3.99 2.99 2.99
N847 Location
Manchester
Product
Car
Colour
Green
Price
5.66
Location
London
Product
Car
Colour
Green
Price
4.99
Total Price Concatenate Product Price B17 B18 B19 B20 B25
=E2*F2 =CONCATENATE(B2,C2,D2) =E2 =VLOOKUP($B$16,$A$1:$G$14,2,FALSE) =VLOOKUP($B$16,$A$1:$G$14,3,FALSE) =VLOOKUP($B$16,$A$1:$G$14,4,FALSE) =VLOOKUP($B$16,$A$1:$G$14,5,FALSE) =VLOOKUP(CONCATENATE(B22,B23,B24),$I$1:$J$14,2,FALSE)
Software and Hardware Training Centre
Microsoft Advanced Excel