EVEN Function in ONLYOFFICE: Formula and Examples
Round numeric quantities to even integers for pair-based packaging, allocation and batch sizes.
Verification status: Official documentation referenced; example outcomes independently reasoned or arithmetically checked where stated. Not executed in ONLYOFFICE Spreadsheet Editor. How formula examples are checked
EVEN in ONLYOFFICE Spreadsheet Editor
Quick answer
Use =EVEN(number). This is the exact English argument order in ONLYOFFICE’s official EVEN reference. The guide gives reproducible input data and expected outputs independently checked with Python decimal arithmetic; it does not claim any native ONLYOFFICE execution.
Purpose: when EVEN is useful
Use EVEN when an operational quantity must land on an even whole number, such as seating pairs or components packed two at a time. The ONLYOFFICE EVEN reference describes rounding to an even integer. The function is not a Boolean test of whether a number is already even; use ISEVEN for that distinction.
Exact function syntax and argument contract
=EVEN(number)
| Argument | Requirement/type | Meaning | Example reference |
|---|---|---|---|
number |
Required numeric value | The number to round to an even integer. | A2 |
The official argument table lists 1 required numeric argument, with no optional parameters or defaults stated. Placeholder names in the syntax are not values; replace them with appropriate numeric literals, references or expressions. A referenced cell containing number-formatted text should not be treated as safely numeric without checking the installed build.
Product version, editor platform and formula language
this guide uses the unversioned English ONLYOFFICE Docs Spreadsheet Editor function catalogue and the function-specific article, each accessed 2026-10-11 UTC. The article documents the function name and English syntax, but does not name the first supported release. The catalogue documents available functions for Docs; it is not a tested compatibility matrix for all server builds, Desktop Editors, mobile apps, or embedded integrations. No actual Docs web or Desktop installation was available to execute the examples. A product-release banner is not evidence that this function behaves identically in every edition or build.
For the English formulas in this guide, type =, then the function name and parentheses; the official insertion instructions show that multiple arguments use commas. The Advanced Settings reference documents a Formula Language selector and regional configuration. Localized function names, decimal punctuation and argument separators may differ; verify these on the actual user installation. Data below use a period as decimal separator. A displayed number format is not proof of the stored numeric value.
Reproducible practice sheet
Enter numeric requested quantities in A2:A11. Examples include fractional requests; the expected signed outputs are calculated using Excel-style away-from-zero rounding, not observed ONLYOFFICE runs.
| Row | A: number | B: expected result |
|---|---|---|
| 2 | 1 |
2 |
| 3 | 2 |
2 |
| 4 | 2.1 |
4 |
| 5 | 3.9 |
4 |
| 6 | -1 |
-2 |
| 7 | -2 |
-2 |
| 8 | -2.1 |
-4 |
| 9 | 0 |
0 |
| 10 | 7.01 |
8 |
| 11 | -7.01 |
-8 |
Enter the formula
=EVEN(A2)
- Open a new worksheet and enter the table numbers as numeric cells, not quoted strings. For signed numbers, use the minus sign before the digits.
- Select the result cell next to the first row. Enter the formula shown below, using the English punctuation.
- Fill down through the example range. For the QUOTIENT zero-divisor case, enter the separate IF guard formula instead of an unguarded division.
- Compare outputs to the independently calculated expected results in the table and companion CSV. The values here have not been observed running in ONLYOFFICE.
- Change a copy of one input at a time, and document the program version and actual result for any discrepancy. Do not overwrite the original test cells.
The table shows expected results, not screenshots or native observations. The companion data/math-integer-fixtures.csv preserves the corresponding explicit formulas and inputs. Zero, negatives and decimal inputs are included to make differences visible.
Advanced worked examples and expected outputs
Allocate a completed quantity to pairs
=EVEN(A5)/2
Expected output: 2. 3.9 units round to 4 under the expected rule, corresponding to two pairs. This is independently reasoned, not a native ONLYOFFICE observation.
Check if a request stays within a four-unit limit
=IF(EVEN(A4)<=4,"FITS","EXCEEDS")
Expected output: FITS. A4 is 2.1 and the expected even allocation is 4. This is independently reasoned, not a native ONLYOFFICE observation.
Check even rounding of a signed shortfall
=EVEN(A8)
Expected output: -4. A8 is −2.1. This is an Excel-documented away-from-zero expectation, not a native ONLYOFFICE test. This is independently reasoned, not a native ONLYOFFICE observation.
Measure added whole units for a positive request
=EVEN(A4)-A4
Expected output: 1.9. The pair requirement increases 2.1 to 4, a difference of 1.9 units. Avoid using fractional physical inventory unless a business policy permits it. This is independently reasoned, not a native ONLYOFFICE observation.
Practical use: pair packaging
Suppose A4 contains 2.1 requested units, and the warehouse must prepare an even whole count. The expected EVEN(A4) quantity is 4. The difference from the request is 1.9. If you purchase sealed pairs and only whole items can be requested, verify the source quantity is valid before rounding; EVEN does not check warehouse stock or create an order.
How it differs from rounding to decimals
EVEN always targets an even integer. It does not have a second num_digits argument, and it does not implement tie-to-even (banker’s) decimal rounding. An ordinary ROUND formula has a distinct purpose and should not be substituted without checking requirements.
Frequent mistakes, edge cases and limits
- Treating EVEN as a parity test:
=EVEN(3)predicts 4, while=ISEVEN(3)is a true/false check. - Confusing nearest-even rounding with ordinary nearest integer rounding: 2.1 is expected to go to 4, not 2, because the target must be an even integer.
- Assuming signed values move numerically upward: an away-from-zero adjustment to −2.1 predicts −4, which is less on the number line. ONLYOFFICE negative semantics still need native verification.
- Treating displayed precision as the stored number: 2.0001 can display as 2.00 while still needing an even-rounding adjustment.
- Using this for financial rounding to cents: even integers are whole units, not two decimal places or banker’s rounding.
- Forgetting input rules: numeric text, booleans, errors and array behaviour need release-specific testing beyond the official example.
Troubleshooting and release-sensitive checks
- Formula displays literally rather than calculating. Check that it starts with
=and that the result cell is configured to accept formulas rather than text. Insert the function from the Formula tab if unsure. - Function name is unknown or arguments are rejected. Search the installed Insert Function dialog for the function; confirm the exact edition/build, formula language, regional separator and copied punctuation.
- Result differs from an example. Compare the raw input cells, numeric types and signs. Check whether a value merely looks rounded due to display formatting. Compare against the expected-results CSV rather than an unrelated screenshot.
- Excel output differs from ONLYOFFICE. Use the same literal inputs, cell number formatting and locale in both programs, compare actual build versions and save a minimal test case. Do not call it a vendor defect without reproducing it.
- Need an audit trail. Save the exact input workbook, the function formula, output cells, screenshots where permitted, operating system, product edition/build and regional settings. The original inputs should remain unchanged.
Cross-compatibility: Excel, web Docs and Desktop
Excel: Microsoft explicitly defines EVEN as rounding away from zero for both signs and leaves existing even integers unchanged. For ONLYOFFICE, the source article confirms the name, one numeric argument and even-integer goal, but does not separately document signed direction. Treat negative predictions as transfer-test fixtures, not evidence of parity. Desktop and web version differences cannot be ruled out from the English help alone.
- Current ONLYOFFICE Docs English help: documents name, purpose and argument signature. That is documentation checking, not native build testing.
- ONLYOFFICE Desktop Editors: same-brand product, but the current Docs function article does not document a first supported Desktop version. Desktop testing remains pending.
- Mobile and integrations: not established by this documentation alone. Test relevant embedded implementations before describing them as compatible.
- Other spreadsheet engines: a shared function name is not a guarantee of matching coercion, error types, sign rules or locale treatment.
Microsoft’s official Excel EVEN function article was checked as cross-software comparison evidence only, not as proof that ONLYOFFICE behaves identically for edge cases.
Related references and checked links
These vendor references were checked as documentation links, not as live internal Spreadsheet-Tutorials.com pages:
Official reference and verification
- ONLYOFFICE Spreadsheet Editor — function documentation
- function catalogue
- Advanced Settings reference
- ISEVEN — official ONLYOFFICE function reference
- ODD — official ONLYOFFICE function reference
- ROUND — official ONLYOFFICE function reference
- ABS — official ONLYOFFICE function reference
Verification status: Official documentation checked; example outcomes were independently reasoned or arithmetically checked where applicable. Not executed in ONLYOFFICE Spreadsheet Editor.
- No genuine ONLYOFFICE Spreadsheet Editor screenshots are included; this guide does not use mock application images.