Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
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
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
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

Do you realize how many potential combinations you could have from 12
rows and 13 columns? (Hint: type =12^13 in a cell somewhere).

Pete

On Aug 6, 11:45*am, Rizwan wrote:
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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create a list of permutations and combinations? Malcolm Excel Discussion (Misc queries) 3 May 20th 23 03:44 AM
How to create a complete list of combinations from 5 options Nevermore Excel Discussion (Misc queries) 6 July 5th 09 04:04 PM
Can I create a macro to generate an email once the data is entered Susan Excel Discussion (Misc queries) 1 October 24th 08 03:02 AM
Permutations or Combinations or some other function?? Mark Siler Excel Discussion (Misc queries) 4 December 23rd 06 04:22 PM
Macro to add numbers to create combinations that equal certain amo Lauren qt314 Excel Discussion (Misc queries) 3 April 21st 05 05:57 PM


All times are GMT +1. The time now is 04:00 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"