sort but not at random.

tony0217

Board Regular
Joined
Aug 31, 2012
Messages
134
So i have searched for this topic already i promise.
the problem is i have 1 column that goes from a to d.
im trying to develop a way to sort this column in every way and have it post to a new column directly next to it until all possible arrangements have been done.

so im basically rearranging the column and posting it next to the previous one and so on until there are no more possibilities left. using A to E there should be about 5,040 combinations.

How can i accomplish this?
please help thank you.
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Try searching for "permutation" or "combination". This topic has been covered many times.

Using the letters A-E, there are 120 combinations. Using the letters A-G, there are 5040 combinations.
 
Upvote 0

Forum statistics

Threads
1,214,874
Messages
6,122,034
Members
449,061
Latest member
TheRealJoaquin

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