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
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

HalfAce

MrExcel MVP
Joined
Apr 6, 2003
Messages
9,456
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:
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,168,082
Messages
5,857,251
Members
431,866
Latest member
Paula777

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