WorkbookLogic
FunctionLogicalbeginnerANDIF

AND Function

By WorkbookLogic

The Excel AND function evaluates multiple logical tests and returns TRUE only when every test is true. A single false condition makes the combined result FALSE.

ExcelLast reviewed Sep 11, 2026
and-function-v1.0.0.xlsx
Excel AND Function
Change the cream values to see how AND returns TRUE only when every logical test is true.
Source scenarios, editableAND examples
ScenarioInput AInput BCriterion / UpperExampleFormula syntaxResult
Both minimums met809070Both minimums met=AND(B12>=D12,C12>=D12)TRUE
One minimum fails806070One minimum fails=AND(B13>=D13,C13>=D13)FALSE
Value within range7550100Value within range=AND(B14>=C14,B14<=D14)TRUE
Approved and above limitApproved120100Approved and above limit=AND(B15="Approved",C15>=D15)TRUE
Present and positive50Present and positive=AND(B16<>"",C16>D16)FALSE
How AND combines tests
AND evaluates every logical argument and returns one Boolean result.
The result is TRUE only when every test is TRUE; one FALSE test makes it FALSE.
Use AND when all requirements are mandatory, and OR when any one is sufficient.
Reliability checks
All-true result matches the two visible minimum testsOK
One-false result matches the two visible minimum testsOK

Overview

The Excel AND function combines several logical tests into one result. It returns TRUE only when every supplied test passes; one false test is enough to return FALSE.

Quick reference

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

Returns: TRUE when every logical argument is true; otherwise FALSE. (Boolean)

Arguments:

  • logical1 (required) — The first condition or logical value to evaluate.
  • logical2 (optional) — An additional condition or logical value; more optional arguments may follow.

The bracketed arguments after logical1 are optional. Add further logical tests when every one must pass; each test should evaluate to TRUE or FALSE.

Common uses

  • Require several approval or eligibility rules to pass together.
  • Test whether a number falls within an accepted interval.
  • Combine a required status with a numeric threshold.
  • Confirm that mandatory fields are present and values are valid.

Calculations

Each logical argument is evaluated separately. Comparisons such as B12>=D12 and C12>=D12 each produce TRUE or FALSE; AND then combines those results.

Every argument must be true for the final result to be TRUE. This makes AND appropriate for mandatory requirements, accepted ranges, and rules where several independent facts must all hold at once.

AND returns a Boolean value by itself. Wrap it in IF when a label, number, or calculation should be returned instead. An error in any evaluated argument propagates to the result.

Function behavior

Situation

Behavior

Every test is TRUE

Returns TRUE.

Any test is FALSE

Returns FALSE.

Inclusive boundary

Use >= or <= when equality should pass.

Blank test

<>"" tests that a value is not blank or empty text.

Referenced text or empty cells

Ignored when they are values inside a referenced range; if nothing logical remains, AND returns #VALUE!.

Numbers supplied directly

Zero evaluates as FALSE; non-zero numbers evaluate as TRUE.

Custom result needed

Use AND as the logical test inside IF.

Error in an argument

The error propagates to the result.

Common errors

Using AND when any condition is sufficient

What happens:
The result is false unless every alternative passes, making the rule too restrictive.

Better approach:
Use OR when one successful condition is enough.

Choosing the wrong boundary operator

What happens:
A value equal to the limit fails because > or < was used instead of an inclusive operator.

Better approach:
Use >= and <= when equality should qualify.

Expecting a label from AND

What happens:
The formula returns only TRUE or FALSE.

Better approach:
Wrap AND in IF when the worksheet needs a custom label or calculation.

Example

Example 1 — Require Two Minimums

=AND(B12>=D12,C12>=D12)

The two values are 80 and 90, and the shared minimum is 70. Both tests pass, so the result is TRUE.

Example 2 — Show One Failed Requirement

=AND(B13>=D13,C13>=D13)

The first value meets the minimum, but 60 is below 70. Because one test fails, the formula returns FALSE.

Example 3 — Test an Inclusive Range

=AND(B14>=C14,B14<=D14)

The value 75 is at least the lower bound of 50 and no greater than the upper bound of 100, so the result is TRUE.

Example workbook

The workbook contains AND Example and Notes tabs. Five independent scenarios cover shared minimums, a failed requirement, an inclusive range, combined text and numeric tests, and a blank check. Two checks reconcile the first true and false examples.

Key takeaway

Use AND when every requirement is mandatory: one false condition makes the entire result false.