Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default how do i create all possible combinations from a set of nos. in ex

i have to map out all possible combinations for a lottery from a range of 1-4
in excel and i can't find the formula in the Excel help file. can anyone
shed some light on this. it is for a school project in statistics.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default how do i create all possible combinations from a set of nos. in ex

Sounds like you want to determine the number of combinations of r objects
from n objects. I suspect there isn't a "formula" in excel to give you the
combinations, but depending on how many combinations you could possibly have,
might take a while.
--
HTH,
Barb Reinhardt

If this post was helpful to you, please click YES below.



"Combination Confusion" wrote:

i have to map out all possible combinations for a lottery from a range of 1-4
in excel and i can't find the formula in the Excel help file. can anyone
shed some light on this. it is for a school project in statistics.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,510
Default how do i create all possible combinations from a set of nos. in ex

When you say "Map out" do you mean that you want to display all the
combinations or do you want to simply know how many combinations?

To display all the numbers it could probably be done with a macro but you
need to realize that there is a limit on the number of rows. I don't
understand what you mean by "a range of 1-4".

How many numbers is there to select from?
How many does the player select?

However, if you just the total combinations then see COMBIN function in help.


--
Regards,

OssieMac


"Combination Confusion" wrote:

i have to map out all possible combinations for a lottery from a range of 1-4
in excel and i can't find the formula in the Excel help file. can anyone
shed some light on this. it is for a school project in statistics.

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
how do i create all possible combinations from a set of nos. in ex Combination Confusion Excel Programming 0 February 9th 09 12:06 AM
Create possible combinations from three variables JoeD Excel Discussion (Misc queries) 3 April 20th 06 10:20 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 07:00 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"