Function · Rounding

Excel ODD function

The Excel ODD function rounds away from zero to the next odd integer. 2.5 becomes 3. -2.5 becomes -3. A number that is already odd stays put.

All current Excel versions. Also in Excel for the web and Google Sheets.

Syntax =ODD(number)

ODD
=ODD(2.5)

Arguments

NameRequiredWhat to pass
numberRequiredThe number to round away from zero to an odd integer.

Examples

2.5 rounded away from zero to an odd integer

=ODD(2.5)

Result 3

=ODD(B1)B2
Odd
AB
1Value2.5
2Odd3
A picture of the sheet, not a live calculator.

ODD moves away from zero until it lands on an odd integer. 2.5 becomes 3. -2.5 becomes -3. 3 and -3 stay where they are. 0 is even, so ODD(0) is 1, the first odd integer away from zero.

ISODD is the test. ISODD(2.5) is FALSE, because 2.5 is cut to 2. ODD(2.5) is 3. EVEN(2.5) is 4, one step further. The two functions answer different parking rules, not nearest-integer rounding. ROUND(2.5, 0) is 3 in Excel, which happens to match ODD here and would not match it for 3.2: ODD(3.2) is 5, and ROUND(3.2, 0) is 3.