ISODD function
Returns TRUE if a number is odd and FALSE if it is even. Any decimal part is dropped before the test.
Available in Excel 2007 and later, Microsoft 365, Excel for the web (in older versions it required the Analysis ToolPak add-in)
Excel 2007 and laterWorks in Google Sheets
Syntax
ISODD(number)| Argument | What it means | |
|---|---|---|
number | Required | The number to test. Decimals are truncated (7.9 becomes 7). An empty cell counts as 0. |
Returns: TRUE for odd numbers, FALSE for even numbers.
How ISODD works
ISODD is the mirror image of ISEVEN: it returns TRUE when a whole number leaves a remainder of 1 when divided by 2. Typical uses are alternating schedules (odd weeks for team A), splitting addresses onto two sides of a street, and checking that a count of items comes in pairs.
The decimal part is removed before testing, so 9.99 is treated as 9 (odd) rather than rounded to 10, and negative numbers work as you would expect (-3 is odd). An empty cell counts as 0, which is even, so ISODD returns FALSE for blanks. Text that is not a number gives #VALUE!.
Examples
1Odd or even week for a rota
| A | B | C | |
|---|---|---|---|
| 1 | Week | Date | |
| 2 | 11 | 2026-03-09 | Team A |
| 3 | 12 | 2026-03-16 |
Result: Team A
Week 11 is odd, so Team A is on duty. Week 12 gives Team B.
2Decimals are cut off, not rounded
| A | B | C | |
|---|---|---|---|
| 1 | Box | Units | |
| 2 | B-1 | 9.99 | TRUE |
Result: TRUE
9.99 is truncated to 9, which is odd, so the result is TRUE even though the value is almost 10.
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#VALUE! | The argument is text that cannot be read as a number. | Test a numeric cell, or convert the text first with VALUE. |
Tips
- Use
=ISODD(ROW())as a conditional-formatting rule to shade odd rows. - To get the week number for a rota from a date, combine with ISOWEEKNUM:
=ISODD(ISOWEEKNUM(B2)).
Google Sheets
ISODD also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.
ISODD 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 |
|---|---|
| Danish | ER.ULIGE |
| Dutch | IS.ONEVEN |
| Finnish | ONPARITON |
| French | EST.IMPAIR |
| German | ISTUNGERADE |
| Hungarian | PÁRATLANE |
| Italian | VAL.DISPARI |
| Norwegian (Bokmål) | ERODDE |
| Polish | CZY.NIEPARZYSTE |
| Portuguese (Brazil) | ÉIMPAR |
| Portuguese (Portugal) | ÉÍMPAR |
| Russian | ЕНЕЧЁТ |
| Spanish | ES.IMPAR |
| Swedish | ÄRUDDA |
| Turkish | TEKMİ |