Test if a value is even
=ISEVEN(value)
| Parameter | Description |
|---|---|
value |
The numeric value to check. |
The ISEVEN function returns TRUE or FALSE:
=ISEVEN(4) // returns TRUE
=ISEVEN(3) // returns FALSE
=ISEVEN(0) // returns TRUE
If cell A1 contains 11, the formula below returns FALSE:
=ISEVEN(A1) //returns FALSE
Only the integer portion of value is tested. If value is a decimal number, the decimal portion is truncated:
=ISEVEN(4.1) // returns TRUE
=ISEVEN(0.33) // returns TRUE
=ISEVEN(7.4) // returns FALSE