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

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.

Forum statistics

Threads
1,214,646
Messages
6,120,718
Members
448,986
Latest member
andreguerra

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