OR across columns
=FILTER(A2:C,(B2:B="West")+(C2:C>=2000))Matches either a region or a sales threshold.
Return rows when either of two or more conditions is true.
Return rows when either of two or more conditions is true. Use =FILTER(A2:C,(B2:B="West")+(B2:B="East")), then replace the sample ranges with the columns in your sheet.
Adding Boolean tests creates OR logic inside FILTER.
| A | B | C | |
|---|---|---|---|
| 1 | Rep | Region | Sales |
| 2 | |||
| 3 | |||
| 4 | |||
| 5 |
=FILTER(A2:C,(B2:B="West")+(C2:C>=2000))Matches either a region or a sales threshold.
=FILTER(A2:C,COUNTIF(F2:F4,B2:B)>0)Reads an allowed list from F2:F4.
=FILTER(A2:D,((B2:B="West")+(B2:B="East"))*(D2:D="Won"))Groups the OR test, then applies status.
Add the Boolean tests together when you need OR.
Use bounded ranges in very large files.
Add the Boolean tests together when you need OR.
Use bounded ranges in very large files.
Send this recipe to the SheetSteps assistant and describe how your columns are arranged.