This post will guide you how to use Excel AND function with syntax and examples in Microsoft excel.
The Excel AND function returns TRUE if all of arguments are TRUE, and it returns FALSE if any of arguments are FALSE.
The AND function is a build-in function in Microsoft Excel and it is categorized as a Logical Function.
The AND function is available in Excel 2016, Excel 2013, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000, Excel 2011 for Mac.
The syntax of the AND function is as below:
= AND (condition1,[condition2],…)
Where the AND function arguments are:
Condition1 -This is a required argument. The first arguments to test if it is true.
Condition2 – Optional
The below examples will show you how to use Excel AND Function to test whether all of conditions are TRUE.
#1 To Test if B1 is greater than 10 AND less than 20, if so, returns TRUE value, just using the following excel formula: =AND(B1>10, B1<20)