Contact

ROW in Collabora Office: Row Coordinates, Relative Positions and Vertical Arrays

Lookup Intermediate Collabora Office Calc

Read Collabora row numbers, derive positions inside a table, and return a complete vertical coordinate array with the documented array-entry procedure.

Verification status: See the evidence and test scope described in this guide. How formula examples are checked

Quick answer: ROW returns a worksheet row number. =ROW(B7) returns 7. An ordinary formula using a range returns its first row number; the documented array-entry form returns the corresponding row numbers in one vertical column.

Availability and version history

  • Introduced: the original Collabora release and launch date are not established by the reviewed sources.
  • Availability: documented in Collabora Office 26.04 desktop help.
  • Platform scope: online and mobile deployment support is not inferred from the desktop documentation.
  • Checked: October 14, 2026. Function-specific documentation and independent controls; no native Collabora execution.

Syntax and location dependence

=ROW([Reference])

Reference can be a cell, area or named area. If omitted, ROW uses the cell containing the formula; Collabora says it sets that reference to the current cell.

A row coordinate is different from a count of rows. ROW(D5:F8) entered normally returns 5, while ROWS(D5:F8) counts 4 rows. Neither result counts the number of numeric observations in the block.

Examples use English function names. Array entry is explicitly required wherever more than one row number is expected.

Example 1: inspect fixed references

Formula Expected result
=ROW(B7) 7
=ROW(Z7) 7
=ROW(A20) 20
=ROW(D5:F8) entered normally 5
=ROW(A1:E1) 1

B7 and Z7 occupy different columns but share row 7. The first row coordinate of D5:F8 is 5 even though the rectangle contains four rows and three columns.

Cell contents are not needed to determine these coordinates. A text label, numeric zero or cleared cell at B7 still has the same row position under this structural definition.

Example 2: use the formula’s own row

Place =ROW() in H12. Its expected result is 12. Put the same formula in K4, and its expected result is 4.

An explicit reference overrides that location dependence: =ROW(B7) in H12 still gives 7. This is useful when diagnosing a template where a copied formula changes after moving to another part of the sheet.

Do not confuse the number printed in a record’s identifier column with the worksheet coordinate. A record labeled 100 can occupy row 7, and ROW reports the latter.

Advanced example: number positions within a table

Suppose data occupies D5:F8. In C5 enter and fill through C8:

=ROW(D5)-ROW($D$5)+1

Expected results are 1, 2, 3 and 4. The source row coordinates 5, 6, 7 and 8 become positions relative to the anchored first data row.

The plus one makes the first position 1. Without it, the differences would be 0, 1, 2 and 3, which may be unsuitable for a one-based INDEX row selector.

This position counter follows the layout, not a stable record identity. If rows are reordered or records inserted, do not assume the resulting counter still identifies the same business record as before.

Advanced example: obtain all row coordinates

Select a free four-row, one-column output range, such as H5:H8. Enter the following as an array formula:

=ROW(D5:F8)

The complete expected output down the selected range is 5, 6, 7, 8. The source has three columns, but ROW returns one value per source row rather than twelve cell-by-cell results.

The official array-entry procedure uses the Function Wizard’s Array option or Ctrl+Shift+Enter for direct entry; on macOS the documented modifier is Command+Shift+Enter. Do not manually type the braces used to display an array formula.

Entered normally, this same call returns only 5 under ROW’s documented rule. Choosing a larger output area alone is not a substitute for using the required array entry.

Named and single-row controls

If a named area ReportBlock refers to C1:D3, the array-entered ROW(ReportBlock) produces the vertical values 1, 2 and 3. Use an output region with three rows and one column for that control.

For A1:E1, both ordinary and array forms return 1 because only one source row is present. This explains why a successful one-row test does not establish the behavior of a multirow case.

Invalid references, noncontiguous areas and cross-sheet coordinate arrays remain outside these examples. COLUMN provides the horizontal counterpart, while ADDRESS constructs coordinate text rather than counting or extracting rows.

References and verification

Complete function-specific documentation reviewed. Worked outputs are independently modeled reference, text or arithmetic controls, not captured native application results. Unverified entry, conversion and error boundaries retain their stated scope.