Need formula to generate 5000 6 digit alphanumeric characters

kimhandler

New Member
Joined
Aug 1, 2012
Messages
2
My town conducts a survey of our residents every year using zoomerang. We want to provide each household with a unique 6-digit alphanumeric character (like B3LM25 or K7ST46) in order to access the survey. I need to provide our printer with a file/list of 5000 different codes so he can print one on each postcard we mail out to residents giving them their code.

By their nature, I won't be doing any further calculations with these codes so they can be saved as text. I've figured out how to use the "=char(randbetween(65,90))" function to generate the a single letter, but I can't figure out how to string 6 functions together in one cell to generate the letters and numbers.
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Just use the ampersand to concatenate. See if you can adapt this:

=CHAR(RANDBETWEEN(65,90))&CHAR(RANDBETWEEN(48,57))
 
Upvote 0
Hi Kim,

I have a password generator you can have a copy of, it produces upper & lower case alphanumeric of any length and any amount (I say any, I've only produced a few thousand of up 28 characters long, but you get the idea)

Cheers
Colin
 
Upvote 0
Thank you Andrew....that worked beautifully. I am not in the programming field, so I also learned a new word today--concatenate--Thank you!!
Kim
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,731
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