Category: FUNCTION | Updated: 2026-11-20

How to Use the AND Function in Google Sheets | Check Whether All Conditions Are Met

How to Use the AND Function

The AND function is a logical function that returns TRUE only if all specified logical expressions (conditions) are TRUE, and returns FALSE if any of them are FALSE. It is primarily used as the condition inside an IF function.

Syntax

=AND(logical_expression1, [logical_expression2, ...])
  • logical_expression1: The first condition to evaluate (required).
  • logical_expression2, …: Additional conditions that must also be met, separated by commas (optional).

Table Example

Here is an example using the exam results table below to return "Pass" only when both “Written >= 80” and “Practical >= 80” are met.

Row Column A (Name) Column B (Written) Column C (Practical) Column D (Overall Result)
1 Name Written Practical Overall Result
2 Ikeda 85 90 =IF(AND(B2>=80, C2>=80), "Pass", "Retake") → Pass
3 Hashimoto 92 75 =IF(AND(B3>=80, C3>=80), "Pass", "Retake") → Retake
4 Abe 80 80 =IF(AND(B4>=80, C4>=80), "Pass", "Retake") → Pass
  • Formula: =IF(AND(B2>=80, C2>=80), "Pass", "Retake")
  • Explanation: Hashimoto (B3=92, C3=75) scored 80 or above on the written exam, but below 80 on the practical exam, so AND evaluates to FALSE and returns "Retake".

Common Errors and Notes

  • Cannot be used inside ARRAYFORMULA: If you try to evaluate multiple rows at once inside ARRAYFORMULA, AND aggregates all rows into a single TRUE/FALSE value and will not work row-by-row. To express an AND condition in an array formula, use multiplication (*), such as (B2:B4>=80)*(C2:C4>=80).
  • Handling of text and blank cells: Cells containing text or blanks passed as arguments are ignored. If the specified range contains no boolean values or logical expressions at all, a #VALUE! error is returned.

Frequently Asked Questions

Q. What result does the AND function display when used on its own?

A. It displays the boolean value "TRUE" if all conditions are met, or "FALSE" if even one condition is not met. Combine it with the IF function when you want to return custom text.

Q. What is the difference between the AND and OR functions?

A. AND returns TRUE only when "all specified conditions are met simultaneously", whereas OR returns TRUE when "at least one of the specified conditions is met".