nywi6100

New Member
Joined
Oct 14, 2018
Messages
1
Hi there. So I have a list of name of students. The list needs to remain in a specified order. But, I need to assign a sequential number to each student in a class. Looking for advice on how to do this. The list will never be more than a few hundred lines long. Again, I need the sort order to stay as is. Names may change a fair amount, but the sort will not change. Looking for a formula to handle this.


Student Home Room Desired Result

Jack Zimmer 1
Shawn Parker 1
Emily Zimmer 2
Paul Johnson 1
Teddy Johnson 2
Mike Zimmer 3
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Welcome to the MrExcel board!

Try this, copied down.

Excel Workbook
ABC
1StudentHome RoomDesired Result
2JackZimmer1
3ShawnParker1
4EmilyZimmer2
5PaulJohnson1
6TeddyJohnson2
7MikeZimmer3
Numbering
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,946
Messages
6,122,401
Members
449,081
Latest member
JAMES KECULAH

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