AND Function
AND checks if ALL conditions are TRUE.
Syntax
Parameters
| Parameter | Description | Required |
|---|---|---|
| logical1 | The first condition to test. | Required |
| logical2 | Optional additional conditions to test. | Optional |
Basic Example
Check multiple conditions
=AND(A1>0, B1>0)Returns TRUE only if both A1 > 0 and B1 > 0.
Advanced Examples
Example 1: AND with IF
Combined logicUse AND within IF for multiple criteria
=IF(AND(A1>=18, B1="Yes"), "Eligible", "Not eligible")How AND Works
AND evaluates all conditions and returns TRUE only when every condition is TRUE.
Important Notes & Limitations
All conditions must be TRUE for AND to return TRUE.
For ANY condition being TRUE, use OR instead.
Common Errors & Fixes
#VALUE!Non-boolean argumentsFix: Ensure all arguments evaluate to TRUE/FALSE.
Download Practice File
AND
andPractice AND with Real Data
Download a sample CSV file with pre-populated data and practice exercises for the AND function. Works in both Excel and Google Sheets.
File format: CSV (comma-separated values) - opens in Excel, Google Sheets, and all spreadsheet apps
Related Tutorials
IF with AND / OR
Combining IF with AND OR logic lets a single formula test several conditions at once. Learn the syntax, nesting order and Excel and Google Sheets examples.
IFS Function with Multiple Conditions in Excel
The IFS function multiple conditions pattern replaces stacked nested IFs. Learn argument order, AND/OR tests, TRUE fallbacks and how to fix the #N/A error.