E
EW64
Version: 2008 Operating System: Mac OS X 10.6 (Snow Leopard) Processor: Intel I'm trying to create an Excel spreadsheet with one column indicating sequential line numbers; 1, 2, 3, etc.. My goal is to have a formula where, for example, the 6th line down displays 6 by adding 1 to the line 5 above it. The reason is if there are 50 lines I don't have to number each one manually but the problem I'm encountering is if one line is deleted then all subsequent lines show "#REF!" error message. The formula I created is "=IF(A5>0, A5+1, A4+1)", with the idea that if line 5 were deleted, the formula would look to the next line up (4) and resume the sequence; by deleting the line the result is "=IF(#REF!>0,#REF!+ 1, A6+1)". The problem as best I can determine is by deleting line 5 it doesn't update all formulas below line 5. Any suggestions, or other formulas I should use. Thanks