View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Rizwan[_4_] Rizwan[_4_] is offline
external usenet poster
 
Posts: 1
Default How to create a macro in excel so that it can generate a list ofunique records using all permutations and combinations of the data in eachrow ad column

Hi,

I have a table in excel which has 12 rows and 13 columns:

Ex.
AB BD CJ DG EH FK GD HF II JK KG LN MO
FG IY JH GJ GT GG RT IF GG HH HD OD DO
..
..
..
so on till Row 12

I need a macro such that it can create all permutations and
combinations and populate a table such that every record(row) is
unique and has covered all possible combinations.

Ex.
Combination 1:
AB BD CJ DG EH FK GD HF II JK KG LN MO
AB IY CJ DG EH FK GD HF II JK KG LN MO
AB BD JH DG EH FK GD HF II JK KG LN MO
so on....

Any help will be highly appreciated.

Thanks
Riz