Our Recent Posts

Archive

Tags

No tags yet.

# How to Create Excel AND Formulas : The Definite Tutorial

The Excel AND function is a logical function which can be used in conjunction with the Excel IF and OR functions. It is used to test multiple conditions at the same time and will return either TRUE or FALSE. This tutorial will teach you how to create Excel AND formulas and provide you with examples of how they can be used.

### Excel AND Function Arguments

The syntax of the AND function is:

=AND(logical1,[logical2],)

logical1 – This is a required argument and is the value or logical expression that can be either TRUE or FALSE. You can specify a value, date, number or any comparison operator

logical2, logical3 – This is an optional argument and is the value or logical expression that can be either TRUE or FALSE. You can specify a value, date, number or any comparison operator

### Excel AND Formula Example

Now let's have a look and see how to use an Excel AND function.

In this example I want to give a bonus to all sales people who are in the North and if their sales are over £10,000.

The Excel AND formula in cell D2 is =AND(B2="North",C2>10000). The first argument in the AND function tests if the area in cell B2 is “North”. The second argument tests if the sales in cell C2 is greater than £10,000. If both conditions are met then it returns TRUE. If both conditions are not met then it returns FALSE.

Note that both conditions must be met in order for it to return TRUE. In an Excel OR function only one condition can be met to return TRUE.

### Nesting Excel AND Function in an IF Function

Sometimes we don't want to give a result that says TRUE or FALSE. We want to return something that is more meaningful. To do this we can nest an Excel AND function inside an IF function.

Let's have a look at an example.

You can nest the Excel AND function in an IF function. The formula in cell D2 is =IF(AND(B2="North",C2>10000),"Bonus","No Bonus").

The Excel AND function is testing if cell B2 is “North” and cell C2 is greater than £10,000. The Excel AND function is the IF functions logical_test argument. If both conditions are met then the IF functions value_if_true argument returns “Bonus” otherwise the value_if_false argument returns “No Bonus”.

To learn about the IF function and its arguments then please see my tutorial on How to Create an Excel IF Formula.

I hope you enjoyed this tutorial on how to create Excel AND Formulas. If you have any questions or feedback then please leave a comment and I will get back to you as soon as I can. I always like to receive your comments.