Math & Trig
All versions
◉ 16 views
=ODD()
Returns number rounded up to the nearest odd integer.
Applies To:
Excel for Microsoft 365Excel for Microsoft 365 for MacExcel 2024Excel 2024 for MacExcel 2021Excel 2021 for MacExcel 2019Excel 2016
=ODD(number)
Hover argument names in the table for details.
Output typeNumber
Popularity15 / 100
VolatileNo
Dynamic ArrayNo
📥 Download sample .xlsx ▦ Try in Playground
Dedicated file for this function — safe & lightweight · sample data + live formulas
⬇ Download Sample Workbook
A dedicated .xlsx for =ODD() with Persian sample data & live formulas — open in Excel and practice.
- Sheet “Sample” — data table + formula in place
- Sheet “Guide” — syntax, arguments & tips from this page
- Instant & secure (token + rate limit)
🧠 🧠 Quiz this function
%d questions — syntax, example & errors — test yourself!
◧ Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
number |
Number | Required | Required. The value to round. |
▣ Examples
Rounds 1.5 up to the nearest odd integer.
=ODD(1.5)
Result:
3
Rounds 3 up to the nearest odd integer.
=ODD(3)
Result:
3
Rounds 2 up to the nearest odd integer.
=ODD(2)
Result:
3
Rounds -1 up to the nearest odd integer.
=ODD(-1)
Result:
-1
Rounds -2 up (away from 0) to the nearest odd integer.
=ODD(-2)
Result:
-3
§ Remarks
- If number is nonnumeric, ODD returns the #VALUE! error value.
- Regardless of the sign of number, a value is rounded up when adjusted away from zero. If number is an odd integer, no rounding occurs.
✦ Tips
- Regardless of the sign of number, a value is rounded up when adjusted away from zero. If number is an odd integer, no rounding occurs.
⚠ Common Errors
#VALUE!
If number is nonnumeric, ODD returns the #VALUE! error value.
Fix: Convert the text to a number
💬 Comments & Q&A 0 approved
🔒 Your comment will be published after review.Share your thoughts — visible after admin approval
No comments yet — be the first!