=IF(OR(condition1, condition2, ...), value_if_true, value_if_false)
| Argument | Required | Description |
|---|---|---|
| OR arguments: condition1 | Required | The first condition to test. Any expression that returns TRUE or FALSE. |
| condition2 ... | Optional | Additional conditions, up to 255. OR returns TRUE if any one is TRUE. |
| IF arguments: value_if_true | Required | What to return when OR is TRUE -- a label, number, formula, or cell reference. |
| value_if_false | Required | What to return when all OR conditions are FALSE. |
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Ticket | Status | Days Open | Action |
| 2 | TKT-001 | Urgent | 5 | =IF(OR(B2="Urgent",C2>30),"Escalate","Normal") |
| 3 | TKT-002 | Normal | 45 | Escalate |
| 4 | TKT-003 | Normal | 12 | Normal |
| 5 | TKT-004 | Urgent | 32 | Escalate |
| 6 | TKT-005 | Normal | 28 | Normal |
| 7 | TKT-006 | Low | 8 | Normal |
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Customer | Tier | Order | Price |
| 2 | Alice | Premium | 350 | =IF(OR(B2="Premium",C2>500),"Discount","Full price") |
| 3 | Bob | Standard | 620 | Discount |
| 4 | Carol | Standard | 280 | Full price |
| 5 | Dan | Premium | 150 | Discount |
| 6 | Eve | Standard | 500 | Full price |
| 7 | Finn | Standard | 501 | Discount |
| A | B | C | |
|---|---|---|---|
| 1 | Rep | Region | Report |
| 2 | Alice | North | =IF(OR(B2="North",B2="South"),"Include","Exclude") |
| 3 | Bob | East | Exclude |
| 4 | Carol | South | Include |
| 5 | Dan | West | Exclude |
| 6 | Ella | North | Include |
| 7 | Finn | South | Include |
=IF(OR(B2="Urgent",C2>30),"Escalate","Normal")
=IF(OR(B2="Member",C2>=100),"Free shipping","Standard")
=IF(OR(C2="North",C2="South"),"Include","Exclude")
=IF(OR(ISBLANK(B2),B2="TBC"),"Review","OK")
=IF(OR(C2>1000,B2="VIP"),"Priority","Standard")
=IF(COUNTIF({"North","South","East"},B2),"Include","Exclude")
=IF(AND(C2>0,OR(B2="VIP",D2>500)),"Qualify","Pass")
=OR(B2="Urgent")