Formula for serial number

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

Guest

sir,

In my range of data, the first column is of serial number where in I put 1
in A1 and use the formula A1+1 in A2 and copying the same downwards. It
works perfectly unless I delete a row the range. When I delete a row #REF!
will appear in the remaining rows. Is any way to avoid this, i mean , when I
delete a row the formula should catch the number in the above row +1 in the
next.

please help
 
Try:-

In A1 =ROW(A1)

Drag down and delete a row and see what happens.

Mike
 
You could just use:

=ROW()

to generate your sequence. This would automatically adjust if you
delete a row.

Hope this helps,

Pete
 
It works only when the serial number is same as of the row number.

is there any other way
 
sir,

In my range of data, the first column is of serial number where in I put 1
in A1 and use the formula A1+1 in A2 and copying the same downwards. It
works perfectly unless I delete a row the range. When I delete a row #REF!
will appear in the remaining rows. Is any way to avoid this, i mean , when I
delete a row the formula should catch the number in the above row +1 in the
next.

please help

Change your formula

A2: =$A$1+ROWS($1:1)



--ron
 

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

Auto Serial No 1
help with formula 1
Copying cell formulas 1
List of sequential numbers 5
#Ref! after row deletion 3
2 macro help 7
Deleting lines that use them for formulas 4
Sum Formula with variable range 2

Back
Top