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.

The answer to the exercise will be included and explained if you attend one of more of the courses listed below!

Software ==> Excel  (146 exercises)
Version ==> Excel 2016 and later
Topic ==> Conditional formulae  (16 exercises)
Level ==> Harder than average
Courses ==> Excel Business Modelling  /  Excel Intermediate
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 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:

Using =IF for text messages

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:

Using =IF with concatenate for text messages

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.

This page has 0 threads Add post