Unique Random Letters of varying length

neugna

New Member
Joined
Oct 17, 2010
Messages
9
I am fairly adept at excel formulas and have dabbeld in VBA but I am stumped. I have search this forum for days and can't find an answer to this:

I need to be able to fill a column with a list of unique random 2-digit letters (AA, AB, AC, AD, AE, etc.). And I need the amount of letters to be selected from (1-26 or more...BA, BB, etc.) dependent on other qualifiers in that row (similar to a Countifs or Lookup formula).

E.G.:
Col A=list of names, Col B=room # they are in, Col C=group within that room (A, B, or C)

Let's say 10 people are in Room #1 & Group A, then

Col D=list of 10 unique random letters (AA-AJ) for people that are in Room #1 & Group A

But there are 11 people in Room #1 & Group B, so Col D for those people=11 unique random letters (AA-AK)?!?

I realize another sheet & VBA are probably needed for something this specialized. Any help would be much appreciate.
 

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.

Forum statistics

Threads
1,215,355
Messages
6,124,468
Members
449,163
Latest member
kshealy

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