ONLYOFFICE ISEVEN Function: Syntax, Examples, and Common Errors
Use ISEVEN in ONLYOFFICE Spreadsheet Editor to identify even numbers, including zero and negative numbers, and understand truncated decimal inputs.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Quick answer: =ISEVEN(A2) returns TRUE when the number in A2 is even and FALSE when it is odd. According to ONLYOFFICE’s function reference, non-integer numbers are truncated before the test, so =ISEVEN(6.9) is expected to return TRUE. This is a test of parity; it does not round a value to an even number.
Availability and version history
- Introduced: The original introduction version and date are not established by the official sources checked.
- Availability: Documented in the current ONLYOFFICE Spreadsheet Editor help; no final working-version endpoint is established.
- Scope: Docs and Desktop Editors release separately. This unversioned help does not establish availability in every older build, mobile client or deployment.
- Checked: October 14, 2026, against the official function reference. Documentation check; not a new native test.
Syntax and arguments
=ISEVEN(number)
| Argument | Required? | Meaning |
|---|---|---|
number |
Yes | Numeric value or reference whose integer parity should be checked. |
There are no optional arguments or omitted-argument defaults. The result is the logical value TRUE or FALSE, except when an invalid input causes an error. The official ONLYOFFICE ISEVEN page states that decimal values are truncated and that nonnumeric inputs produce #VALUE!. The function reference does not explicitly establish every numeric-text or Boolean coercion case; those require application-specific testing rather than assumptions borrowed from another spreadsheet program.
Reproducible example: even and odd values
Enter the following numbers in column A. Type the formula in B2 and fill it through B8.
=ISEVEN(A2)
| Row | A: Input | B: Expected result | Explanation |
|---|---|---|---|
| 2 | 0 |
TRUE |
Zero is even. |
| 3 | 7 |
FALSE |
Seven is odd. |
| 4 | 8 |
TRUE |
Eight is even. |
| 5 | -2 |
TRUE |
Negative two is even. |
| 6 | -3 |
FALSE |
Negative three is odd. |
| 7 | 6.9 |
TRUE |
Truncation produces 6. |
| 8 | -3.8 |
FALSE |
Truncation toward zero produces -3. |
Validation: These are expected, independently calculated results using integer parity and truncation, not results observed in a running ONLYOFFICE installation. =ISEVEN(-2.99) is also expected to be TRUE because the truncated integer is -2.
Advanced example: check whole-number package quantities
ISEVEN alone accepts fractional values as though they were truncated. When quantities must be whole numbers, gate the even/odd test with TRUNC:
=IF(A2=TRUNC(A2),IF(ISEVEN(A2),"Even whole quantity","Odd whole quantity"),"Check noninteger input")
If A2 is 6, the expected label is Even whole quantity. If A2 is 6.9, it is Check noninteger input, rather than an incorrect approval of a fractional order. This example assumes a numeric A2 and normal IF/TRUNC behaviour; it does not validate text conversion or negative-quantity business rules.
A simpler alternating-row indicator for a sequence of whole-number IDs is:
=IF(ISEVEN(A2),"Group A","Group B")
For A2 = 14 the expected label is Group A. Confirm whether IDs imported as text are truly numeric before relying on the result.
Source-backed parity controls and a stricter quantity rule
The pinned ONLYOFFICE ISEVEN routine first propagates an existing error, converts the scalar through its numeric-conversion method, then tests the low bit. Isolated checks of actual numeric inputs corroborate truncation toward zero for the small positive and negative fractions used here. These checks do not establish the converter’s full locale, text or Boolean contract, nor exact behavior beyond reliable integer precision.
Create PairQuantityAudit, reserving A1:E10. Enter the following numbers in A2:A9. Fill B2 =TRUNC(A2), C2 =ISEVEN(A2) and D2 =IF(A2<0,"Negative quantity",IF(A2<>TRUNC(A2),"Fractional quantity",IF(ISEVEN(A2),"Complete pairs","One unpaired item"))) through row 9.
| Row | A | Expected B | Expected C | Expected D |
|---|---|---|---|---|
| 2 | 0 | 0 | TRUE | Complete pairs |
| 3 | 1 | 1 | FALSE | One unpaired item |
| 4 | 2 | 2 | TRUE | Complete pairs |
| 5 | 5 | 5 | FALSE | One unpaired item |
| 6 | 6 | 6 | TRUE | Complete pairs |
| 7 | 5.75 | 5 | FALSE | Fractional quantity |
| 8 | 6.9 | 6 | TRUE | Fractional quantity |
| 9 | -3.8 | -3 | FALSE | Negative quantity |
The D rule is an explicit application policy: first reject negative quantities, then fractions, then inspect parity. A TRUE value in C8 does not make 6.9 a valid quantity of paired items. Numeric input is a precondition; this model is not a text parser.
Advanced: use an input change to test the policy boundary
Duplicate the sheet and change A8 from 6.9 to 6. C8 stays TRUE, but D8 changes from Fractional quantity to Complete pairs. Next change only A8 to 7: C8 becomes FALSE and D8 becomes One unpaired item. The first change affects validity without affecting parity; the second affects parity within valid whole quantities.
A copied expression such as =ISEVEN($A$2) would test the same zero in every row, masking these differences. Use the relative A2 reference for fill-down and keep the raw input column intact. The complete table and labels were independently calculated; the isolated source test is not native workbook execution or a guarantee of behavior for huge numeric IDs.
Evidence date and scope: The fixed source revision above was retrieved and inspected on October 15, 2026. Cached Help Center references retain their stated October 13–14, 2026 checks. The isolated JavaScript tests use synthetic value/reference types; they do not execute a formula parser, complete calculation engine, workbook or graphical editor. No released-build mapping is inferred from the source commit.
Errors and troubleshooting
| Problem | Likely cause | What to check |
|---|---|---|
#VALUE! |
A nonnumeric argument | Remove nonnumeric labels or review the source cell type. |
| A decimal tests as even | ISEVEN truncates decimals | Check for integers first with A2=TRUNC(A2) if that matters. |
| A negative decimal surprises you | Truncation toward zero, not rounding down | Compare TRUNC(-3.8) with INT(-3.8). |
| An apparently numeric import fails | Value might be text | Examine the imported data; do not assume text is coerced. |
| Every row appears to have the same result | Formula references may be fixed incorrectly | Make sure the copied reference changes from A2 to A3, etc. |
For documentation-based error review, =ISEVEN("apple") is expected to produce #VALUE!; the behaviour of all numerical-looking strings has not been natively checked.
ISEVEN vs. EVEN, ISODD and MOD
ISEVEN tests whether a number is even; EVEN is a rounding function. ISODD performs the complementary oddness test, and MOD(A2,2) can be useful when working with validated whole-number inputs. Do not substitute EVEN for a Boolean test: =EVEN(3) produces a numeric rounded value rather than TRUE/FALSE. Related functions are listed in the official ONLYOFFICE function index.
ONLYOFFICE version, platform and locale notes
The English-language online help identifies this function but does not specify a first-supported ONLYOFFICE version, a complete desktop/web behaviour matrix, or the argument separator used by every locale. Examples use the English ISEVEN name and commas only where multiple arguments are shown in related functions. The ONLYOFFICE Formula tab guide documents access to spreadsheet formulas in web and desktop editors, which is not evidence that every edge case was tested on both. Check the target version and language settings before using localized formulas.
Official sources and verification trail
- ONLYOFFICE ISEVEN reference — argument, truncation rule, Boolean results and nonnumeric error. Accessed 2026-10-13 UTC; documentation has no confirmed edition/version scope.
- ONLYOFFICE function catalogue — identifies ISEVEN as a supported documented function. Accessed 2026-10-13 UTC.
- ONLYOFFICE Formula tab — general formula UI guidance, not version-specific validation. Accessed 2026-10-13 UTC.
Verification limits: Official rules and every displayed example were independently checked. No native ONLYOFFICE execution or localized formula test was performed. Historical release support, undocumented coercion and any array/date-system boundaries noted above remain untested.