Why it works
- What it does
- AND is true when every test is true; OR when at least one is. Put them inside IF to combine rules: a minimum amount AND one of several states. Keep the minimum in a cell so it can change.
- The shape of the formula
- =IF(AND(amount >= $minimum$, OR(state="A", state="B")), "Free", "")
- How to remember it
- AND is a strict gate, OR an open one; nest OR inside AND when “any of these” is one of the rules.
- The usual mistake
- Writing > when the rule says “from $500”. Orders of exactly 500 miss out.
Keep practicing
- IF: one result or anotherHow do I mark items that need reordering?Open
- Nested IF: several bands in one formulaHow do I sort invoices into aging buckets?Open
- Keep numbers that can change out of formulasWhy should a limit or rate live in a cell, not in the formula?Open
- Lesson: Several conditions at onceA short lesson in your workspace: the idea, small steps on a sheet, one task with new dataOpen
Updated