Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Combination of TWO
=============== I have four basic numbers 1 2 3 4. If I have to make all possible combinations of TWO out of these four basic numbers, then the answer would be SIX =COMBIN(4,2). I am planning to make unique sets out of these combinations. Since there are four basic numbers, I will have to make a grid of 2 X 2 consisting all unique numbers which comes out to be THREE 1. 1-2 & 3-4 (All individual numbers in each set is unique) 2. 1-3 & 2-4 3. 1-4 & 2-3 If I have six basic numbers 1 2 3 4 5 6 and if I have to make all possible combinations of TWO, then the answer would be FIFTEEN =COMBIN(6,2) If I make unique sets out of these combinations, I will have to make a grid of 3 X 2 which comes out to be FIFTEEN 1. 1-2 & 3-4 & 5-6 (All individual numbers in each set is unique) 2. 1-2 & 3-5 & 4-6 3. 1-2 & 3-6 & 4-5 4. 1-3 & 2-4 & 5-6 5. 1-3 & 2-5 & 4-6 6. 1-3 & 2-6 & 4-5 7. 1-4 & 2-3 & 5-6 8. 1-4 & 2-5 & 3-6 9. 1-4 & 2-6 & 3-5 10. 1-5 & 2-3 & 4-6 11. 1-5 & 2-4 & 3-6 12. 1-5 & 2-6 & 3-4 13. 1-6 & 2-3 & 4-5 14. 1-6 & 2-4 & 3-5 15. 1-6 & 2-5 & 3-4 Combination of THREE ================= I have six basic numbers 1 2 3 4 5 6. If I have to make all possible combinations of THREE out of these six basic numbers, then the answer would be TWENTY =COMBIN(3,3). If I have to make unique sets out of these combinations. Since there are six basic numbers, I will have to make a grid of 3 X 2 consisting all unique numbers which comes out to be TEN 1. 1-2-3 & 4-5-6 (All individual numbers in each set is unique) 2. 1-2-4 & 3-5-6 3. 1-2-5 & 3-4-6 4. 1-2-6 & 3-4-5 5. 1-3-4 & 2-5-6 6. 1-3-5 & 2-4-6 7. 1-3-6 & 2-4-5 8. 1-4-5 & 2-3-6 9. 1-4-6 & 2-3-5 10. 1-5-6 & 2-3-4 If I have Nine basic numbers 1 2 3 4 5 6 7 8 9 and if I have to make all possible combinations of THREE, then the answer would be EIGHTY FOUR =COMBIN(9,3) If I make unique sets out of these combinations, I will have to make a grid of 3 X 3 which comes out to be 280 1. 1-2-3 & 4-5-6 & 7-8-9 (All individual numbers in each set is unique) 2. 1-2-3 & 4-5-7 & 6-8-9 .. .. .. .. .. .. 280. 1-8-9 & 2-6-7 & 3-4-5 X------------X------ End of the problem ------X------------X Answer for first scenario was 3 Answer for second scenario was 15 Answer for third scenario was 10 Answer for last scenario was 280 What I want to know is whether there is any mathematical/statistical formula to calculate the result. I want to know is there any way to derive the answer from any formula? Sandy |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Had a hard time listing these 280 sets manually. Anyways, here are
they: 01. 1-2-3 & 4-5-6 & 7-8-9 | 141. 1-4-6 & 2-3-5 & 7-8-9 02. 1-2-3 & 4-5-7 & 6-8-9 | 142. 1-4-6 & 2-3-7 & 5-8-9 03. 1-2-3 & 4-5-8 & 6-7-9 | 143. 1-4-6 & 2-3-8 & 5-7-9 04. 1-2-3 & 4-5-9 & 6-7-8 | 144. 1-4-6 & 2-3-9 & 5-7-8 05. 1-2-3 & 4-6-7 & 5-8-9 | 145. 1-4-6 & 2-5-7 & 3-8-9 06. 1-2-3 & 4-6-8 & 5-7-9 | 146. 1-4-6 & 2-5-8 & 3-7-9 07. 1-2-3 & 4-6-9 & 5-7-8 | 147. 1-4-6 & 2-5-9 & 3-7-8 08. 1-2-3 & 4-7-8 & 5-6-9 | 148. 1-4-6 & 2-7-8 & 3-5-9 09. 1-2-3 & 4-7-9 & 5-6-8 | 149. 1-4-6 & 2-7-9 & 3-5-8 10. 1-2-3 & 4-8-9 & 5-6-7 | 150. 1-4-6 & 2-8-9 & 3-5-7 11. 1-2-4 & 3-5-6 & 7-8-9 | 151. 1-4-7 & 2-3-5 & 6-8-9 12. 1-2-4 & 3-5-7 & 6-8-9 | 152. 1-4-7 & 2-3-6 & 5-8-9 13. 1-2-4 & 3-5-8 & 6-7-9 | 153. 1-4-7 & 2-3-8 & 5-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-4-5 & 2-3-7 & 6-8-9 | 272. 1-8-9 & 2-3-5 & 4-6-7 133. 1-4-5 & 2-3-8 & 6-7-9 | 273. 1-8-9 & 2-3-6 & 4-5-7 134. 1-4-5 & 2-3-9 & 6-7-8 | 274. 1-8-9 & 2-3-7 & 4-5-6 135. 1-4-5 & 2-6-7 & 3-8-9 | 275. 1-8-9 & 2-4-5 & 3-6-7 136. 1-4-5 & 2-6-8 & 3-7-9 | 276. 1-8-9 & 2-4-6 & 3-5-7 137. 1-4-5 & 2-6-9 & 3-7-8 | 277. 1-8-9 & 2-4-7 & 3-5-6 138. 1-4-5 & 2-7-8 & 3-6-9 | 278. 1-8-9 & 2-5-6 & 3-4-7 139. 1-4-5 & 2-7-9 & 3-6-8 | 279. 1-8-9 & 2-5-7 & 3-4-6 140. 1-4-5 & 2-8-9 & 3-6-7 | 280. 1-8-9 & 2-6-7 & 3-4-5 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
One more thing to clarify things out:
Take the first example (01. 1-2-3 & 4-5-6 & 7-8-9) There are three combinations of three numbers and it covers all basic nine numbers 1 2 3 4 5 6 7 8 9 Second example (02. 1-2-3 & 4-5-7 & 6-8-9) Again there are three combinations of three numbers and it also covers all the basic nine numbers but BOTH AS A SET are different from each other. 1 2 3 4 5 7 (the number 7 was in third combination in first example) 6 8 9 (the number 6 was in second combination in first example) I hope this will be helpful to understand the whole scenario. wrote: Had a hard time listing these 280 sets manually. Anyways, here are they: 01. 1-2-3 & 4-5-6 & 7-8-9 | 141. 1-4-6 & 2-3-5 & 7-8-9 02. 1-2-3 & 4-5-7 & 6-8-9 | 142. 1-4-6 & 2-3-7 & 5-8-9 |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Why isn't
1-6-8 & 3-5-7 & 2-4-9 a legal combination. -- Regards, Tom Ogilvy wrote in message oups.com... One more thing to clarify things out: Take the first example (01. 1-2-3 & 4-5-6 & 7-8-9) There are three combinations of three numbers and it covers all basic nine numbers 1 2 3 4 5 6 7 8 9 Second example (02. 1-2-3 & 4-5-7 & 6-8-9) Again there are three combinations of three numbers and it also covers all the basic nine numbers but BOTH AS A SET are different from each other. 1 2 3 4 5 7 (the number 7 was in third combination in first example) 6 8 9 (the number 6 was in second combination in first example) I hope this will be helpful to understand the whole scenario. wrote: Had a hard time listing these 280 sets manually. Anyways, here are they: 01. 1-2-3 & 4-5-6 & 7-8-9 | 141. 1-4-6 & 2-3-5 & 7-8-9 02. 1-2-3 & 4-5-7 & 6-8-9 | 142. 1-4-6 & 2-3-7 & 5-8-9 |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Because it is already there in the list of 280. Have a look at 237th
record 1-6-8 & 2-4-9 & 3-5-7 The basic idea is that there should be 3 combinations of 3 numbers each and all the 9 basic numbers should be covered. The formula that I discoved is as follows but I am not sure if this is mathematically correct. Basic numbers : 9 Combinations: 3 9/3=3 (there should be three steps to arrive to the final answer) step1: =combin(basic numbers,combination)/3 =combin(9,3)/3 =84/3=28 step2: =combin(basic numbers - 3,combinations)/2 =combin(6,3)/2 =20/2=10 step3: =combin(basic numbers - 6,combinations)/1 =combin(3,3)/1 =1/1=1 step1 answer x step2 answer x step3 answer 28*10*1=280 Tom Ogilvy wrote: Why isn't 1-6-8 & 3-5-7 & 2-4-9 a legal combination. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel graph 3 sets of data. 2 sets as lines 1 as column? | Charts and Charting in Excel | |||
Finding equation between two sets of noncontiguous data | Excel Programming | |||
Too difficult for me, please help. | Excel Worksheet Functions | |||
Function/VB Code for finding pattern blocks in number sets? | Excel Programming | |||
Finding unique sets of numbers that total 200 | Excel Programming |