# Excel | Advanced IFs exercise | Tuck Shop Discounts Nested IF

This exercise is provided to allow potential course delegates to choose the correct Wise Owl Microsoft training course, and may not be reproduced in whole or in part in any format without the prior written consent of Wise Owl.

 Software ==> Excel  (151 exercises) Version ==> Excel 2016 and later Topic ==> Advanced IFs  (6 exercises) Level ==> Average difficulty Subject ==> Excel training
Before you can do this exercise, you'll need to download and unzip this file (if you have any problems doing this, click here for help).

You need a minimum screen resolution of about 700 pixels width to see our exercises. This is because they contain diagrams and tables which would not be viewable easily on a mobile phone or small laptop. Please use a larger tablet, notebook or desktop computer, or change your screen resolution settings.

Open the file contained within the folder name shown above.

We want to calculate the bulk buy discounts:

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

In cell E4, create a nested =IF that calculates the correct bulk buy discount percentage.  Use this to help you:

• If quantity >=20 the customer should get 10%
• If quantity >=10 the customer should get 5%
• Anything less the customer should get no discount

Remember the nested =IF function has the following structure:

=IF(Condition1, True1, False1
is IF(Condition2, True2, False2))

Lower the order thresholds and change the discount percentages to check that your formula works:

When you lower the thresholds, a few more items get discounts.

Use Save As... to save the file in your own new Excel work folder.

You can unzip this file to see the answers to this exercise, although please remember this is for your personal use only.
This page has 0 threads