Generate a Permutation List (NO MACROS!)

mhenk

Well-known Member
Joined
Jun 13, 2005
Messages
591
I need a set of formulas to list all 120 permutations of the letters ABCDE, can anyone help?!
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

i62328

New Member
Joined
Jul 15, 2010
Messages
5
If you only need to do this once, just do out all the permutations, it will not take long if you do it in a systematic manner.

If you need it to be dynamic, meaning the 5 entities are changing, I would do all the permutations out for numbers 1 through 5, and then do a find/replace all:

find "1", replace with "=a1"
find "2", replace with "=a2", etc

with the 5 characters you need listed in a1 through a5.

Is this what you're looking for?
 

Forum statistics

Threads
1,175,652
Messages
5,898,682
Members
434,722
Latest member
Jude_Beh

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
Top