MAXIFS Function in ONLYOFFICE Spreadsheet Editor: Examples and Syntax
MAXIFS in ONLYOFFICE Spreadsheet Editor: find the highest score on a selected shift using practical sample data, clear expected results, pitfalls and the official function documentation.
Reference checked: Examples have not been run in this spreadsheet application. How we verify guides
Quick answer: Find the highest score on a selected shift. A team tracks inspection scores by shift and needs the highest score from the day shift alone.
This page covers the ONLYOFFICE Spreadsheet Editor implementation specifically. Its example values and expected results are original educational data, not screenshots or claims of a live application test.
Syntax and argument order
=MAXIFS(max_range, criteria_range1, criteria1, [criteria_range2, criteria2], ...)
The argument order above follows the official ONLYOFFICE Spreadsheet Editor documentation. Use the function name shown here, and replace placeholder arguments with ranges, cell references or criteria from your workbook.
Worked example with sample data
| Row | A: Shift | B: Score |
|---|---|---|
| 2 | Day | 50 |
| 3 | Night | 91 |
| 4 | Day | 83 |
| 5 | Night | 77 |
| 6 | Day | 88 |
Enter this formula in a free result cell (outside the input range):
=MAXIFS(B2:B6,A2:A6,"Day")
Expected result: 88.
Why this result is correct: The Day values are 50, 83 and 88. The overall maximum of 91 belongs to Night, so using ordinary MAX on column B would answer a different question.
A second example or variation
=MAXIFS(B2:B6,A2:A6,"Night")
Expected result: 91.
Changing the criterion finds the top Night score.
Common mistakes and troubleshooting
Validate that the score range is numeric and covers exactly the rows corresponding to the shift labels. Use MAXIFS when a condition matters; use MAX for an unconditional maximum.
Also check that the version of ONLYOFFICE Spreadsheet Editor you use supports this function. A formula pasted from another application can fail because of different syntax, date interpretation, array behavior or regional separators. If the result differs, first compare the small dataset above with the expected answer before substituting your real data.
Where this function helps
A team tracks inspection scores by shift and needs the highest score from the day shift alone. Replacing the sample cells with your own ranges lets you reuse the same reasoning. On important spreadsheets, test with a few known rows, verify the final cell formatting and keep a separate copy of the source data.
Practical checks before reusing this formula
MAXIFS finds the largest value after criteria have been applied; it is not necessarily the latest record or the largest row number. Check which number column is being maximized.
If all eligible rows are missing or stored as text, inspect your source data before using the result in a purchasing or inventory decision.
To compare this function with other spreadsheet programs, use our eight-software function comparison. A missing guide does not mean a function is unsupported in another product; check its official documentation.
Official reference and verification
- Official ONLYOFFICE Spreadsheet Editor — MAXIFS reference
- Verification status: Official documentation checked; example outcome 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.