FormulaCamp
Completed
← All functions
Lookup & reference

ROW

Row number.

Syntax

ROW([reference])

Example: =ROW()-1

Available in: All versions

Try it

A tiny spreadsheet with example data. Edit the formula or any number and see the result.

Formula in F2: =ROW(C4)

Example spreadsheet for ROW
ABCDEF
1IDItemPriceStockResult
2101Pen2.51204
3102Notebook480
4103Lamp2515
5104Mug7.540
6105Backpack3912
Result in F2: 4
Practice this in a lesson: ROW, OFFSET, INDIRECT

More in Lookup & reference