- Advanced Excel Functions Tutorial
- Advanced Excel Functions - Home
- Compatibility Functions
- Advanced Excel Functions - Cube
- Database Functions
- Date & Time Functions
- Engineering Functions
- Financial Functions
- Information Functions
- Advanced Excel Functions - Logical
- Lookup & Reference Functions
- Math & Trignometric Functions
- Statistical Functions
- Useful Resources
- Quick Guide
- Useful Resources
- Discussion
Advanced Excel Logical - AND Function
Description
The AND function returns TRUE if all its arguments evaluate to TRUE and returns FALSE if one or more arguments evaluate to FALSE.
One common use of the AND Function is to expand the usefulness of other functions that perform logical tests. For example, the IF Function performs a logical test and then returns one value if the test evaluates to TRUE and another value if the test evaluates to FALSE. By using the AND Function as the logical_test argument of the IF Function, you can test many different conditions instead of just one.
Syntax
AND (logical1, [logical2] ...)
Arguments
Argument | Description | Required/ Optional |
---|---|---|
logical1 | The first condition that you want to test that can evaluate to either TRUE or FALSE. | Required |
logical2, ... | Additional conditions that you want to test that can evaluate to either TRUE or FALSE, up to a maximum of 255 conditions. | Optional |
Notes
The arguments must evaluate to logical values, such as TRUE or FALSE, or the arguments must be arrays or references that contain logical values.
If an array or reference argument contains text or empty cells, those values are ignored.
If the specified range contains no logical values, the AND Function returns the #VALUE! error value.
Applicability
Excel 2007, Excel 2010, Excel 2013, Excel 2016