Excel function

ODDfunction

Rounds a number away from zero to the nearest odd integer.

All versions
=ODD(A2)
A
B
1
2
3
4
5
6
7

Click a cell in the table to change number. Click -2.5 and 15. Negative numbers move away from zero. Try breaking it on purpose to see the errors.

Result

5

number
A2You can also click a cell in the table

The cell with the number to calculate. Click another value in the table.

What is the ODD function?

=ODD(number)

ODD rounds a number up to the nearest odd integer. Positive numbers get larger, negative numbers get smaller (away from zero).

Use it when a count must be odd, for example a layout that needs one middle slot.

ODD always moves away from 0, so an odd whole number stays as it is while even numbers and decimals move up to the next odd number. Use it for a seating plan that needs a middle seat, a scale with a center mark, or any count that has to be odd.

Arguments

number
The number or cell to round. Text returns #VALUE!.

ODD examples

  1. Example 1. Round a decimal

    =ODD(1.5)

    3.

  2. Example 2. An even integer

    =ODD(2)

    3. Even an integer moves to the next odd number if it is even.

  3. Example 3. Negative numbers

    =ODD(-1)

    -1. It is already odd, so it stays.

  4. Example 4. Seats with a middle seat

    =ODD(A2)

    Setting out an odd number of seats, at least the head count A2, leaves a seat in the middle.

    Head count A2=ODD(A2)
    89
    99
    12.513
    -2-3

Common mistakes

FAQ

What about 0?
ODD(0) is 1, the nearest odd number above 0.
How do I just round up to an integer?
Use ROUNDUP(number, 0).
Round up to even?
Use EVEN. EVEN(3) is 4.