AND Function in Google Sheets: Formula, Examples & Troubleshooting
Learn the AND formula in Google Sheets: require several conditions to be true, with reproducible examples, expected answers and compatibility cautions.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Quick answer: Use AND to require several conditions to be true. The example below supplies exact inputs and independently calculated expected results, so you can check your formula before replacing the demonstration values with real workbook data.
Verification: The function is covered by a vendor reference or its published formula catalogue. The worked outputs here are independently reasoned, not screenshots or native test results from Google Sheets. Check release-specific support and argument details in the referenced vendor help.
Availability and version history
- Introduced: Introduction version not established by the official history reviewed.
- Availability: Documented in the rolling Google Sheets service; examples use the web spreadsheet workflow.
- Checked: October 14, 2026; official AND reference. Documentation check, not a new native test; existing example-verification notes retain their scope.
Syntax and arguments
=AND(logical1, [logical2], ...)
Arguments supply logical expressions or values that Sheets can coerce to logical values; Google explicitly documents zero as false and other numbers as true. In formula syntax, square brackets mark optional arguments; do not type square brackets into an ordinary formula unless the particular function requires array notation. The separator shown is for the example locale and might change with spreadsheet settings.
When to use it: Combine AND with IF for an understandable status label.
Prepare the example inputs
Create a blank Google Sheets spreadsheet, enter the data as values (not quoted numeric strings), and use a clear output cell. Confirm File → Settings → Locale before comparing punctuation-sensitive formulas.
For the formulas that reference cells, enter this small dataset into A1:F9 (the first row contains headings). The Amount and Units columns are numbers; the team, status, item and agent columns are text. Keep the calculation cell outside A1:F9 so it cannot overwrite an input.
| Row | A · Item | B · Team | C · Status | D · Amount | E · Units | F · Agent |
|---|---|---|---|---|---|---|
| 1 | Item | Team | Status | Amount | Units | Agent |
| 2 | Pen | East | Paid | 120 | 12 | Ana |
| 3 | Pad | West | Pending | 75 | 5 | Bo |
| 4 | Box | East | Paid | 210 | 7 | Ana |
| 5 | Tape | North | Paid | 90 | 0 | Cy |
| 6 | Folder | West | Paid | 150 | 3 | Bo |
| 7 | Pen | East | Pending | 60 | 8 | Dee |
| 8 | Pad | West | Paid | 125 | 12 | Ana |
| 9 | Box | North | Pending | 80 | 4 | Cy |
Worked example: exact formula and expected output
=AND(D2>=100,C2="Paid")
Expected result: TRUE. The 120 amount passes the threshold and its status is Paid.
- Select an unused output cell (for example H2 if the practice table occupies A1:F9).
- Enter the formula exactly as shown, including the opening equals sign and quoted text.
- Compare the displayed answer to the expected result, then inspect the source cells if it differs.
For a range formula, the row numbers include data rows only unless the example explicitly refers to headers. A result that looks plausible may still be wrong if it references the wrong column.
Second example: a different input
=AND(D3>=100,C3="Paid")
Expected result: FALSE. 75 is below 100 and the status is Pending.
This independent check can be entered in the next blank output cell; it helps distinguish a genuine calculation issue from a reference or paste-location mistake.
Sheets-specific numeric logic and range scope
Google documents numeric coercion: zero is logically FALSE, while every other number, including a negative number, is logically TRUE. Thus =AND(2,-3) is expected to return TRUE, while =AND(2,0) returns FALSE. This is a logical interpretation of the arguments, not a rule that every nonzero quantity is acceptable.
Do not import Excel’s numeric argument limit or an unverified text/blank range matrix into Sheets. The dedicated Google page accepts logical expressions and range references but does not establish all such boundaries.
For row-level results in the original table, enter =AND(D2>=100,C2="Paid") in H2 and fill down to H9. Expected flags are TRUE, FALSE, TRUE, FALSE, TRUE, FALSE, TRUE, FALSE. Four records pass. AND over a whole set of flags produces one aggregate logical answer; it is not automatically a rowwise array mask.
Advanced example: keep positive units as a separate requirement
In another output column of the original table, use:
=IF(AND(C2="Paid",E2>0),"Ready","Review")
Filled through row 9, the expected labels are Ready, Review, Ready, Review, Ready, Review, Ready, Review. Row 5 is Paid but has zero units, so it fails the explicitly positive-unit rule. A plain AND(C2="Paid",E2) would treat a negative nonzero unit count as logically true; the >0 comparison expresses the intended domain more accurately.
For a separate control with statuses Paid, Paid, Paid and units −2, 0, 2, the explicit formula gives Review, Review, Ready. Keep type, sign and status rules separate enough to inspect.
Advanced check: the truth table exposes connector mistakes
For pairs TRUE/TRUE, TRUE/FALSE, FALSE/TRUE and FALSE/FALSE, AND gives TRUE, FALSE, FALSE, FALSE. OR would give TRUE for either mixed pair. Use both a passing and a failing condition before copying a compound rule across a shared sheet.
These are independently modeled scalar controls. No unverified short-circuit behavior is assumed to protect unsafe arithmetic in later arguments, and a TRUE flag does not establish that anyone actually reviewed or authorized a real record.
Important edge cases and a common mistake
Watch out: AND does not concatenate conditions with OR; choose the business rule you really need.
Google Sheets may expand range outputs automatically and apply locale-aware parsing. A workbook imported from Excel can behave differently after conversion; recalculate the sample inside the target file.
Troubleshooting in Google Sheets
In Sheets, a #N/A often indicates that a lookup found no match or a filter returned no matching row. #REF! may indicate that an array result could not expand; #ERROR! can indicate incorrect formula syntax. Open the cell error tooltip and confirm the spreadsheet locale.
If you get the wrong answer but no error, try these checks in order: (1) evaluate the simplified first example; (2) confirm the cell values and data types; (3) check the exact row and column boundaries; (4) verify quoted text, comparison operators and separators; (5) only then add more criteria or nested functions.
For a reproducible comparison with another spreadsheet product, use the same input values in both applications and record the spreadsheet locale, check date and any source-file application version. Different default matching behavior or handling of empty values can be a migration issue rather than a mathematical disagreement.
Moving this formula between spreadsheet programs
Google Sheets may use ARRAYFORMULA and different regex or sorting conventions than Excel. Do not paste a LibreOffice formula with semicolon argument separators into a US-locale Sheets file without reviewing the syntax.
Related guides already published for this function: Microsoft Excel | LibreOffice Calc | Apache OpenOffice Calc | Gnumeric | Calligra Sheets
If a comparison tool says Not researched here, that means we do not yet have a checked guide for that software. It does not mean the software lacks this function. See the 12-program comparison tool for a guide-coverage matrix.
Official reference and editorial verification
Evidence level: Vendor-published function catalogue / formula overview, checked for this editorial batch on October 11, 2026; example outputs verified by direct reasoning/arithmetic where applicable. No execution in Google Sheets was performed. Some platform-, language- and release-specific edge cases remain for native testing.
October 14, 2026 review scope
The complete guide and original examples were checked against the direct Google AND reference. Added scalar, type and error controls are independently modeled. No native Sheets execution, full evaluation-order/coercion matrix or broader client certification is claimed.