Information function

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)
ArgumentWhat it means
numberRequiredThe 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

C2fx=IF(ISODD(A2), "Team A", "Team B")
ABC
1WeekDate
2112026-03-09Team A
3122026-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

C2fx=ISODD(B2)
ABC
1BoxUnits
2B-19.99TRUE

Result: TRUE

9.99 is truncated to 9, which is odd, so the result is TRUE even though the value is almost 10.

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 13 KB

Common errors and how to fix them

ErrorWhy it happensFix
#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.

LanguageFunction name
DanishER.ULIGE
DutchIS.ONEVEN
FinnishONPARITON
FrenchEST.IMPAIR
GermanISTUNGERADE
HungarianPÁRATLANE
ItalianVAL.DISPARI
Norwegian (Bokmål)ERODDE
PolishCZY.NIEPARZYSTE
Portuguese (Brazil)ÉIMPAR
Portuguese (Portugal)ÉÍMPAR
RussianЕНЕЧЁТ
SpanishES.IMPAR
SwedishÄRUDDA
TurkishTEKMİ