AND
Check if all conditions are true with AND, which returns TRUE only when every test passes.
Spreadsheet editor
Spreadsheet editor
Syntax
=AND(logical1, logical2, ...)
Returns: Boolean Arguments
| Argument | Required | Description |
|---|---|---|
| logical1 | Yes | The first condition or expression to be evaluated. |
| logical2 | No | The second condition or expression to be evaluated. |
| ... | No | Additional conditions or expressions to be evaluated. |
About
This makes AND perfect for scenarios where everything needs to line up. Say you're calculating sales bonuses that require both a sales target and customer satisfaction score to be met. Or you're validating data entry where a number must fall within a specific range. Combine AND with IF to create formulas that make decisions based on multiple criteria.
When you need to check if at least one condition is true (rather than all), use OR instead. For more complex scenarios with multiple outcomes, check out IFS.
Examples
Text value comparisons
Spreadsheet editor
Multiple range validation
Spreadsheet editor
Watch out for
Mixing data types
AND expects logical values (TRUE/FALSE). If you pass text or numbers directly without comparison operators, you'll get a #VALUE! error.
→ Always use comparison operators to create logical tests: use =AND(A1>10, B1<20) instead of =AND(A1, B1). Each argument should evaluate to TRUE or FALSE.
Confusing AND with OR
Using AND when you actually need OR leads to unexpected results. AND requires all conditions to be true, while OR only needs one.
→ If you want to check if at least one condition is true, use OR instead. Use AND only when every condition must pass.
Empty cells in ranges
When AND evaluates a range containing empty cells, it ignores them rather than treating them as FALSE, which can produce unexpected results.
→ If empty cells matter to your logic, explicitly test for them using ISBLANK or COUNTBLANK before using AND.