Automatically move names when numbers are put in sheet

Pinewood

New Member
Joined
Mar 6, 2002
Messages
1
I have in one column names, and when registration takes place, I assign these names numbers, based on when these listed people register.

It looks like this:
Car # Scout
Scout1
Scout2
Scout3
Scout4
Scout5

Example:
Scout5 registers first, and is assigned number 1, Scout4 registers next, and is assigned number 2, Scout2--number3,Scout1--number4, and Scout3--number5

I would like to be able to place the numbers in front of the names, and then have these numbers automatically sort, taking the names assigned to them, to end up like this:

Car # Scout
1 Scout5
2 Scout4
3 Scout2
4 Scout1
5 Scout3

What is the most convenient way to do this?
Thanks,
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Put your scout names in column B when the time comes.

In the cells of column a (starting row 2), put a 1 in cell A2. In cell A3 and then copied down, put:

=if(isblank(b3),"",a2+1) It gives you an *autonumber* type of thing.
 
Upvote 0

Forum statistics

Threads
1,214,965
Messages
6,122,499
Members
449,089
Latest member
Raviguru

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