IF function
0 / 7
Step 1 of 7
IF checks a condition and gives one value when it is TRUE and another when it is FALSE: =IF(condition, value_if_true, value_if_false). A supermarket gives a Gold card to customers who spent more than Rs 100,000 this year, and a Silver card to everyone else. Text goes inside quotation marks; numbers don't.
Type =IF(B3>100000, "Gold", "Silver").
Selected cell: B4fx
| Row / column | A | B | C |
|---|---|---|---|
| 1 | |||
| 2 | |||
| 3 | |||
| 4 | |||
| 5 |
Tip: tap a cell to add its reference.