- 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 | Conditional formulae exercise | Beetle Length - Single IF with Concatenation
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.
You can learn how to do this exercise if you attend one of more of the courses listed below!
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 create a formula that uses =IF to display a test message about the length of each beetle in our field study of the school playing fields:
The message in column C should be SHORT or LONG.
In cell C4, create a formula using =IF to calculate the following:
- If the beetle length > average in cell B21, set the text message to LONG
- If length is shorter, set the text message to SHORT
Copy the formula down to the rest of column C to calculate all the other messages.
Change the length of the sample in cell B4 to 50.2 (this would be an alien monster beetle!). This will pull the average up and change many messages to SHORT.
If you like a challenge, have a go at creating a formula using =IF in cell D4 to display a message that calculates how much longer than average the beetle is:
- If the beetle length is LONG your message should say This sample is x.xx longer than average
- The cell should be blank if beetle is not LONG.
Change the length of the sample in cell B4 to 20.7 to check that your =IF formula works:
You will need to use the & (concatenate) symbol to display the text and the formula result.
Use Save As... to save the file in your own new Excel work folder.