ExcelFormulas logoExcelFormulas.
Ask AI
Logical & ConditionalVerified QA Tested

AND.

Returns TRUE if all of its arguments are TRUE; returns FALSE if one or more arguments are FALSE.

Category: Logical & Conditional
ExcelExcel 365Excel 2021Excel 2019Google Sheets

How it works.

AND evaluates multiple conditions. It returns TRUE only if every single condition evaluates to TRUE. It is commonly nested inside the IF function to evaluate complex multi-criteria expressions.

💡 In simple terms.

Checks multiple rules. It only outputs TRUE if every single rule is met; otherwise, it outputs FALSE.

Everyday Analogy

"Think of this like a checklist for entering a club. You must be 18+ AND have a ticket. If either is missing, you can't enter!"

Formula syntax.

Standard Excel Notation
=AND(logical1, [logical2], ...)
Tip:Arguments wrapped in square brackets [like_this] are optional; all other arguments are required.

Formula arguments.

Every parameter accepted by the AND function is detailed below.

logical1Required

The first condition that you want to test.

Example value: B2>=80
logical2Optional

Additional conditions that you want to test (up to 255).

Example value: C2="Yes"

Simple example.

Step-by-Step Scenario

Promo Eligibility Check

Verify if score in column B is 80 or above AND member status in column C is "Yes".

CustomerScoreMemberEligible
Alice85Yes——
Bob90No——
Charlie75Yes——
Applied Formula
=AND(B2>=80, C2="Yes")
Expected Result:Calculated output

Evaluates AND over the sample table cells, placing the verified output in cell D2:D6.

Formula generator.

Full Generator Wizard

Customize the argument fields below to generate a tailored AND formula ready to paste directly into your worksheet.

Generated FormulaReady to copy

Expected result behavior.

Returns "Calculated output" based on sample evaluation criteria and active cell references.

Sample Output:Calculated output
Output Type:Text String

Best Practices

  • AND is not case-sensitive. "YES" and "yes" evaluate identically if comparing strings.
  • You can also check range cells for logical results (e.g. `=AND(A2:A10)`).

Common Mistakes

  • If none of the logical arguments evaluate to boolean values or numerical conditions, AND returns a #VALUE! error.
Compatibility Database

Platform & version compatibility.

Verified platform compatibility matrix based on actual spreadsheet calculation engine specifications.

Excel✓
Supported
Excel 365✓
Supported
Excel 2021✓
Supported
Excel 2019✓
Supported
Google Sheets✓
Supported
Microsoft Excel History & Version Availability

Core standard function supported across all modern and legacy Microsoft Excel versions (365, 2021, 2019, 2016, 2013, 2010), as well as Excel for the Web and Mac.

Google Sheets Compatibility Notes

100% compatible with Google Sheets. Uses identical argument order, data types, and standard calculation logic.

Frequently asked questions.

Technical Q&A
Can I use AND across different worksheets in Excel?↓

Yes. You can reference cells located on other sheets by including the sheet name followed by an exclamation mark, for example: =AND(Sheet2!A2:A10). If the sheet name contains spaces, enclose it in single quotes: ='Q1 Report'!A2:A10.

What is the most common reason for errors in AND?↓

If none of the logical arguments evaluate to boolean values or numerical conditions, AND returns a #VALUE! error.

Does AND work identically in Google Sheets?↓

Yes, AND is supported in both Microsoft Excel and Google Sheets with standard evaluation behavior.