A to Z of Excel Functions: The ODD Function
24 April 2023
Welcome back to our regular A to Z of Excel Functions blog. Today we look at the ODD function.
The ODD function
![](http://sumproduct-4634.kxcdn.com/img/containers/main/./the-a-to-z-of-dax-functions--even2-1730996638.png/e8edbfaec2a4f0c999c7e43e5c1072d4.jpg)
It might seem odd, but this function returns a number rounded up to the nearest ODD integer. You can use this function for ensuring a binary number always ends in one [1].
The ODD function employs the following syntax to operate:
ODD(number)
The ODD function has the following arguments:
- number: this is required and represents the value to round.
It should be further noted that:
- if number is nonnumeric, ODD returns the #VALUE! error value
- regardless of the sign of number (i.e. positive, zero or negative), a value is rounded up when adjusted away from zero. If number is an ODD integer, no rounding occurs.
Please see my example below:
![](http://sumproduct-4634.kxcdn.com/img/containers/main/./image2-1675054504.png/b003b583632013cd6bdd71fd7b5c160e.jpg)
We’ll continue our A to Z of Excel Functions soon. Keep checking back – there’s a new blog post every business day.
A full page of the function articles can be found here.