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

How do you create a model to generate combinations of words or numbers

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,290
Default Combination Models

jeep,

Very tediously.

John Walkenbach has a small piece of recursive code, of unknown origin, on his web site that
does combinations. I have yet to hear from anybody that actually understands it. (I don't)

I've written an Excel add-in "Display Word Combinations" that uses that code along with
6 plus pages of additional code. The add-in does the following...

All possible permutations for a series of characters are determined.
( 3 to 8 characters - letters or numbers)
Duplicate combinations are eliminated and a listing of the result is added
to the first empty column on the worksheet.
Valid words in the list are highlighted and shown at the top of the list.

The add-in is available - free - upon direct request.
Remove xxx from my email address.

Regards,
Jim Cone
San Francisco, CA
XX

"jeep " wrote in message ...
How do you create a model to generate combinations of words or numbers?
Message posted from
http://www.ExcelForum.com/

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Combination Models

You seem to be using combinations and permutations interchangably. Johns
code does permutations. combinations are something different.

--
Regards,
Tom Ogilvy

"Jim Cone" wrote in message
...
jeep,

Very tediously.

John Walkenbach has a small piece of recursive code, of unknown origin, on

his web site that
does combinations. I have yet to hear from anybody that actually

understands it. (I don't)

I've written an Excel add-in "Display Word Combinations" that uses that

code along with
6 plus pages of additional code. The add-in does the following...

All possible permutations for a series of characters are determined.
( 3 to 8 characters - letters or numbers)
Duplicate combinations are eliminated and a listing of the result is added
to the first empty column on the worksheet.
Valid words in the list are highlighted and shown at the top of the list.

The add-in is available - free - upon direct request.
Remove xxx from my email address.

Regards,
Jim Cone
San Francisco, CA
XX

"jeep " wrote in message

...
How do you create a model to generate combinations of words or numbers?
Message posted from
http://www.ExcelForum.com/



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,290
Default Combination Models

Tom,

Thanks for pointing that out, I got careless...

"Fundamental Statistics for the Behavioral Sciences"...
Combinations: The number of ways objects can be selected without regard to order.
Permutations: The number of ways objects can be arranged taking ordering into account.

Regards,
Jim Cone
San Francisco, CA

"Tom Ogilvy" wrote in message ...
You seem to be using combinations and permutations interchangably. Johns
code does permutations. combinations are something different.
Regards,
Tom Ogilvy


-snip-
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
do you have examples of make vs. buy models in Excel? tdf2437 Excel Discussion (Misc queries) 0 March 31st 10 08:04 PM
Forecast Models gary Excel Discussion (Misc queries) 0 June 23rd 08 09:18 PM
Charting a comparison of models kamm Charts and Charting in Excel 1 November 13th 07 07:14 PM
Step cost models in Excel BostonBill Excel Discussion (Misc queries) 2 August 2nd 07 07:30 PM
Printing on different printers (makes/models etc) Chuckee Excel Discussion (Misc queries) 1 February 23rd 07 03:52 PM


All times are GMT +1. The time now is 07:52 PM.

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"