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.

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.

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 →