Please excuse an Excel novice. I use Excel rarely and tend to forget how to do things in between uses.
I want an Excel column to keep a running count of its rows.
So I put a 1 in cell A1; then I put =A1+1 in cell A2 ... and so on down the column.
That works fine until I delete a row somewhere after the first and before the last -
then I get a bunch of bad cell references.
How can I tell Excel to compute the value of the current cell as the value of the previous cell+1 AND have Excel refer to the "previous cell" as the "previous cell" rather than a "specific cell"? So when a row is deleted, the formula continues to work for all remaining rows.
I presume that if I get the formula correct, I could add a new row somewhere after row 1 and before row n (n being the last row used); and Excel would automatically adjust the count for the new row and all subsequent rows.
Fancifully: Is there any way to have Excel "automatically" do the same thing when I add a new row after the last used row? I suppose I could do that by copying the formula down the entire column, well past the last used row, but I'd rather not see any count in rows after the last used row.
Thanks.