Ghost Sheet

IF with AND and OR

How do I mark orders that ship free only to some states above a minimum?

This is the task for this topic. It is part of the plan; the level check before it is free.
D2Type a formula for D2, starting with =

Click the sheet or the button: the task opens in your workspace, ready to type

ABCDEFG
1OrderStateValueShippingFree from500
2SO-7501WA680
3SO-7502WA950
4SO-7503ID280
5SO-7504ID980
6SO-7505ID470
7SO-7506WA160
8SO-7507ID590
9SO-7508WA310
10SO-7509ID620
11SO-7510ID830
12SO-7511WA350
13
14
15
16
17
18
19
20
21
22
23
24
25
dashed: the answer to reachblack: matchesblue: right after new datared: wrong

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

Updated