ISODD

Returns TRUE if number is odd, or FALSE if number is even.

If this function is not available, run the Setup program to install the Analysis ToolPak. After you install the Analysis ToolPak, you must enable it by using the Add-Ins command on the Tools menu.

Syntax

ISODD(number)

Number   is the value to test. If number is not an integer, it is truncated.

Remarks

If number is nonnumeric, ISODD returns the #VALUE! error value.

Examples

ISODD(-1) equals TRUE

ISODD(2.5) equals FALSE

ISODD(5) equals TRUE