Auto Number

amna77

Active Member
Joined
May 9, 2002
Messages
251
Hi, In my column A, I have nubers, like 1 through 300. So my 300 rows are filled with data. Now if I cut the row number 50, then I want numbers to be in right order, I don't want 49, 51. Instead of that I want 49,50,51, etc. you know what I mean?
Any one help me with that.
Thanks in advance
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
set up the numbering using formulas rather than hard coded values:

=row()

or, if the data starts in row2 ('cos of column headings in the first row):

=row()-1

Paddy
 
Upvote 0
Hi

One time I used this:
In first Row (in my case cell A7) I had:

=IF(B7="","",1)

in the Row below I had:

=IF(B8="","",MAX(A$7:A7)+1)

Then:

=IF(B9="","",MAX(A$7:A8)+1)
and so on
 
Upvote 0

Forum statistics

Threads
1,213,529
Messages
6,114,155
Members
448,554
Latest member
Gleisner2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top