Google Sheets AND function
Returns TRUE only if every condition is true.
Syntax
=AND(condition1, [condition2, ...])
condition1 | The first test. |
|---|---|
condition2, ... | Optional. More tests. All must be TRUE. |
Try it
Edit the formula and the result updates instantly. Click a cell to add its reference.
Test scores
Result: TRUE
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Student | Score | Submitted | Min score | Grade | |
| 2 | Lily | 88 | TRUE | 0 | F | |
| 3 | Omar | 72 | TRUE | 60 | D | |
| 4 | Priya | 95 | TRUE | 70 | C | |
| 5 | Sam | FALSE | 80 | B | ||
| 6 | Tom | 64 | TRUE | 90 | A | |
| 7 | Uma | 59 | TRUE | |||
| 8 | Vic | 81 | TRUE |
Examples
These use the sample sheet above.
→ TRUE
Lily passed and submitted: TRUE.
→ Honors
AND is usually used inside IF.
Tips & common mistakes
- Write AND(B2>=70, B2<=90) for "between 70 and 90". Spreadsheets don't accept 70<=B2<=90.