Excel AND Function: Syntax, Examples & Tips

The AND function evaluates multiple conditions in Excel, returning TRUE only if all specified conditions are met for logical tests.
Excel
=AND(logical1, [logical2], ...)

One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.

Need more than a single AND formula? Try our free AI for Excel — it reads your entire spreadsheet, answers questions in plain English, and builds charts and analysis in the same chat.

On this page
  1. Parameters
  2. What is an AND Formula in Excel?
  3. A Practical Example
  4. AND Formula
  5. Result of the Formula
  6. Why Use AND?
  7. Key Takeaways:
  8. Example use case

Parameters

logical1:
The first condition or logical expression that you want to evaluate. This is a required parameter.

logical2:
An optional additional condition or logical expression that you want to evaluate. You can include up to 255 additional logical conditions.

...:
Represents any additional logical conditions you want to include in the evaluation, up to a total of 256 conditions. Each condition can be a logical expression that returns TRUE or FALSE.

What is an AND Formula in Excel?

The AND function in Excel is a logical function that allows you to evaluate multiple conditions at the same time. It returns TRUE if all the specified conditions are met and FALSE if any of the conditions are not met.

In simpler terms, the AND function helps you determine if several criteria are true simultaneously, making it easier to perform complex logical tests.

A Practical Example

Imagine you are managing a student performance report, and you have the following data in an Excel spreadsheet:

Student Performance Data Table:

StudentScoreAttendance
Alice8590%
Bob7080%
Charlie9595%
David6070%
Eve8885%

You want to find out which students have scored above 80 and have an attendance rate of at least 85%.

AND Formula

To evaluate whether each student meets both criteria, you would use the AND formula as follows:

Excel
=AND(B2>80, C2>=85)

Breakdown of the Formula:

  • B2>80: This checks if the student's score is greater than 80.
  • C2>=85: This checks if the student's attendance is at least 85%.

Result of the Formula

When you apply the formula for each student, it will return TRUE for students who meet both criteria and FALSE for those who do not. The output would be:

StudentMeets Criteria
AliceTRUE
BobFALSE
CharlieTRUE
DavidFALSE
EveTRUE

Here, Alice, Charlie, and Eve meet both criteria, while Bob and David do not.

Why Use AND?

The AND function is particularly useful when you need to evaluate multiple conditions at once without nesting multiple IF statements. It allows you to create more complex logical tests and make data-driven decisions based on multiple criteria.

Key Takeaways:

  • AND: Evaluates multiple conditions and returns TRUE if all are met.
  • Efficient Logical Testing: Helps you perform complex evaluations without excessive formulas.
  • Common Use Cases: Ideal for performance evaluations, conditional formatting, and any scenario where multiple criteria need to be assessed.

Understanding how to use the AND function can significantly enhance your logical testing capabilities in Excel, enabling you to analyze data based on multiple conditions effectively.

Happy evaluating!

Example use case

You have a table where Column A contains employee names, Column B contains their corresponding sales figures for the month, and Column C contains their performance ratings (e.g., "Excellent," "Good," "Average"). You can use the AND function to evaluate whether an employee has both achieved a sales figure above a certain threshold and received an "Excellent" performance rating. This allows for targeted recognition and rewards for top performers, ensuring that both sales achievements and quality of work are considered in performance evaluations.

Beyond the AND function: Better Analyst is a full Excel AI that goes well past individual formulas. Upload any spreadsheet and ask questions in plain English — you'll get formulas, data analysis, and charts back in seconds. It's a free AI Excel assistant that works with any .xlsx, .xls, or .csv file — no plugins, no Microsoft 365 required.

Don't have a spreadsheet yet? Use our free AI spreadsheet generator to turn a text prompt into a downloadable Excel file — a full AI Excel sheet maker that builds headers, columns, and formulas from your description.

Need more help with Excel formulas?

Create a free account for formula help, explanations, and spreadsheet analysis. Usage limits depend on your plan.

Explore all Excel formulas

Browse our complete library of Excel formula guides

Compare your options

Decide with evidence, not a sales pitch.

Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.

  1. 01ChatGPTOpen a balanced comparison prompt in ChatGPT.
  2. 02ClaudeOpen the same research prompt in Claude.
  3. 03PerplexityResearch the comparison with linked web sources.

AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.

AND Function in Excel - Better Analyst