
The Excel AND function returns TRUE only when every logical test in the formula is TRUE. If even one test is FALSE, the result is FALSE.
AND is useful when a formula should approve something only after all required checks pass. Common examples include minimum score rules, eligibility checks, safe-range tests, and status formulas where partial success is not enough.
Use AND when every test in a rule set must be TRUE before the formula should continue.
Returns a logical result that you can use directly or inside formulas such as IF.
=AND(logical1, [logical2], ...)
Microsoft documents that AND accepts from 1 to 255 logical conditions. Each argument should evaluate to TRUE or FALSE.
These arguments can be direct logical values, comparisons such as A1>10, or references that already contain TRUE or FALSE.
AND is easiest to understand when you compare it with the other core logical functions.
| Function | Main Idea | Returns TRUE When | Best Use |
|---|---|---|---|
AND |
All conditions must pass | Every test is TRUE | Strict requirements and rule checks |
OR |
Any condition may pass | At least one test is TRUE | Flexible pass conditions |
NOT |
Reverse a result | The original logical value is FALSE | Inverting a test |
XOR |
Check exclusive or odd TRUE count | An odd number of tests are TRUE | Mutually exclusive logic |
If your rule says "all of these must happen," AND is usually the right function. If the rule says "any one of these is enough," that is usually an OR formula instead.
AND is often used as a gatekeeper inside IF. For example, a formula might return "Qualified" only if a person meets both a score requirement and a training requirement. Without AND, you would need to build that same logic with more complicated nested formulas.
AND is also very common in range checks. If a value must stay above a lower limit and below an upper limit at the same time, AND expresses that rule clearly. This is one of the most practical everyday uses of the function.
Microsoft notes that if an array or reference argument contains text or empty cells, those values are ignored. But if the specified range contains no logical values at all, AND returns #VALUE!. That matters most when you point AND at larger ranges or mixed data.
This example checks whether two separate scores both reach the required level.
=AND(B2>=70,C2>=70)
The result is TRUE only if both scores are at least 70. If one score passes and the other does not, the result is still FALSE.
In cell F1, check whether both B2 and C2 are at least 70.
AND is a simple way to test whether one number stays between two boundaries.
=AND(B2>=10,B2<=20)
This returns TRUE only when the value is 10 or greater and also 20 or less. That makes it a common pattern for allowed ranges and quality checks.
In cell F2, check whether B2 is between 10 and 20 inclusive.
Some alerts should appear only when multiple conditions fail together.
=AND(B2>100,C2>100)
This formula returns TRUE only when both values are above 100. It helps distinguish a full group problem from a one-sided issue.
In cell F3, check whether both B2 and C2 are greater than 100.
AND also works well with dynamic benchmark cells.
=AND(B2>=G2,C2>=H2,D2>=I2)
This returns TRUE only if every result meets its matching target. It is useful in scorecards, dashboards, and multi-step validation rules.
In cell F4, check whether B2, C2, and D2 all meet their matching targets in G2, H2, and I2.
AND returns TRUE only when every test is TRUE.#VALUE!.IF to return readable labels or decisions.Tell your friends about this post