IntermediateLogical Functions
Band orders by size with nested IF
Return one of three labels depending on where a value falls.
IF
9 min25 points
Harbor Supply reports fill rate as units shipped over units ordered. Cancelled lines show zero ordered, and dividing by zero fills the column with #DIV/0! — which then breaks every total further down the sheet.
| Row number | A | B | C | D | E |
|---|---|---|---|---|---|
| 1 | Line | Ordered | Shipped | Fill rate | |
| 2 | L-101 | 200.00 | 180.00 | ||
| 3 | L-102 | 0.00 | 0.00 | ||
| 4 | L-103 | 150.00 | 150.00 | ||
| 5 | L-104 | 0.00 | 0.00 | ||
| 6 | L-105 | 90.00 | 72.00 | ||
| 7 |
Return a readable message instead of #N/A when a lookup finds nothing.
XLOOKUP
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