Skip to main content
FlightDeck

Reorder flags with IF

Flag shoe lines that have fallen to their reorder point, so the replenishment list builds itself.

20% complete

Training

=IF(condition, value_if_true, value_if_false)
IF tests a condition that is TRUE or FALSE, then returns the first value when it is TRUE and the second when it is FALSE.
Comparison operators
OperatorMeaningExample
=equal toB2=C2
<>not equal toB2<>0
<less thanB2<C2
<=at or belowB2<=C2
>more thanB2>C2
>=at or aboveB2>=50000
=IF(B2<=C2,"Reorder","OK")
If on hand (B2) is at or below the reorder point (C2), show Reorder; otherwise show OK. Text results need double quotes.

Watch the boundary. "At or below" is <=, not <. With 30 pairs on hand and a reorder point of 30, the line must be reordered.

Refer to the threshold cell (C2) instead of typing 25 into the formula. When the buyer changes a reorder point, every flag follows.