AND Function

AND Function

AND Function

Returns TRUE only when every logical test is TRUE.

ExcelClash Team
PUBLISHED

Summary

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.

Purpose

Require all conditions to pass

Use AND when every test in a rule set must be TRUE before the formula should continue.

Return Value

TRUE or FALSE

Returns a logical result that you can use directly or inside formulas such as IF.

Syntax

=AND(logical1, [logical2], ...)

Microsoft documents that AND accepts from 1 to 255 logical conditions. Each argument should evaluate to TRUE or FALSE.

Arguments

  • logical1 - [required] The first logical test.
  • logical2... - [optional] Additional logical tests.

These arguments can be direct logical values, comparisons such as A1>10, or references that already contain TRUE or FALSE.

AND vs Other Logical Functions

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.

Using AND

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.

Example 1 - Require Two Passing Scores

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.

Check Answer
Challenge #1
Target: Sheet1!F1
Two Scores

In cell F1, check whether both B2 and C2 are at least 70.

Example 2 - Check Whether a Value Is Inside a Range

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.

Check Answer
Challenge #2
Target: Sheet1!F2
Inside Range

In cell F2, check whether B2 is between 10 and 20 inclusive.

Example 3 - Trigger Only When Both Conditions Are Breached

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.

Check Answer
Challenge #3
Target: Sheet1!F3
Dual Breach

In cell F3, check whether both B2 and C2 are greater than 100.

Example 4 - Compare Results Against Multiple Targets

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.

Check Answer
Challenge #4
Target: Sheet1!F4
All Targets Met

In cell F4, check whether B2, C2, and D2 all meet their matching targets in G2, H2, and I2.

Conclusion Recap

  • Summary: AND returns TRUE only when every test is TRUE.
  • Best use: It is ideal for strict requirements where partial success should not count.
  • Common pattern: Range checks such as "greater than this and less than that."
  • Range behavior: Text and blanks inside array or reference arguments are ignored.
  • Error note: If a referenced range contains no logical values, AND returns #VALUE!.
  • Practical pairing: Combine AND with IF to return readable labels or decisions.
Tactical Arena
Select Scenario:
Share AND Function!

Tell your friends about this post

Discussion

ExcelClash is an interactive platform designed to level up your Excel skills through real-world exercises and challenges. Sharpen your logic, solve real spreadsheet problems, and learn faster.

© 2026 ExcelClash, Inc. All rights reserved.