Flag reps below target with IF
Use IF to label each rep as meeting or missing their target.
IF
Returns one value when a test is true and another when it is false. Below are 13 interactive exercises that put it to work on realistic business data — you write the formula, and get told exactly what went wrong when it does not work.
IF(logical_test, value_if_true, value_if_false)
Need a refresher? Learn IF — syntax, a worked example and where it goes wrong.
Ordered from most approachable to hardest.
Use IF to label each rep as meeting or missing their target.
IF
Mark an order when either of two independent conditions is true.
OR · IF
Return one of three labels depending on where a value falls.
IF
Require two conditions to be true at once.
IF · AND
Combine date arithmetic with a conditional label.
IF · TODAY
Combine two logical tests so one condition can override the other.
AND · OR · IF
Find rows whose order number appears more than once in the column.
COUNTIF · IF
Guard a division so cancelled lines do not fill the report with errors.
IF
Diagnose and correct a formula that returns the wrong answer.
IF
Use COUNTIF to reconcile two lists and spot what is absent.
COUNTIF · IF
Match two lists where one side has trailing spaces you cannot see.
COUNTIF · IF
Check whether a salary falls below or above its grade band.
OR · IF
Mark a campaign only when it overspends by more than a tolerance.
IF
Returns one value when a test is true and another when it is false. It belongs to the logical functions family, and it shows up constantly in real work — which is why it is worth being genuinely fluent rather than merely familiar.
Reading about a function is not the same as being able to write it. The exercises on this page exist because the gap between recognising IF and producing it from memory, correctly, on data you have not seen before, only closes by doing it.