AND


Returns TRUE if all the arguments are considered TRUE, and FALSE otherwise.

Syntax:

AND(argument1, argument2 ...argument30)

argument1 to argument30 are up to 30 arguments, each of which may be a logical result or value, or a reference to a cell or range.

AND tests every value (as an argument, or in each referenced cell), and returns TRUE if they are all TRUE. Any value which is a non-zero number or text is considered to be TRUE.

Example:

If cells A5:B8 all contain TRUE, cell C2 contains =TRUE() and cell C3 contains "dog":

AND(2<4, A5:B8, C2)

returns TRUE.

AND(2<4, FALSE)

returns FALSE.

AND(C2:C3)

returns TRUE.


Application:

An application of using the AND function is in a sales team's performance analysis. Let's say a company wants to give a bonus to salespeople who meet two specific criteria in a given quarter:

  1. Their total sales revenue is greater than or equal to $100,000.
  2. They have closed at least 5 new deals.

Here's how you could use the AND function to identify who gets the bonus:

Salesperson

Total Sales

New Deals

Bonus Eligible?

A
B
C
D
1
John Doe
$120,000.00
6
TRUE
2
Jane Smith
$95,000.00
7
FALSE
3
Peter Jones
$110,000.00
4
FALSE
4
Mary Lee
$130,000.00
8
TRUE

The Formula:

In cell D1, you would enter the following formula:

AND(B1>=100000, C1>=5)


How it works:

  • B1>=100000: This checks if John Doe's total sales are greater than or equal to $100,000. This condition is TRUE ($120,000 is greater than $100,000).
  • C1>=5: This checks if John Doe has closed at least 5 new deals. This condition is also TRUE (6 is greater than 5).
  • Since both conditions are TRUE, the AND function in cell D1 returns TRUE.


Now, if you apply this formula to the rest of the cells in column D, you would get the following results:

  • D2 (Jane Smith): AND(B2>=100000, C2>=5) -> AND(FALSE, TRUE) -> FALSE (Her sales are too low)
  • D3 (Peter Jones): AND(B3>=100000, C3>=5) -> AND(TRUE, FALSE) -> FALSE (He didn't close enough new deals)
  • D4 (Mary Lee): AND(B4>=100000, C4>=5) -> AND(TRUE, TRUE) -> TRUE




This page is protected by Google reCAPTCHA. Privacy - Terms.
 
Built using Zapof