# Excel | Conditional formulae exercise | Using =IF to Calculate Sales Commission

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 ==> Conditional formulae  (17 exercises) Level ==> Relatively easy 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 commission for all the sales reps in Column C:

We need to use an =IF commission to calculate the commission.

In cell C4 create an =IF function to calculate the commission.  Use the following to help you:

• If the sales in column B >= 30000, commission rate is 20%
• Sales anything less, commission rate is 1%

Don't forget to set up range names for the input cells in column F

Copy the commission rate formulae down column C to calculate all the other reps' commissions.

Change your commission rate input cells in column F to check that your =IF function is working correctly:

When you change the input cells in column F the commission will change.

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

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