Auto-increment and later sort

dgpenny

New Member
Joined
Jan 1, 2004
Messages
46
I need to auto-increment rows in column A as new data is entered. I can do that. Later, after many rows of new data is entered, I need to sort the rows added along with the rest of the sheet in alphabetical order, while retaining the row number for column A.
For example:
A B
1 names
2 names
3 names
. ...
. ...
. ...
20 NEW names
21 NEW names
22 NEW names
Then sort all names in alphabetical order, with the numbers in col A following the names.
Thanks.
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
If you include column A in the sort range this happens anyway.

However, if column A contains formulas then need to Copy .. Edit/PasteSpecial .. Values first.
 
Upvote 0

Forum statistics

Threads
1,214,853
Messages
6,121,935
Members
449,056
Latest member
denissimo

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