EXERCISE TOPIC▼
- Access exercises (91)
- C# exercises (79)
- Excel exercises (278)
- Power Apps exercises (13)
- Power Automate exercises (18)
- Power BI exercises (139)
- Power Platform exercises ()
- Python exercises (28)
- Report Builder exercises (141)
- SQL exercises (198)
- SSAS exercises (51)
- SSIS exercises (46)
- SSRS exercises (99)
- VBA exercises (85)
- Visual Basic exercises (46)
EXCEL EXERCISES▼
EXCEL EXERCISES▼
- Excel basics (1)
- Creating formulae (5)
- Formatting worksheets (9)
- Basic printing (8)
- Charts (10)
- Absolute references (9)
- Range names (13)
- Conditional formulae (17)
- Conditional formatting (7)
- Basic tables (6)
- Formatting numbers and dates (3)
- Working with dates (1)
- Data validation (6)
- Protection (1)
- Advanced IFs (6)
- Lookup functions (14)
- Advanced lookup functions (9)
- Text functions (1)
- Advanced charts (4)
- Multiple worksheets (1)
- Advanced tables (2)
- Pivot tables (3)
- Advanced pivot tables (3)
- Scenarios (2)
- Data tables (2)
- Array formulae (2)
- Building models (2)
- Masking (2)
- Cashflow calculations (1)
- Investment appraisal (1)
Excel | Advanced IFs exercise | Using Nested IF for Test Results
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 ==> | Harder than average |
Subject ==> | Excel training |
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.

Do not be fooled by the pretty colours. This exercise is not for the faint-hearted!
We want to calculate the test result status. There are 3 possible results, as shown in this screen shot:

Depending on the data for a result, your formula should return either a calculation of how close the test result is to the maximum allowed value, the word INVALID or the message Not Test 1 or 2.
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.
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 =IF function.
Here are what your answers should resemble:

It might be best to also use =ROUND!
Use Save As... to save the file in your own new Excel work folder.