Skip to content
xlsoffice. All Rights Reserved
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Lookup and Reference Examples

  • How to get relative row numbers in a range in Excel
  • Two-column Lookup in Excel
  • Extract data with helper column in Excel
  • How to get first column number in range in Excel
  • How to use Excel ROWS Function

Data Analysis Examples

  • How to count table columns in Excel
  • How to create running total in an Excel Table
  • How to create Gauge Chart in Excel
  • Understanding Pivot Tables in Excel
  • How to create Checklist in Excel

Data Validation Examples

  • Excel Data validation date in specific year
  • Excel Data validation only dates between
  • Excel Data validation must not contain
  • Excel Data validation allow weekday only
  • Excel Data validation unique values only

AND function: Description, Usage, Syntax, Examples and Explanation

by

What is AND function in Excel?

AND function is one of the Logical functions in Microsoft Excel that is used to determine if all conditions in a test are TRUE.

Examples of AND function

Here are some general examples of using AND by itself, and in conjunction with the IF function.

Worked Example:   Excel Data validation date in next 30 days
Formula Description
=AND(A2>1,A2<100) Displays TRUE if A2 is greater than 1 AND less than 100, otherwise it displays FALSE.
=IF(AND(A2<A3,A2<100),A2,”The value is out of range”) Displays the value in cell A2 if it’s less than A3 AND less than 100, otherwise it displays the message “The value is out of range”.
=IF(AND(A3>1,A3<100),A3,”The value is out of range”) Displays the value in cell A3 if it is greater than 1 AND less than 100, otherwise it displays a message. You can substitute any message of your choice.
Worked Example:   Excel Data validation whole percentage only

For more example visit:

  • How to use Excel AND Function
  • How to use Excel TRUE Function
Worked Example:   Check if multiple cells have same value with case sensitive in Excel

 

Post navigation

Previous Post:

NOT function: Description, Usage, Syntax, Examples and Explanation

Next Post:

LOG function: Description, Usage, Syntax, Examples and Explanation

Leave a Reply Cancel reply

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

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others
  • Find most frequent text within a range with criteria in Excel
  • How to split text string at specific character in Excel
  • MID, MIDB functions: Description, Usage, Syntax, Examples and Explanation
  • Get first name from name with comma — Manipulating NAMES in Excel
  • How to extract domain name from URL in Excel
  • Add decimal minutes to time in Excel
  • Convert Excel time to decimal seconds
  • Check If Two Dates are same month in Excel
  • WORKDAY.INTL function: Description, Usage, Syntax, Examples and Explanation
  • Get work hours between dates custom schedule in Excel
  • SYD function: Description, Usage, Syntax, Examples and Explanation
  • YIELDDISC function: Description, Usage, Syntax, Examples and Explanation
  • NPER function: Description, Usage, Syntax, Examples and Explanation
  • AMORLINC function: Description, Usage, Syntax, Examples and Explanation
  • RECEIVED function: Description, Usage, Syntax, Examples and Explanation
Acronyms, Abbreviations, Initialism & What They Stand For
© 2022 xlsoffice . All Right Reserved. | Teal Smiles