Re: solving for all possible combinations of a set of numbers
- From: "Max" <demechanik@xxxxxxxxx>
- Date: Mon, 11 Jul 2005 09:05:50 +0800
Another play which generates the desired results (but in a single column
separated by hyphens) that you might wish to delve into:
http://tinyurl.com/c2dpo
The play is extendable to handle up to a max 6 x 6 matrix (total: 36
different numbers) which generates 6^6 = 46,656 combos. The next step up, a
7 x 6 matrix, will yield 7^6 = 117649 combos, which would exceed Excel's max
65536 rows <g>.
Modification steps are given in a later post in same thread:
http://tinyurl.com/9v6s2
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <at>yahoo<dot>com
----
"tradersm" <tradersm@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:93D9C21A-C5DC-4BA8-B832-B30E3C523732@xxxxxxxxxxxxxxxx
> Hi
>
> Let's say I have 6 sets 2 numbers:
>
> 1 2 3 17 18 19
> 7 8 9 10 11 12
>
> What sort of function can I use to show all the possible combinations,
where
> each number stays in its own column?
>
> For example, the first combination of 6 would be:
>
> 1 2 3 17 18 19
>
> then
>
> 1 8 3 17 18 19
>
> then
>
> 1 2 9 17 18 19
>
> etc, where the 1 and the 7 stay in column 1, the 2 and the 8 stay in
column
> 2, etc.
>
> TIA!
>
>
>
>
.
- Follow-Ups:
- Re: solving for all possible combinations of a set of numbers
- From: tradersm
- Re: solving for all possible combinations of a set of numbers
- From: tradersm
- Re: solving for all possible combinations of a set of numbers
- References:
- solving for all possible combinations of a set of numbers
- From: tradersm
- solving for all possible combinations of a set of numbers
- Prev by Date: Re: CMD Button Help!!!!
- Next by Date: Re: how to overwrite a value without loosing the formula?
- Previous by thread: Re: solving for all possible combinations of a set of numbers
- Next by thread: Re: solving for all possible combinations of a set of numbers
- Index(es):