16 character permutation possible???

wacked

New Member
Joined
Jun 14, 2011
Messages
16
Im new to Excel and was wondering if it were possible to make or find a copy/paste code that would generate 16 different characters either permutation or combination with repitition. The 16 characters consist of 6 letters (A-F)and 10 numbers (0-9)
Ive found permutation calculators but 16 is to large and will only hold 10.:(
Please help even if its to learn the code. Thanks
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Generating a 16 digit hexadecimal number with a formula is pretty easy. But you want every possible 16 digit hexadecimal number?

What version of Excel are you using?
 
Upvote 0
Hi and welcome to MrExcel!

By my reckoning there are 18000 trillion possible values. Surely you don't want all of them in a spreadsheet??? Would it be easier to state the problem you are trying to solve and we can work on that?

Andrew
 
Upvote 0
Thanks for the quick reply. Yes i need every possibile hexadecimal. I believe there are 1,040,800. I am using Office 2007
 
Upvote 0
Thank you Andrew. Im not sure, Ive never used a work sheet before. Basically what i need is a list of those hexadecimals and for each one i need to put 3 or 4 different columns next to it. like a name, a number and a group name. eventually i need to be able to sort these hexadecimals by group name or by number or by name with the push of a button.
 
Upvote 0
Oops! I think i left out a big part of my question! LOL Did i mention that i only need 16 different hexadecimals but only in a string of 5, with repitition? Sorry bout that
 
Upvote 0
Are there 16 characters each of which contains one of a possible 16 values?

For instance from:
0000000000000000
0000000000000001
0000000000000002
etc.
to :
FFFFFFFFFFFFFFFD
FFFFFFFFFFFFFFFE
FFFFFFFFFFFFFFFF

If that is the case, then the number of possible combinations is 16^16.

Andrew
 
Upvote 0
If that's the case:
Prior to XL2007, you will need to load the Analysis Toolpak for this:

=DEC2HEX(RANDBETWEEN(0,1048575),5)
Copy down.
 
Upvote 0

Forum statistics

Threads
1,224,587
Messages
6,179,734
Members
452,939
Latest member
WCrawford

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