AND Function in Excel: TRUE Only When All Conditions Are Met

AND Function in Excel: TRUE Only When All Conditions Are Met featured illustration

πŸ“Ž This article includes 1 downloadable practice file ↓

⏱ 2 min readUpdated 28 September 2026

LogicalLevel: BeginnerAvailable in: Excel 2007+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. Example 2
  5. AND in practice
  6. Where you will use it
  7. Worked example
  8. Mistakes people make
  9. Related functions
  10. Continue learning

AND returns TRUE when every condition is TRUE. It is almost always used inside IF.

Advertisement

Syntax

=AND(logical1, [logical2], ...)
Argument What it means
logical1… Conditions to test (up to 255).

Examples

Example 1

=AND(B2>=18, B2<=60)

Age within a range.

Example 2

=IF(AND(C2="Paid", D2<=E2), "On time", "Late")

Paid by the due date.

AND in practice

Where you will use it

  • Eligibility: marks above 40 AND attendance above 75%
  • Approve a claim only if amount is within limit AND bills attached
  • Flag invoices that are overdue AND above Rs 1 lakh

Worked example

StudentMarksAttendanceFormulaResult
Aarav780.82=AND(B2>=40,C2>=0.75)TRUE
Kabir450.7=AND(B3>=40,C3>=0.75)FALSE
Meera380.91=AND(B4>=40,C4>=0.75)FALSE

Results calculated in Excel.

Mistakes people make

MistakeWhat to do instead
Typing =A2>40 AND B2>75%Excel has no AND operator; use AND(A2>40,B2>=75%) or (A2>40)*(B2>=75%)
Text numbers in the dataAND compares text '45' oddly; convert with VALUE

OR Β· NOT Β· IF

πŸ“š Part of the free Excel course: Beginner β†’ Expert Β· Try it in the Formula Lab or ask the AI Helper.

⚑ Interactive Practice Lab & Formula Tester:

Test formulas dynamically in our web formula laboratory or download the companion Excel workbook.

πŸ“Ž Practice files for this article

  • πŸ“—
    Practice workbook: Logic, LET & LAMBDA17 tasks on realistic sales data β€” type your formula, the Check column turns green when it is right. Answers sheet included.
    ⬇ XLSX Β· 35 KB

Free to use for learning. Files with macros (.bas) are plain text β€” import them with Alt+F11 β†’ File β†’ Import File, and always test on a copy.

✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free Β· AI can be wrong