Deleting rows

antman123

Board Regular
Joined
Jan 24, 2005
Messages
72
Hi there. I have a column that is basically a count (e.g. A1 = 1, A2 = 2 A3 = 3 etc...) I was wandering if its possible to delete a row in the middle of the count, and the numbers automatically re-count themselves. Please let me know if i have explained this poorly and i will give a better example.

Thanks

Ant
 

Some videos you may like

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"

HalfAce

MrExcel MVP
Joined
Apr 6, 2003
Messages
9,454
Hi Ant, (Nice quote too... :biggrin: )
I don't know how you entered the numbering, but maybe try this.
In A1 enter the formula
=ROW()
Now copy this down as far as needed.
When you delete row(s) the numbers stay current.

This what you're looking for?
Dan
 

antman123

Board Regular
Joined
Jan 24, 2005
Messages
72
Thanks Dan! Thats exactly what i needed! The count doesnt start at row 1 though. So i just did =Row() - 1 and it worked!!

My quote isnt an original im afraid.. I stole it from a NO FEAR poster! :biggrin:
 

Watch MrExcel Video

Forum statistics

Threads
1,122,576
Messages
5,596,968
Members
414,115
Latest member
SFUser

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
Top