Function · Logical
Excel AND function
The Excel AND function returns TRUE only when every test is true. A loan screen at $72,000 income and a 710 score passes both bars.
Syntax =AND(logical1, [logical2], ...)
=AND(B1>=50000,B2>=680)Arguments
| Name | Required | What to pass |
|---|---|---|
| logical1 | Required | The first test, or a range of tests. |
| logical2 | Optional | More tests. All of them must be TRUE. |
Examples
Income and credit score both clear a simple screen
=AND(B1>=50000,B2>=680)Result TRUE
| A | B | |
|---|---|---|
| 1 | Income | 72000 |
| 2 | Score | 710 |
| 3 | Clears both | TRUE |
AND is true only when every test is true. An income of $72,000 clears a $50,000 bar, and a score of 710 clears a 680 bar, so the screen is TRUE. Drop the score to 640 and the same formula is FALSE. These bars are an illustration, not a lending rule.
AND returns one value, not a column of values. =AND(A2:A10>0) asks whether every number in the range is positive. It does not flag each row. Inside IF, that single result is what you want. Inside FILTER, multiply the tests instead, (A2:A10="TX")*(B2:B10>=100), so each row keeps its own TRUE or FALSE.