• Skip to primary navigation
  • Skip to content
  • Skip to primary sidebar
  • Skip to footer
EDUCBA

EDUCBA

MENUMENU
  • Resources
        • Excel Charts

          • Histogram Chart Excel
          • Basic Excel Formulas
          • Text to Columns in Excel
        • Excel Charts
        • Excel Tips

          • Excel Gantt Chart
          • IFERROR with VLOOKUP
          • Data Table in Excel
        • Excel Tips
        • Excel Tools in Excel

          • Stacked Column Chart
          • Cheat Sheet of Excel Formulas
          • Excel Data Validation
        • Histogram chart in excel
        • Others

          • Resources (A-Z)
          • Excel Functions
          • Financial Functions in Excel
          • Logical Functions in Excel
          • Lookup Reference Functions in Excel
          • Maths Function in Excel
          • TEXT and String Functions in Excel
          • View All
  • Free Courses
  • All Courses
        • Certification Courses

          Excel Course 1
        • All in One Bundle

          All-in-One-Excel-VBA-Bundle
        • Excel course

          Excel-Training
        • Others

          • Excel advanced course
          • VBA Course
          • Excel Data Analysis Course
          • Excel for Marketing Course
          • Excel for Finance Course
          • View All
  • 120+ Courses All in One Bundle
  • Login

AND Function in Excel

Home » Excel » Blog » Logical Functions in Excel » AND Function in Excel

AND Function in Excel

AND Function in Excel (Table of Contents)

  • AND Function in Excel
  • AND Formula in Excel
  • How to use AND Function in Excel?

AND Function in Excel

AND function is an inbuilt function in Excel that is categorized under Logical Function, the logical function operates under a logical test

Start Your Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

Helps to evaluate or test multiple conditions

It Returns the value TRUE if all of the arguments evaluate to TRUE, if any one of the tests comes out as false, AND delivers a result as FALSE

It is the most commonly used logical function alone or in combination with other operators like

  • “IF”
  • “OR”
  • “NOT”
  • < (less than)
  • > (greater than)
  • = (equal to)
  • <= (less than or equal to)
  • >= (greater than or equal to)
  • <> (not equal to)

It is most commonly used in conditional formatting

AND function in Excel is used to test multiple conditions, up to 255 logical conditions can be used at the same time (Note: In Excel 2003 version, the function can only handle up to 30 arguments)

AND function can operate on text, numbers, or cell references

AND function needs at least two arguments to return a value. Arguments are separated by comma, At the end, it provides either a ‘true’ or ‘false’ output based on the arguments inside the AND function.

Popular Course in this category
Cyber Week Sale
Excel Advanced Training (14 Courses, 21+ Projects) 14 Online Courses | 21 Hands-on Projects | 129+ Hours | Verifiable Certificate of Completion | Lifetime Access
4.8 (2,603 ratings)
Course Price

View Course

Related Courses
Excel Data Analysis Training (12 Courses, 6+ Projects)Excel for Marketing Training (5 Courses, 12+ Projects)

AND Formula in Excel

Below is the AND Formula in Excel.

AND Formula in Excel

logical1: logical value to evaluate, it’s a first condition to evaluate

logical2: logical value to evaluate, it’s a second condition to evaluate

How to Use the AND Function in Excel?

This AND function in excel is very simple easy to use. Let us now see how to use AND function in Excel with the help of some examples.

You can download this AND function in Excel Template here – AND function in Excel Template

AND in Excel – Example #1

If we enter =AND (5>2, 6=6) in an excel cell, the answer or formula result would be TRUE. It’s true because 5 is greater than 2 and 6 does equal 6.

AND Example 1

AND in Excel – Example #2

If we enter =AND (5>2, 6=8) in an excel cell, the answer or formula result would be FALSE. It’s false because 5 is greater than 2, but 6 is not greater than 8

and function in excel example 2

NOTE:

  • In AND function formula, each term inside the parentheses is separated by a comma like other function in excel
  • If an array or reference argument contains text or empty cells, those values are ignored.
  • If the specified range contains no logical values AND returns the #VALUE! error value.

AND in Excel – Example #3

In this example, if a student passes all the subject, then he has passed the exam

=AND (B6=”PASS”, C6=”PASS”, D6=”PASS”, E6=”PASS”)

The text strings, stored in column B, C, D & E must be “PASS”. Each term inside the parentheses need to be separated by a comma like other function in excel, here it returns the value TRUE if all of the arguments evaluate to TRUE

i.e. if students has passed all the subjects, it returns the value TRUE,

and function in excel Example 3-1

otherwise, even if the students have failed in any of the one subjects, it returns the value FALSE

AND Example 3-2

AND in Excel – Example #4

Using other operators (> (greater than) = (equal to) along with AND Function

AND function returns TRUE if first logical condition, Gender parameter I12 = MALE, and the second logical condition, age parameter should be equal to or more than 45 years i.e. H12>=45. else it returns FALSE. Here with reference to HARRY, it returns the value TRUE, 

AND Example 4-1

In the case of other candidates, SUMITH, it returns the value FALSE.

AND Example 4-2

AND in Excel – Example #5

Using AND with “IF” Function with other operators

Suppose, you have a table with the various subject score, need to find out the results of exam whether they have passed the exam or not

The first score, stored in column B with the first subject, must be equal to or greater than 40. The second score, listed in column C with the second subject, must be equal to or greater than 40. Similarly, the third & fourth score, with third & fourth subject stored in column D & E, must be equal to or greater than 40. If all the above four conditions are met, a student passes the exam.

The easiest way to make a proper IF/AND formula is to initially write down the condition first, and later add it in the logical test argument of your IF function:

Condition: AND(B18>=40, C18>=40, D18>=40, E18>=40)

IF/AND formula: =IF( AND(B18>=40, C18>=40, D18>=40, E18>=40), “PASS”, “FAIL”)

AND Example 5

AND in Excel – Example #6

Using AND function with “OR” FUNCTION

Using IF and AND together is actually quite simple, In the below-mentioned example, irrespective of brand, in the table array, need to find out the sales of red color shoes which are more than 50 numbers by using AND function with “OR” function.

The first column contains a number of shoes sold, the second column contains brand of shoes, the third column contains color of shoes, Here the condition is data in the I column should be equal to or more than 50 & simultaneously the color of the shoes should be red. If both the above conditions are met, it returns the value “TRUE” otherwise “FALSE”

AND Example 6

Recommended Articles

This has been a guide to AND Function in Excel. Here we discuss the AND Formula in Excel and how to use AND in Excel along with practical examples and downloadable excel templates. You can also go through our other suggested articles –

  1. How to Use FV Function in Excel?
  2. Excel LOOKUP Function
  3. Top Microsoft Excel Shortcuts (Advance)
  4. Excel Formulas and Functions

All in One Excel VBA Bundle (120+ Courses, 30+ Projects)

120+ Online Courses

30+ Projects

500+ Hours

Verifiable Certificates

Lifetime Access

Learn More

4 Shares
Share
Tweet
Share
Reader Interactions
Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar
Excel Functions Tutorials
  • Logical Functions in Excel
    • Excel IF AND Function
    • SUMIF with Multiple Criteria
    • Excel SUMIFS with Dates
    • FALSE Function in Excel
    • Excel IF Function
    • Excel Logical Test
    • Excel XOR Function
    • IFERROR Excel Function
    • TRUE Function in Excel
    • OR Function in Excel
    • NOT in Excel
    • AND Function in Excel
  • Excel Functions (10+)
  • Excel Tools (97+)
  • Financial Functions in Excel (17+)
  • Lookup Reference Functions in Excel (30+)
  • Maths Function in Excel (39+)
  • TEXT and String Functions in Excel (25+)
  • Date and Time Function in Excel (20+)
  • Statistical Functions in Excel (55+)
  • Information Functions in Excel (4+)
  • Excel Charts (44+)
  • Excel Tips (195+)
  • VBA (180+)
  • Workplace Productivity (4+)
  • Microsoft Office Tools (14+)
  • Excel Formula and Functions (20+)
  • MS Excel Shortcuts (4+)
Excel Functions Courses
  • Online EXCEL ADVANCED COURSE
  • Excel Data Analysis Certification
  • Excel for Marketing Certification
Footer
About Us
  • Who is EDUCBA?
  • Sign Up
  •  
Free Courses
  • Free Online Excel Course
  • Free Vba Course
Certification Courses
  • All Courses
  • Excel VBA Course - All in One Bundle
  • VBA Course
  • Excel Data Analysis Course
  • Excel for Marketing Course
  • Excel for Finance Course
  • Excel for HR Training
Resources
  • Resources (A To Z)
  • Excel Charts
  • Excel Tips
  • Excel Tools in Excel
  • Excel Functions
  • Financial Functions in Excel
  • Logical Functions in Excel
  • Lookup Reference Functions in Excel
  • Maths Function in Excel
  • TEXT and String Functions in Excel
  • Date and Time Function in Excel
  • Statistical Functions in Excel
  • Information Functions in Excel
Apps
  • iPhone & iPad
  • Android
Support
  • Contact Us
  • Verifiable Certificate
  • Reviews
  • Terms and Conditions

© 2019 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA

Download AND function in Excel Template

By continuing above step, you agree to our Terms of Use and Privacy Policy.
EDUCBA
Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

By continuing above step, you agree to our Terms of Use and Privacy Policy.
*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA
Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

By continuing above step, you agree to our Terms of Use and Privacy Policy.
*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA
Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

By continuing above step, you agree to our Terms of Use and Privacy Policy.
*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA
Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

By continuing above step, you agree to our Terms of Use and Privacy Policy.
*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA

By continuing above step, you agree to our Terms of Use and Privacy Policy.
*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA Login

Forgot Password?

Let’s Get Started
Please provide your Email ID
Email ID is incorrect

Cyber Week Offer - All in One Excel VBA Bundle (120+ Courses, 500+ hours of Videos) View More

Cyber Week Offer - Cyber Week Offer - All in One Excel VBA Bundle (120+ Courses, 500+ hours of Videos) View More