Logical

IF

Choose between two results based on a test.

Syntax

=IF(logical_test, value_if_true, [value_if_false])

Worked example

Choose a result for a score against a pass mark of 70.

=IF(72>=70,"Pass","Retry")

Result Pass

Microsoft documentation

Check the arguments, supported editions and behavior of this function in Microsoft’s reference.

Microsoft reference

Search ExcelTutor