Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 577
Default list permutations

I need a macro that will produce a list of permutations of the numbers 1-5.
There should be 120 permutations
ex.
1 2 3 4 5
2 1 3 4 5
1 2 4 3 5
etc.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default list permutations

Have a look he
http://www.j-walk.com/ss/excel/tips/tip46.htm
You only will need some minor adaptations to that code.

RBS


"scott" wrote in message
...
I need a macro that will produce a list of permutations of the numbers 1-5.
There should be 120 permutations
ex.
1 2 3 4 5
2 1 3 4 5
1 2 4 3 5
etc.


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
List number of permutations for text nums Max Excel Discussion (Misc queries) 20 December 4th 09 12:25 PM
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 Rizwan[_4_] Excel Discussion (Misc queries) 1 August 6th 09 01:44 PM
List of Permutations when 2 letter is taken at a time Prem Excel Discussion (Misc queries) 5 May 21st 08 07:04 PM
List of Permutations Prem Excel Discussion (Misc queries) 1 May 21st 08 09:19 AM


All times are GMT +1. The time now is 03:15 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"