TX Sheet Control

ODD Function

Function

Round a number up to the nearest odd integer, away from zero. A positive number is rounded up and a negative number down, so ODD(1.5) returns 3, ODD(-1.5) returns -3 and ODD(0) returns 1. An odd integer is returned unchanged, and text returns #VALUE!.

Syntax

ODD(number)

Category: Math. Minimum arguments: 1. Maximum arguments: 1.

Available for supported offline calculation.

Examples

=ODD(3)

The formula returns 3, which is already odd.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

See Also