AND Function in Excel

If you want to check whether two or more conditions are all true at the same time, the AND function is what you are looking for. It is one of those quiet workhorses you end up pairing with IF in almost every formula that tests multiple criteria.

AND always returns a single TRUE or FALSE, so for per-row checks across a range in Excel 365 you multiply the conditions like (cond1)*(cond2) instead of using AND directly.

In this article, I will show you how AND works with five practical examples, from the basic boolean output all the way to the per-row array pattern.

AND Function Syntax in Excel

The AND function tests a list of conditions and returns TRUE only when every single one of them is met.

=AND(logical1, [logical2], ...)
  • logical1, logical2, ...: the conditions to test. You can pass up to 255. AND returns TRUE only if every argument is TRUE. If any one is FALSE, the whole function returns FALSE.

When to Use AND Function

AND is useful any time you need to confirm that multiple criteria are all met at once. Common scenarios:

  • Test two or more conditions together and get a single TRUE or FALSE
  • Nest inside IF to return a label or value only when all criteria pass
  • Check whether a number falls between two values (the classic “between” pattern)
  • Drive conditional formatting rules that require multiple conditions to be met
  • Power a data validation rule that lets a value through only when it clears every check

Example 1: What AND Returns on Its Own

Let’s start with the basics so you can see exactly what AND gives back before pairing it with anything else.

Below is the dataset with employee names in column A, their performance scores in column B, and their attendance percentages in column C. Column D is where the result goes.

And Function Dataset Example 1: Excel table with employee names, scores, attendance percentages, and empty result column

We want to know whether each employee meets both the score threshold (70 or higher) and the attendance threshold (80% or higher). AND will return TRUE if both conditions pass, FALSE if either one fails.

Here is the formula:

=AND(B2>=70,C2>=80)
Excel formula bar showing AND(B2 data-lazy-src=

I am a huge fan of Microsoft Excel and love sharing my knowledge through articles and tutorials. I work as a business analyst and use Microsoft Excel extensively in my daily tasks. My aim is to help you unleash the full potential of Excel and become a data-slaying wizard yourself.