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

Data Analysis

  • Reverse List in Excel
  • Calculate Conditional Percentile ‘IF’ in table in Excel
  • Filter Data Based on Date in Excel
  • How To Insert and Customize Sparklines in Excel
  • How To Create Pareto Chart in Excel

References

  • CHOOSE function: Description, Usage, Syntax, Examples and Explanation
  • Count rows that contain specific values in Excel
  • Excel Advanced Lookup using Index and Match Functions
  • How to use Excel MMULT Function
  • How to use Excel LOOKUP Function

Data Validations

  • How To Create Drop-down List in Excel
  • Excel Data validation must not contain
  • Excel Data validation with conditional list
  • Excel Data validation must contain specific text
  • Excel Data validation date in next 30 days

How to use Excel AND Function

by

This Excel tutorial explains how to use the AND function with syntax and examples.

Excel AND Function Description

Microsoft Excel AND function tests a number of supplied conditions and returns TRUE if all conditions are TRUE. It returns FALSE if any of the conditions are FALSE.

That is;

  • TRUE if ALL of the conditions evaluate to TRUE
Worked Example:   Check multiple cells are equal in Excel

or

  • FALSE otherwise (i.e. if ANY of the conditions evaluate to FALSE).

Excel And Function Examples

The following spreadsheet shows three examples of the Excel And function:

Explanation:  Based on the example above, the AND function returns;

  • the function in cell C1 evaluates to TRUE, as BOTH of the supplied conditions are TRUE;
  • the function in cell C2 evaluates to FALSE, as the third condition, B2>12, is FALSE;
  • the function in cell C3 evaluates to FALSE, as ALL of the supplied conditions are FALSE.
Worked Example:   Highlight rows with dates between In Excel

Syntax

AND( logical_test1, [logical_test2], … )

Arguments

where the logical_test arguments are one or more conditions that evaluate to either TRUE or FALSE.

Notes:

  • In current versions of Excel (Excel 2007 and later), you can enter up to 255 logical_test arguments to the Excel And function. However, in Excel 2003, the function can only handle up to 30 arguments.
  • If the logical_test arguments evaluate to numbers, instead of logical values, the value zero is treated as FALSE and all non-zero values are treated as TRUE.

Post navigation

Previous Post:

MDETERM 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

Logical Functions

  • XOR function: Description, Usage, Syntax, Examples and Explanation
  • Invoice status with nested if in Excel
  • IF, AND, OR and NOT Functions Examples in Excel
  • How to return blank in place of #DIV/0! error in Excel
  • OR function Examples in Excel

Date Time

  • Convert text to date in Excel
  • DATEVALUE function: Description, Usage, Syntax, Examples and Explanation
  • Get project midpoint in Excel
  • Count times in a specific range in Excel
  • Display the current date in Excel

Grouping

  • Running count group by n size in Excel
  • Group numbers at uneven intervals in Excel
  • Calculate conditional mode with criteria in Excel
  • Group arbitrary text values in Excel
  • Map text to numbers in Excel

General

  • Flash Fill in Excel
  • How to create dynamic named range with INDEX in Excel
  • Basic numeric sort formula in Excel
  • Count cells that do not contain errors in Excel
  • Spell Check in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning