Items
To Test
|
|
Result
|
||||
500
|
800
|
TRUE
|
=AND(C4>=100,D4>=100)
|
|||
500
|
25
|
FALSE
|
=AND(C5>=100,D5>=100)
|
|||
25
|
500
|
FALSE
|
=AND(C6>=100,D6>=100)
|
|||
12
|
TRUE
|
=AND(D7>=1,D7<=52)
|
What Does It Do?
This function tests two or more
conditions to see if they are all true.
|
|||||
It can be used to test that a
series of numbers meet certain conditions.
|
|||||
It can be used to test that a
number or a date falls between an upper and lower limit.
|
|||||
Normally the AND() function would
be used in conjunction with a function such as =IF().
|
|||||
Syntax
=AND(Test1,Test2)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Note that there can be up to 30 possible
tests.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Formatting
When used by itself it will show TRUE or FALSE.
Example 1
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||