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
 

Some videos you may like

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

motilulla

Well-known Member
Joined
Feb 13, 2008
Messages
1,811
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:

Watch MrExcel Video

Forum statistics

Threads
1,122,230
Messages
5,594,947
Members
413,953
Latest member
Arthur1471

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