ISODD Function (LibreOffice Calc)
Check odd integer parts with LibreOffice ISODD. Understand truncation of fractional and negative inputs, validate numeric data and avoid confusing parity with rounding.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Quick answer: ISODD tests whether the value truncated toward zero is odd. Fractional inputs are accepted for this truncation-based test.
Availability and version history
- Introduced: Documented by LibreOffice 26.8.1.1; original introduction not established.
- Availability: Supported in LibreOffice 26.8.1.1, verified against its function registry. This identifies a supported release, not a final working version.
- Scope: Desktop Calc, using the English function name. Availability in other spreadsheet applications is separate.
- Checked: 2026-10-14 — function reference; versioned support. Documentation/source check; not a new native test. Existing example-specific test claims below retain their stated scope.
The ISODD function in LibreOffice Calc is used for this task: Returns TRUE if the value truncated to integer is odd. Test whether an integer is odd.
This guide explains how to read the formula, reproduce a concrete example, interpret its result and recognize common input mistakes.
Syntax and arguments
ISODD(value)
| Argument | Required? | Meaning |
|---|---|---|
Value |
Yes | Required numeric value; its fractional part is discarded toward zero before the parity test. |
Calc formulas normally use semicolons (;) between arguments in common configurations; the displayed separator may depend on settings or locale.
Worked example
=ISODD(7)
Expected result: TRUE.
Why it works: Test whether an integer is odd.
How to use it in your own spreadsheet
- Identify the cells or inputs that correspond to the sample values above.
- Enter the formula in an empty cell, changing the references or literal values to match your sheet.
- Compare the output with a manual check on a small known example.
- Extend the formula to a larger dataset only after you understand the result.
Common problems and practical checks
- Be explicit about the difference between TRUE/FALSE, zero, blank cells and text values.
- Consider how errors are handled instead of automatically suppressing them.
- A pasted formula may produce an error when it uses the other program’s argument separator or unsupported options.
Additional worked application and edge cases
Truncation is part of the contract
ISODD checks whether the integer part of its input is odd. Fractional inputs are truncated toward zero before the parity test. They are not rounded to the nearest integer and negative values are not rounded down toward negative infinity.
This means the function can return a valid TRUE/FALSE for a noninteger input. It is not, by itself, a check that an entered quantity was a whole number.
Stepwise example: positive and negative fractions
Put the values below in A2:A7. Enter =ISODD(A2) in B2 and copy down.
| Input | Integer after truncation | Expected result |
|---|---|---|
| 2.9 | 2 | FALSE |
| -2.9 | -2 | FALSE |
| 3.999 | 3 | TRUE |
| -3.1 | -3 | TRUE |
| 0 | 0 | FALSE |
| -0.9 | 0 | FALSE |
For -2.9, truncation gives -2 rather than -3. For -0.9, it gives0. The parity result is therefore determined by that truncated integer, not by the sign of the original value or the digits after its decimal separator.
These expected results are independently derived from the documented truncation rule. The source page also includes fractional and negative examples, so this behavior is not inferred from the original integer-only fixture.
Second example: demonstrate the rounding difference
Use the input 3.999. =ISODD(3.999) tests the integer3. By contrast, =ISODD(ROUND(3.999;0)) first rounds to4 and tests that different value. The expected results are TRUE then FALSE.
Choose whether rounding or truncation matches the problem before applying a parity test. Do not introduce ROUND merely to make a displayed result match an expected label.
Advanced application: label a verified integer identifier
For an identifier stored numerically as 14 in D2, =IF(ISODD(D2);"Odd";"Even") is expected to return Even. If the data must contain whole numbers, check that requirement independently, for example by comparing a validated numeric input with TRUNC(input).
A row-banding rule can use =ISODD(ROW()) when the parity of the worksheet row is the intended basis. That is different from classifying a record’s identifier, which can remain unchanged when rows are rearranged.
Errors, coercion and compatibility
Supply a numeric input. Arbitrary nonnumeric text cannot be assigned numeric parity and produces an error rather than a meaningful TRUE/FALSE. Imported numeric-looking text should be explicitly validated or converted under the intended locale instead of relying on undocumented coercion settings. Upstream calculation errors are not repaired by the parity function.
At very large magnitudes, spreadsheet numbers may no longer represent every neighboring integer exactly. A parity classification of a rounded stored number does not recover the last digit of an originally precise identifier. Store long account-like identifiers as text and use an appropriate text rule when exact digits matter.
LibreOffice separately documents ISODD_ADD as a compatibility function corresponding to the Microsoft Excel2003 name, and recommends the unsuffixed function for international-standard behavior. This guide covers ISODD; the similarly named compatibility function is not silently substituted or merged into it.
Verification scope for this addition: These added results were independently calculated or derived from the cited documentation/source. They were not newly tested in LibreOffice Calc. The original example-specific Calc 25.2.3.2 claims elsewhere on this page remain historical and apply only to those original examples. The cited 26.8.1.1 source tag is a code reference, not a claim of a new run in that release.
Related functions
Documentation and verification
- LibreOffice Calc Help
- The standalone example was calculated using LibreOffice Calc 25.2.3.2 on October 9, 2026 and its computed result matched the expected value. This does not certify every option, version, or other example.