excel formulas

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

xforgive the lack of ecel lingo, but...

i'm trying to create a column of sequential numbers. right now i have the
formula a2=a1+1, a3=a2+1, etc. if i delete row 4 (for example), all numbers
downward are in error, since the a4 formula is erased. is there anyway to
delete a row without disrupting the sequence? can they be reformulated
automatically?
 
sorry--what goes in the ( )? i tried entering "2" for row 2 or "b2" for cell
b2, but i still get an error message...
 
Entered in A1 & copied down:

=ROW()-ROW(INDEX(A:A,1))+1

would cause no disruption even if row 1 is deleted.
 
ok, i see. =ROW( ) keeps the series of numbers in the column when i delete a
cell. BUT, i'd like to delete the entire row and have the series in the
column adjust accordingly.
First,
1
2
3
4
5
Then, delete row 3. 4 and 5 move up and change to 3 and 4, respectively.
 
That's exactly what it does, but see Aladin's response for a fuller reply.
 
thank you both!

Aladin Akyurek said:
Entered in A1 & copied down:

=ROW()-ROW(INDEX(A:A,1))+1

would cause no disruption even if row 1 is deleted.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

pls. help 1
Sequential Numbering 2
Copying cell formulas 1
Filtering of data in a master excel sheet from multiple sheets 3
Deteting only formulas 4
Formula Drag Across Link Down 2
Formula Question 2
Matrix 1

Back
Top