Documentation / User FAQ / Calc / Previous-Next
One method (this example assumes that you wish to put your row numbers in column A):
Note: If you add or insert new rows, you will have to copy the formula to the new cells.
Documentation / User FAQ / Calc / Previous-Next