Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Tuna Witch
 
Posts: n/a
Default Permutation Output

Excel can calculate the possible permutations of 3 items out of a total of 5
items (60 possibilities). This is done easily enough using the PERMUT
function.

My Questiion: Can excel (perhaps using VBA???) ouput all of those
permutations?

For example: TIM, JIM, KIM, RIM, PIM these are the 5 data points. I need
an output listing of all possible permutations of 3 (TIM/KIM/RIM;
RIM/TIM/KIM;PIM/JIM/TIM; etc).

Can Excel do this?
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

An example

http://j-walk.com/ss/excel/tips/tip46.htm


Regards,

Peo Sjoblom

"Tuna Witch" wrote:

Excel can calculate the possible permutations of 3 items out of a total of 5
items (60 possibilities). This is done easily enough using the PERMUT
function.

My Questiion: Can excel (perhaps using VBA???) ouput all of those
permutations?

For example: TIM, JIM, KIM, RIM, PIM these are the 5 data points. I need
an output listing of all possible permutations of 3 (TIM/KIM/RIM;
RIM/TIM/KIM;PIM/JIM/TIM; etc).

Can Excel do this?

  #3   Report Post  
Tuna Witch
 
Posts: n/a
Default

Thanks for the help. I can use that algorithm, though it will need to be
modified to return only the combinations of three characters, not the
individual letter combinations of each three character string (there were
over 65000 of these!)

Any idea on how to modify so that it will return what I need?

thanks

"Tuna Witch" wrote:

Excel can calculate the possible permutations of 3 items out of a total of 5
items (60 possibilities). This is done easily enough using the PERMUT
function.

My Questiion: Can excel (perhaps using VBA???) ouput all of those
permutations?

For example: TIM, JIM, KIM, RIM, PIM these are the 5 data points. I need
an output listing of all possible permutations of 3 (TIM/KIM/RIM;
RIM/TIM/KIM;PIM/JIM/TIM; etc).

Can Excel do this?

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 DO YOU GET A "0" OUTPUT FROM A CELLTHAT IS THE PRODUCT OF A V. CARLARIZ Excel Discussion (Misc queries) 1 January 24th 05 11:57 PM
how create/maintain Excel "db" of client, output to Avery address. SunnyCritters Excel Discussion (Misc queries) 1 December 27th 04 10:09 PM
Any way to get around the 240-character line limit on text output? awp Excel Discussion (Misc queries) 3 December 15th 04 12:59 AM
Formating output. JustSomeGuy Excel Discussion (Misc queries) 12 November 29th 04 10:03 PM
Formating output. JustSomeGuy Excel Worksheet Functions 12 November 29th 04 10:03 PM


All times are GMT +1. The time now is 08:34 PM.

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

About Us

"It's about Microsoft Excel"