FormulaCamp
Completed
← Google Sheets functions
Google Sheets function

AND in Google Sheets

AND returns a single TRUE or FALSE for a range even inside ARRAYFORMULA, so it cannot test row by row.

Syntax (same in Google Sheets)

AND(logical1, logical2, …)

For row-wise logic in Google Sheets multiply the conditions instead, such as ARRAYFORMULA((A2:A9>=70)*(B2:B9="Yes")).

For a fuller explanation of the arguments and common errors, see the AND Excel guide.

Worked examples in Google Sheets

All limits pass

AB
1ScoreAttendance
28295

Formula: D2: =AND(A2>=70,B2>=90)

Result: TRUE

Both the score and attendance thresholds pass.

One limit fails

AB
1ScoreAttendance
28280

Formula: D2: =AND(A2>=70,B2>=90)

Result: FALSE

A single false condition makes the combined result false.

Check an interval

A
1Value
27

Formula: C2: =AND(A2>=1,A2<=10)

Result: TRUE

Seven is at least one and at most ten.

Try it

A tiny spreadsheet with example data. Edit the formula or any number and see the result.

Formula in F2: =AND(B2>=60,C2="Yes")

Example spreadsheet for AND
ABCDEF
1StudentScoreExtra creditAttemptsResult
2Ann92Yes2TRUE
3Bob74No0
4Cy58Yes3
5Dee81No1
6Eli662
Result in F2: TRUE
Practice this in a lesson: AND, OR, NOT

Frequently asked questions

Why does AND inside ARRAYFORMULA give one answer in Google Sheets?
AND collapses its inputs into one result. Multiply the conditions, which gives 1 or 0 for each row.

Google Sheets is used here only as a descriptive product name. FormulaCamp is not affiliated with Google.