IF Function Practice: Display an Ice Alert

Reading time: 3 minutes

The IF function is the most used decision function in Excel. It does one simple thing: it reads the result of a logical test, TRUE or FALSE, and returns one value or another. Many beginners write IF without understanding this, and get lost as soon as the formula grows. If you can write the test first, the IF becomes easy.

This short exercise is the best place to start: you build the test, then you put it inside an IF.

What you will practice in this exercise

You work on a list of daily temperatures. You answer 4 questions, one formula per question:

  • Is the temperature 3 °C or less? (logical test)
  • Fill the test down the column (relative reference)
  • Display “Ice alert” when the temperature is below 3 °C (IF function)
  • Fill the IF down the column (fill handle)

Practice with exercises

if temperature quiz15

IF Function Exercise - Ice alert based on temperature

Build a simple weather alert: a logical test (temperature ≤ 3°C), then an IF function that displays a message — 4 guided steps, write the formula then fill it down.

Write the test in cell C2

1 / 4

In C2, write a logical test that checks whether the temperature is lower than or equal to 3 °C.

IF ice — Q1 · 169

2 / 4

Fill the test down (column C)

IF ice — Q2 · 170

Write the IF function in cell D2

3 / 4

In D2, write an IF function that displays "Ice alert" if the temperature is lower than or equal to 3 °C, and nothing otherwise.

IF ice — Q3 · 171

4 / 4

Fill the IF down (column D)

IF ice — Q4 · 172

Your score is

0%

Related articles

Excel exercises: practice online with instant correction

All the exercises in this series are based on real cases found on Excel forums. Each one answers a question that Excel users really ask.

Leave a Reply

Your email address will not be published. Required fields are marked *

IF Function Practice: Display an Ice Alert

Reading time: 3 minutes

The IF function is the most used decision function in Excel. It does one simple thing: it reads the result of a logical test, TRUE or FALSE, and returns one value or another. Many beginners write IF without understanding this, and get lost as soon as the formula grows. If you can write the test first, the IF becomes easy.

This short exercise is the best place to start: you build the test, then you put it inside an IF.

What you will practice in this exercise

You work on a list of daily temperatures. You answer 4 questions, one formula per question:

  • Is the temperature 3 °C or less? (logical test)
  • Fill the test down the column (relative reference)
  • Display “Ice alert” when the temperature is below 3 °C (IF function)
  • Fill the IF down the column (fill handle)

Practice with exercises

if temperature quiz15

IF Function Exercise - Ice alert based on temperature

Build a simple weather alert: a logical test (temperature ≤ 3°C), then an IF function that displays a message — 4 guided steps, write the formula then fill it down.

Write the test in cell C2

1 / 4

In C2, write a logical test that checks whether the temperature is lower than or equal to 3 °C.

IF ice — Q1 · 169

2 / 4

Fill the test down (column C)

IF ice — Q2 · 170

Write the IF function in cell D2

3 / 4

In D2, write an IF function that displays "Ice alert" if the temperature is lower than or equal to 3 °C, and nothing otherwise.

IF ice — Q3 · 171

4 / 4

Fill the IF down (column D)

IF ice — Q4 · 172

Your score is

0%

Related articles

Excel exercises: practice online with instant correction

All the exercises in this series are based on real cases found on Excel forums. Each one answers a question that Excel users really ask.

Leave a Reply

Your email address will not be published. Required fields are marked *