Excel tables provide a lot of support for data processing and the use of structured references can improve readability.
We want to number rows in an Excel table and we can do it really easily using structured references.
We simply find the row number of the current cell [@] using ROW and then subtract the row number of the column title in the table header. Excel auto-completes the formula as you type and click.
- Type “=ROW([@]) -Row(“
- then click the table header
- Excel enters the cell reference.
- Close the brackets and click Enter
- job done.
— Update 2020-04-18 —
See my more recent post for an alternative method that uses Power Query Editor.