0% found this document useful (0 votes)
46 views3 pages

Advance IFs

The document outlines a series of Excel activities focused on creating nested IF formulas for various scenarios, including calculating parking charges, staff bonuses, bulk buy discounts, and test result statuses. Each activity requires users to implement specific conditions and formulas to derive results based on given data. The final outputs must be saved in designated worksheets within the same workbook.

Uploaded by

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

Advance IFs

The document outlines a series of Excel activities focused on creating nested IF formulas for various scenarios, including calculating parking charges, staff bonuses, bulk buy discounts, and test result statuses. Each activity requires users to implement specific conditions and formulas to derive results based on given data. The final outputs must be saved in designated worksheets within the same workbook.

Uploaded by

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

Excel Activity 09: ADVANCE IFS

Worksheets should be saved within the same workbook

ADVANCE IFS 01
1. Open the file contained within the folder with file name Car Parking Nested IF.
Car Parking Charges

No Hours Parking
Car Reg
Parked Charge If park >8 hours pay £1 pr hr
DA12 NEJ 6 If park >5 hours pay £1.50 pr hr
MA16 BVW 12 Anything less "Free Parking"
DD11 SFD 8
MA14 NHG 11 Threshold1 8
YK14 BHH 5 Threshold2 5
DY15 FLB 3 Long Hour Fee £1.00
MM12 SWL 12 Med Hour Fee £1.50
MA16 GKW 7
FS12 DSD 1
DA11 SBM 6

We need to use a nested =IF function because there are two conditions.

2. In cell C4, create a nested =IF formula that either calculates the parking charges or
displays the message Free Parking. Use these rules to help you:
• If the hours parked > 8, the driver should pay £1 per hour
• If the hours parked >5, the driver should pay £1.50 per hour
• Anything less should display Free Parking

A nested =IF function uses the following structure:


=IF(Condition1, True1, False2, IF(Condition2, True2, False2))
3. Change your parking thresholds and parking fees to check that your formula works:

Car Parking Charges

No Hours Parking
Car Reg
Parked Charge If park >8 hours pay £1 pr hr
DA12 NEJ 6 £18.00 If park >5 hours pay £1.50 pr hr
MA16 BVW 12 £24.00 Anything less "Free Parking"
DD11 SFD 8 £16.00
MA14 NHG 11 £22.00 Threshold1 6
YK14 BHH 5 £15.00 Threshold2 3
DY15 FLB 3 Free Parking Long Hour Fee £2.00
MM12 SWL 12 £24.00 Med Hour Fee £3.00
MA16 GKW 7 £14.00
FS12 DSD 1 Free Parking
DA11 SBM 6 £18.00
Only the cars parked for 3 hours or less get free parking
4. Save the file with sheet name ADVANCE IFS 01

ADVANCE IFS 02
1. Open the file contained in the folder with file name Nested IF Staff Bonuses
D&Q Staff Bonuses
No
Employee Customers Bonus
Helped
Emily Smith 15 If no customers >= 50 get £100 per cust helped
Dan Jonesman 23 If no cusomers is 50-25 get £50 per cust helped
Fred Brown 41 If no customers is less "no bonus" message in cell
Dora McTavish 18
Patrick O'Leary 7 High Threshold 50
Dawn Taylor 51 Med Threshold 25
Penny Joyce 22 Top Bonus £100.00
Ian Frankley 19 Med Bonus £50.00
Jeff O'Brien 37 Low Bonus No Bonus
William Jones 34

2. In cell C4, create a nested =IF formula to calculate the staff bonus for each staff
member. Use this to help you:
• If the number of customers helped >=50 the staff member gets £100 * the
number of customers helped
• If the number of customers helped >=25 they get £50 * the number of
customers helped
• If the number of customers helped was any less, a message in the cell says No
bonus
3. Lower the thresholds in cells F8 and F9 and the bonus percentage rates to check that
your formula works:

D&Q Staff Bonuses


No
Employee Customers Bonus
Helped
Emily Smith 15 No Bonus If no customers >= 50 get 25% bonus
Dan Jonesman 23 1150 If no cusomers is 50-25 get 10% bonus
Fred Brown 41 4100 If no customers is less "no bonus"
Dora McTavish 18 900
Patrick O'Leary 7 No Bonus High Threshold 35
Dawn Taylor 51 5100 Med Threshold 18
Penny Joyce 22 1100 Top Bonus £100.00
Ian Frankley 19 950 Med Bonus £50.00
Jeff O'Brien 37 3700 Low Bonus No Bonus
William Jones 34 1700

4. Rename the sheet to Advance Ifs 02

Advance IFS 03
1. Open the file contained in the folder with file name Nested IF TuckShop Sales
We want to calculate the bulk buy discounts:
Cheeky Charlie's School Tuckbox Sales - Class 4A Sales

Cost
Bulk Buy
Item Price Quantity Before Class Cost
Discount
Discount
Mars Bars £1.00 8 £8.00 £8.00 Discounts for Bulk Buy
Twix £1.00 5 £5.00 £5.00
Bounty Bar £1.00 6 £6.00 £6.00 If buy >= 20 get 10% discount
Gazillions Tub £1.50 12 £18.00 £18.00 If buy >=10 get 5% discount
Maltesers £1.00 1 £1.00 £1.00 Anhything less no discount
Walkers Crisps £0.75 15 £11.25 £11.25
Salted Peanuts £1.50 8 £12.00 £12.00 Threshold1 20
Chewing Gum £0.75 5 £3.75 £3.75 Threshold2 10
Nutella Bar £2.00 4 £8.00 £8.00 High Discount 10%
Polo Mints £0.50 4 £2.00 £2.00 Low Discount 5%
Muesli Bar £2.00 1 £2.00 £2.00
Maths Test Answers £5.00 25 £125.00 £125.00
CLASS TOTALS £18.00 94 £0.00 £202.00

Some sales will qualify for 10% discount, some 5%, some none.

2. In cell E4, create a nested =IF formula that calculates the correct bulk buy discount
percentage. Use the following guide to help you:
• If the quantity >=20 the customer should get 10%
• If the quantity >=10 the customer should get 5%
• For anything less the customer should get no discount

A nested =IF function uses the following structure:


=IF(Condition1, True1, False2, IF(Condition2, True2, False2))
3. Lower the order thresholds and change the discount percentages to check that your
formula works:

4. Rename the worksheet to Advance IFS 03

ADVANCE IFS 04
1. Open the file contained in the folder with file name Scientific Test Results Nested IF
Camberly Scientific Services Lab Test Results for Samples 151 - 170

Sample Test Result Test Status If it was test 1 use test 1 min/max
151/A5 1 0.004660 If test 2 use test 2 min/max
158/F7 4 0.009980
159/G1 2 0.000331 Test 1 Min 0.00451
159/T3 1 0.004660 Test 1 Max 0.00483
162/R8 6 0.000392 Test 2 Min 0.000389
162/W1 1 0.000399 Test 2 Max 0.000407
165/K7 1 0.004630
165/M4 2 0.004630 Careful - what if test is not 1 or 2?
165/P5 3 0.000408 Message to say "not Test 1 or 2"

Do not be fooled by the pretty colours. This exercise is not for the faint-hearted!

2. We want to calculate the test result status. There are 3 possible results, as shown in
this screen shot:

3. In cell D4, create a nested =IF formula that does the following:
• Checks that it is Test 1 or Test 2 (if not, the formula should return the
text Not Test 1 or Test 2)
• Checks that the value is between the minimum and maximum for that test. If it
is between the minimum and maximum for the test, the formula should
calculate how close it is to the maximum value - otherwise, it should display
the message INVALID.
4. To do this, write down all the conditions and work out how many =IF conditions you
need to nest (this should help you), then create your formula and copy it down the
rest of the column.
Where you have 2 conditions which must be met, use the =AND function in conjunction
with your =IFfunction.
5. Here are what your answers should resemble:
Camberly Scientific Services Lab Test Results for Samples 151 - 170

Sample Test Result Test Status If it was test 1 use test 1 min/max
151/A5 1 0.004660 Result is 0.00017 from max value If test 2 use test 2 min/max
158/F7 4 0.009980 Not Test 1 or Test 2
159/G1 2 0.000331 Result INVALID Test 1 Min 0.00451 Results must be >=
159/T3 1 0.004660 Result is 0.00017 from max value Test 1 Max 0.00483 Results must be <=
162/R8 6 0.000392 Not Test 1 or Test 2 Test 2 Min 0.000389 Results must be >=
162/W1 1 0.000399 Result INVALID Test 2 Max 0.000407 Results must be <=
165/K7 1 0.004630 Result is 0.000200000000000001 from max value
165/M4 2 0.004630 Result INVALID Careful - what if test is not 1 or 2?
165/P5 3 0.000408 Not Test 1 or Test 2 Message to say "not Test 1 or 2"

6. Rename the sheet to Advance IFS 05

You might also like