Get all possible permutations

Rahulwork

Active Member
Joined
Jun 9, 2013
Messages
284
Hello Team,

I want to make all possible permutations of a name.

I have a name like X Y Z and i have separate this name on the basis of space so now I have

A1 - X
B1 - Y
C1 - Z

In D1 I want to get all possible permutation of X Y Z for example X Y Z or Y X Z or Z X Y and so on.. or should be there to differentiate.. pls help.

Thanks
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Hello Team,

I want to make all possible permutations of a name.

I have a name like X Y Z and i have separate this name on the basis of space so now I have

A1 - X
B1 - Y
C1 - Z

In D1 I want to get all possible permutation of X Y Z for example X Y Z or Y X Z or Z X Y and so on.. or should be there to differentiate.. pls help.

Thanks

Hello Rahulwork , in that case I will suggest you to use pgc01 code under this link you will find your answer sure</SPAN></SPAN>

https://www.mrexcel.com/forum/excel-...ml#post1424848

and may be here

https://www.mrexcel.com/forum/excel...st-all-possible-permutations.html#post4598765

Regards,</SPAN></SPAN>
Moti
</SPAN></SPAN>
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,157
Members
453,021
Latest member
Justyna P

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