Assign Unique Account Numbers per Criteria

austinandreikurt

Board Regular
Joined
Aug 25, 2020
Messages
91
Office Version
  1. 2016
Platform
  1. Windows
Hi,
I want to assign in Column A a unique series of account number per company name in Column B. I'm thinking of 6series account numbers that will be assigned per unique company then the numbers will be assigned the same for any duplicates. Note that the series will be based on the order they first appear. In this sample, ignore the numbering of the companies, it doesn't affect the order of series. Below is the sample I want as a result in Account Number. Thanks in advance!

Account NumberCompany A
600001Company 1
600002Company 2
600003Company 3
600002Company 2
600004Company 5
600001Company 1
600005Company 7
600002Company 2
600006Company 9
600007Company 4
600008Company 11
600009Company 12
600006Company 6
600007Company 4
600010Company 10
600011Company 16
600012Company 17
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Upvote 0
Ow great. That was fast and my I didn't find the error in my samples but with the use of formula, it is now corrected. Thanks!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,732
Members
448,987
Latest member
marion_davis

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