Why it works
- What it does
- An IF inside another IF’s “false” part tests the next condition when the first fails. Order the tests from one end of the scale to the other and decide where each boundary value belongs: is day 30 in 1-30 or in 31-60?
- The shape of the formula
- =IF(test 1, result 1, IF(test 2, result 2, IF(test 3, result 3, otherwise)))
- How to remember it
- Walk the boundaries: try 0, 30 and 60 in your head before you trust it.
- The usual mistake
- Using < where the rule says “up to and including”. Invoices exactly on a boundary land one bucket late.
Keep practicing
- IFS: many conditions without nestingIs there a cleaner way to write a long nested IF?Open
- Look up a band instead of nesting IFsHow do I replace a long nested IF for shipping rates by weight?Open
- IF: one result or anotherHow do I mark items that need reordering?Open
- Lesson: Several conditions at onceA short lesson in your workspace: the idea, small steps on a sheet, one task with new dataOpen
Updated