# Excel | Advanced IFs exercise | Staff Bonuses text and Formulae - 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 in the folder named above.

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 * no of customers helped
• If the number of customers helped >=25 they get £50 * no customers helped
• If the number of customers helped was any less, a message in the cell says No bonus

Here's what the resulting worksheet should look like:

Not everyone gets a bonus, sadly!

Remember the nested =IF function has the following structure:

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

Lower the thresholds in cells F8 and F9 and the bonus percentage rates to check that your formula works:

Most people get a bonus when you lower the thresholds - hurrah!

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.