Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • Error Bars in Excel
  • Excel Bar Chart
  • Add Outline to Data in Excel
  • How to calculate current stock or inventory in Excel
  • How To Load Analysis ToolPak in Excel

References

  • How to get last row in numeric data in Excel
  • Count unique text values with criteria
  • How to use Excel VLOOKUP Function
  • How to get last row in text data in Excel
  • How to use Excel TRANSPOSE Function

Data Validations

  • Excel Data validation allow uppercase only
  • Excel Data validation must contain specific text
  • Excel Data validation with conditional list
  • Excel Data validation must not contain
  • Excel Data validation require unique number

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:   If this AND that OR that in Excel
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 date in next 30 days

For more example visit:

  • How to use Excel AND Function
  • How to use Excel TRUE Function
Worked Example:   Highlight values not between X and Y in Excel

 

Post navigation

Previous Post:

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

Next Post:

Everything about Charts in Excel

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

Logical Functions

  • NOT function: Description, Usage, Syntax, Examples and Explanation
  • OR function: Description, Usage, Syntax, Examples and Explanation
  • Invoice status with nested if in Excel
  • How to use IFS function in Excel
  • IFNA function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Get month from date in Excel
  • How to get Holiday Date from Year in Excel
  • Add days to date in Excel
  • HOUR function: Description, Usage, Syntax, Examples and Explanation
  • How to get Weekdays, Working days between Two Dates in Excel

Grouping

  • Map text to numbers in Excel
  • How to randomly assign people to groups in Excel
  • Categorize text with keywords in Excel
  • Group times into unequal buckets in Excel
  • Group arbitrary text values in Excel

General

  • Excel Autofill Cell Ranges, Copy, Paste
  • Delete Blank Rows at Once in Excel
  • How to Delete Cells, Row and Rows in Excel
  • Basic text sort formula in Excel
  • Share Excel data with Word documents
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning