CHOOSECOLS Function in ONLYOFFICE Spreadsheet Editor: Syntax, Examples and Compatibility
Use CHOOSECOLS in ONLYOFFICE Spreadsheet Editor to return selected columns from a wider table in the order you specify. Two original examples, expected results, cautions and official software documentation.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Quick answer: return selected columns from a wider table in the order you specify in ONLYOFFICE Spreadsheet Editor. The reproducible examples below use explicit values so the formula’s meaning is testable without a large workbook.
Evidence: The function name and syntax are documented in the linked vendor function reference. Expected outputs were independently reasoned or checked outside the application. These are not native ONLYOFFICE Spreadsheet Editor test results. A guide being published here does not certify every software release or file-import scenario.
Availability and version history
- Introduced: ONLYOFFICE Desktop Editors 7.3.0. Other client-family introduction versions are not inferred.
- 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
=CHOOSECOLS(array, col_num1, [col_num2], ...)
The array is the original table; column numbers are one-based positions within that array, not worksheet letters.
Best use case: Return selected columns from a wider table in the order you specify.
Set up the example sheet
Fill A2:C3 with the two records below:
| A: Product | B: Region | C: Units |
|---|---|---|
| Pen | East | 12 |
| Pad | West | 5 |
Enter the formula in an unused cell. For a formula returning several values, leave an unobstructed area where those values can expand. These formulas use comma argument separators in a typical English-language locale; commas or semicolons inside quoted text are data, not argument separators. Adapt the separator if your regional settings require it.
Worked example 1: CHOOSECOLS with known input
=CHOOSECOLS(A2:C3,3,1)
Expected output: two columns: 12, Pen and 5, Pad.
Select source column 3, followed by source column 1. Output order follows the argument order.
Worked example 2: a second CHOOSECOLS case
=CHOOSECOLS(A2:C3,2)
Expected output: one column containing East, West.
Select only the second column from the source range.
Compare both results before replacing literal values or short sample ranges with your own workbook data. For a spilling formula, compare every output cell, not only the top-left result.
Practical advice and troubleshooting
When this formula helps: This function can reorganize data for exports without moving the original source columns.
Important edge case: An invalid column index (zero or beyond the source width) returns an error. Ensure the spill area is empty.
If the result differs, first verify the text-versus-number types of the input cells, the argument separators for your locale, and the range size. For dynamic arrays, inspect occupied cells in the output area. An error that looks like a missing function may reflect a software version rather than incorrect data.
Compatibility and version considerations
The ONLYOFFICE Spreadsheet Editor function list confirms this function name, but available desktop/server releases can differ. ONLYOFFICE documents commas for English formula arguments. Google Sheets and recent Excel support CHOOSECOLS; many older programs lack this dynamic-array convenience function. The Excel/Google comparison is background only, not a claim of identical behavior in ONLYOFFICE Spreadsheet Editor.
Excel CHOOSECOLS is a modern Microsoft 365/2024 function; Google Sheets includes it in the current function catalogue.
Function availability and parameter behavior must be judged for the specific application and release; a function documented in one spreadsheet does not automatically work in another.
Application-specific source note: The ONLYOFFICE Spreadsheet Editor function list confirms this function name, but available desktop/server releases can differ. ONLYOFFICE documents commas for English formula arguments.
Formula separator: These examples use commas for the function-argument separators. Locale settings can change entry conventions.
Related guides and official documentation
-
ONLYOFFICE Spreadsheet Editor documentation for CHOOSECOLS — function syntax and current vendor information.
Editorial verification: Function name checked in official vendor catalogue on 2026-10-12. The two example outputs are independently reasoned; no native application run, screenshot, or version-specific output is claimed. Review the editorial testing standards if you require stronger proof before importing a workbook.