0% found this document useful (0 votes)
39 views7 pages

Exercise 2

Here are the formulas using SUMIF and SUMIFS to calculate conditional sums from the sales data: =SUMIF(A2:A7,"Juliette",B2:B7) =SUMIF(B2:B7,">80") =SUMIF(B2:B7,"<40") =SUMIFS(B2:B7,A2:A7,"Rory",B2:B7,"<50") =SUMIFS(B2:B7,A2:A7,"Sam",B2:B7,">70")

Uploaded by

yingxuennn1204
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views7 pages

Exercise 2

Here are the formulas using SUMIF and SUMIFS to calculate conditional sums from the sales data: =SUMIF(A2:A7,"Juliette",B2:B7) =SUMIF(B2:B7,">80") =SUMIF(B2:B7,"<40") =SUMIFS(B2:B7,A2:A7,"Rory",B2:B7,"<50") =SUMIFS(B2:B7,A2:A7,"Sam",B2:B7,">70")

Uploaded by

yingxuennn1204
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 7

Footballer Salary p.m.

Yellow Cards Red Cards Action to take


Wayne Rooney £85,000 8 0 No Action
Robin van Persie £87,500 4 0 No Action
Lionel Messi £92,300 18 2 1846
Cristiano Ronaldo £98,600 25 6 1972
Fernando Torres £74,500 7 0 No Action
Gareth Bale £38,000 3 0 No Action
David Silva £46,400 5 1 No Action
Frank Lampard £64,500 14 2 1290
Carlos Tevez £78,300 58 19 7830
Didier Drogba £66,350 12 2 1327
1

2 Try the same exercise, but by using the IFS function.


D&Q Staff Bonuses

No
Employee Customers Bonus
Helped
Emily Smith 15 no bonus If no customers >= 50 get £100 per cust helped
Dan Jonesman 23 no bonus If no cusomers is 50-25 get £50 per cust helped
Fred Brown 41 2050 If no customers is less than 25 "no bonus" message in cell
Dora McTavish 18 no bonus
Patrick O'Leary 7 no bonus High Threshold 50
Dawn Taylor 51 5100 Med Threshold 25
Penny Joyce 22 no bonus Top Bonus £100.00
Ian Frankley 19 no bonus Med Bonus £50.00
Jeff O'Brien 37 1850 Low Bonus No Bonus
William Jones 34 1700
Jan Week 1 Sales Figs for Midlands Team

Name No. Sales


Juliette 54
Rory 27
Sam 39
Juliette 88
Juliette 39
Sam 96

COUNT 0 6 (see the difference when you remove da


COUNTA 6 6 (see the difference when you remove da

IF name is Sam IF sales>60


COUNTIF 2 2

If name >K and sales >30 If name is Sam and sales >50
COUNTIFS 2 1
40

(see the difference when you remove data from both cols)
(see the difference when you remove data from both cols)

IF sales<40
3

If name is Juliette and sales >50


2
Jan Week 1 Sales Figs for Midlands Team
Name No. Sales
Juliette 54
Rory 27
Sam 39
Juliette 88
Juliette 39
Sam 96
SUM 0 343
IF name is Juliette IF sales>80 IF sales<40
SUMIF 0 184 105

If name is Rory and sales <50 If name is Sam and sales >70
SUMIFS 27 96

You might also like