IF

Returns one value when a test is true and another when it is false.

Syntax

IF(logical_test, value_if_true, value_if_false)

Logical Functions.

Practise IF13 interactive exercises, free, no account needed

Need the formula for your own sheet? Use the IF Formula Generator

A worked example

=IF(D2>=1,"Met","Below")

Returns Below

Returns Met when achievement is 100% or more, otherwise Below.

Where it goes wrong

Comparing a percentage-formatted cell against 100 rather than 1. The cell displays 95% but holds 0.95, so >=100 is never true.

What the exercises catch

Each of these is a wrong turn the practice exercises recognise and name. They are the misconceptions, not the answers.

Practise IF

Knowing what a function does and being able to write it from memory are different skills. These close the gap.

All IF practice exercises →

Who practises IF