AND Function

The AND function is one of the logical functions. It is used to check if the logical value you enter is TRUE or FALSE. The function returns TRUE if all the arguments are TRUE.

The AND function syntax is:

AND(logical1, logical2, ...)

where logical1/2/n is a value entered manually or included into the cell you make reference to.

To apply the AND function,

  1. select the cell where you wish to display the result,
  2. click the Insert function
    icon situated at the top toolbar,
    or right-click within a selected cell and select the Insert Function option from the menu,
    or click the
    icon situated at the formula bar,
  3. select the Logical function group from the list,
  4. click the AND function,
  5. enter the required arguments separating them by commas,

    Note: you can enter up to 255 logical values.

  6. press the Enter button.

The result will be displayed in the selected cell. The function returns FALSE if at least one of the arguments is FALSE.

For example:

There are three arguments: logical1 = A1<100, logical2 = 34<100, logical3 = 50<100, where A1 is 12. All these logical expressions are TRUE. So the function returns TRUE.

AND Function: TRUE

If we change the A1 value from 12 to 112, the function returns FALSE:

AND Function: FALSE