Excel ODD Function

Basic Description

The Excel Odd function rounds a supplied number away from zero (i.e. rounds a positive number up and a negative number down), to the next odd number.

The syntax of the function is:

ODD( number )

Where the number argument is the numeric value that you want to round.


Odd Function Examples

The following spreadsheet shows several examples of the Excel Odd function:

 Formulas:
 AB
1 =ODD( 22 )
21.22=ODD( A2 )
3 =ODD( A2+4 )
40=ODD( A4 )
5-1.3=ODD( A5 )
6-10=ODD( A6 )
7-3=ODD( A7 )
 Results:
 AB
1 23
21.223
3 7
401
5-1.3-3
6-10-11
7-3-3

The above examples show how the odd function always rounds away from zero, to the next odd number. I.e. If the supplied number is positive, it is rounded up (more positive), but if the supplied number is negative, it is rounded down (more negative).

If the number argument is exactly equal to zero, as shown in cell B4 of the example spreadsheet above, the Excel Odd function rounds to the positive value +1.


For further details of the Excel Odd Function, see the Microsoft Office website. Or, for a comparison of the Excel Rounding Functions, see the Excel Rounding Functions page.