ODD function
Rounds a number away from zero to the nearest odd integer.
Available in All versions of Excel, Excel for the web, Excel for Mac
In every Excel versionWorks in Google Sheets
Syntax
ODD(number)| Argument | What it means | |
|---|---|---|
number | Required | The value to round. |
Returns: An odd integer: positive numbers up, negative numbers down.
How ODD works
ODD rounds a number up to the next odd whole number: 8 becomes 9, 2.1 becomes 3, and 7 stays 7. Odd counts matter when something needs a middle: a seating plan with a centre aisle seat, a layout grid with a central cell, a voting panel that must not tie, or a moving average window with a centre value.
Like EVEN, ODD rounds away from zero, so −2.5 becomes −3 and −1 stays −1. A special case worth knowing: =ODD(0) returns 1, because zero is even and the next odd number away from it is 1.
Examples
1Grid with a centre cell
| A | B | C | |
|---|---|---|---|
| 1 | Item | Value | |
| 2 | Grid width | 8 | 9 |
| 3 | Offset | -2.5 |
Result: 9
A width of 8 has no single centre column; ODD gives 9, which does.
2Negative values
| A | B | C | |
|---|---|---|---|
| 1 | Item | Value | |
| 2 | Grid width | 8 | |
| 3 | Offset | -2.5 | -3 |
Result: -3
−2.5 rounds away from zero to the odd integer −3.
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#VALUE! | Non-numeric argument. | Check the input. |
Tips
- Test for odd numbers with ISODD.
- A jury or panel size that cannot tie:
=ODD(required_members).
Google Sheets
ODD also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.
ODD in other languages
In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.
| Language | Function name |
|---|---|
| Czech | ZAOKROUHLIT.NA.LICHÉ |
| Danish | ULIGE |
| Dutch | ONEVEN |
| Finnish | PARITON |
| French | IMPAIR |
| German | UNGERADE |
| Hungarian | PÁRATLAN |
| Italian | DISPARI |
| Norwegian (Bokmål) | AVRUND.TIL.ODDETALL |
| Polish | ZAOKR.DO.NPARZ |
| Portuguese (Brazil) | ÍMPAR |
| Portuguese (Portugal) | ÍMPAR |
| Russian | НЕЧЁТ |
| Spanish | REDONDEA.IMPAR |
| Swedish | UDDA |
| Turkish | TEK |