Formulas and Functions Help
- Welcome
-
- ACCRINT
- ACCRINTM
- BONDDURATION
- BONDMDURATION
- COUPDAYBS
- COUPDAYS
- COUPDAYSNC
- COUPNUM
- CUMIPMT
- CUMPRINC
- CURRENCY
- CURRENCYCODE
- CURRENCYCONVERT
- CURRENCYH
- DB
- DDB
- DISC
- EFFECT
- FV
- INTRATE
- IPMT
- IRR
- ISPMT
- MIRR
- NOMINAL
- NPER
- NPV
- PMT
- PPMT
- PRICE
- PRICEDISC
- PRICEMAT
- PV
- RATE
- RECEIVED
- SLN
- STOCK
- STOCKH
- SYD
- VDB
- XIRR
- XNPV
- YIELD
- YIELDDISC
- YIELDMAT
-
- AVEDEV
- AVERAGE
- AVERAGEA
- AVERAGEIF
- AVERAGEIFS
- BETADIST
- BETAINV
- BINOMDIST
- CHIDIST
- CHIINV
- CHITEST
- CONFIDENCE
- CORREL
- COUNT
- COUNTA
- COUNTBLANK
- COUNTIF
- COUNTIFS
- COVAR
- CRITBINOM
- DEVSQ
- EXPONDIST
- FDIST
- FINV
- FORECAST
- FREQUENCY
- GAMMADIST
- GAMMAINV
- GAMMALN
- GEOMEAN
- HARMEAN
- INTERCEPT
- LARGE
- LINEST
- LOGINV
- LOGNORMDIST
- MAX
- MAXA
- MAXIFS
- MEDIAN
- MIN
- MINA
- MINIFS
- MODE
- NEGBINOMDIST
- NORMDIST
- NORMINV
- NORMSDIST
- NORMSINV
- PERCENTILE
- PERCENTRANK
- PERMUT
- POISSON
- PROB
- QUARTILE
- RANK
- SLOPE
- SMALL
- STANDARDIZE
- STDEV
- STDEVA
- STDEVP
- STDEVPA
- TDIST
- TINV
- TTEST
- VAR
- VARA
- VARP
- VARPA
- WEIBULL
- ZTEST
- Copyright
AND
The AND function returns the boolean value TRUE if all arguments are true, and the boolean value FALSE otherwise.
AND(test-expression, test-expression…)
test-expression: An expression. test-expression can contain anything as long as the expression can be evaluated as a boolean value. If the expression evaluates to a number, 0 is considered to be FALSE, and any other number is considered to be TRUE.
test-expression…: Optionally include one or more additional expressions.
Notes
The AND function is equivalent to the logical conjunction operator used in mathematics or logic. It first evaluates each test-expression. If all the given expressions evaluate to the boolean value TRUE, the AND function returns the boolean value TRUE; otherwise the boolean value FALSE.
Examples |
---|
=AND(TRUE,TRUE) returns TRUE because both arguments are true. =AND(1, 0, 1, 1) returns FALSE because one of the arguments is a numeric 0, which is interpreted as FALSE. =AND(A5>60, A5<=100) returns TRUE if cell A5 contains a number greater than 60 and less than or equal to 100, otherwise FALSE. |
The following two IF functions return the same value: =IF(A5>60, IF(A5<=100, TRUE, FALSE), FALSE) returns TRUE, assuming cell A5 contains 75, or any other value greater than 60 and less than or equal to 100. =IF(AND(A5>60, A5<=100), TRUE, FALSE) also returns TRUE. |