Excel Number Combinations (addition)

MikeGraves

New Member
Joined
Sep 2, 2014
Messages
3
Hi, im sorry if this is a beaten subject but after reading 100 threads, i cant find what i need.
Can someone please tell me how to:

a) I have 40 numbers (percentages)
b) I need every outcome of these 40 numbers (added together) in groups of 6
(so example, 1+2+3+4+5+6, 1+2+3+4+5+7..... to the last potential sequence i guess, 35+36+37+38+39+40)

So example

1 0.100
2 0.214
3. 0.117
...
40 0.225

What is important for me is to have these located within a range.

i.e. High 1.5 Low 1.2 (i can search this , its no issue, index match function will do)

but i need the macro or formula to create it without me doing 1.8m formulas.

Then be able to know, ok

1 3 4 21 22 39 (in range) (obviously the numbers are added)
3 24 16 12 18 40 (in range) (obviously the numbers are added)

Is there some simple (i.e. non genius solution) any one can share. I have read dozens of posts, and while some touch upon this subject, its all different.

Id really really appreciate some help/guidance. Thanks everyone.
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Hi, that would be 3,838,380 combinations such as:
[TABLE="width: 152"]
<tbody>[TR]
[TD]6
[/TD]
[TD]5
[/TD]
[TD]4
[/TD]
[TD]3
[/TD]
[TD]2
[/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]7
[/TD]
[TD]5
[/TD]
[TD]4
[/TD]
[TD]3
[/TD]
[TD]2
[/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]8
[/TD]
[TD]5
[/TD]
[TD]4
[/TD]
[TD]3
[/TD]
[TD]2
[/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]9
[/TD]
[TD]5
[/TD]
[TD]4
[/TD]
[TD]3
[/TD]
[TD]2
[/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]10
[/TD]
[TD]5
[/TD]
[TD]4
[/TD]
[TD]3
[/TD]
[TD]2
[/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]11
[/TD]
[TD]5
[/TD]
[TD]4
[/TD]
[TD]3
[/TD]
[TD]2
[/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]12
[/TD]
[TD]5
[/TD]
[TD]4
[/TD]
[TD]3
[/TD]
[TD]2
[/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]13
[/TD]
[TD]5
[/TD]
[TD]4
[/TD]
[TD]3
[/TD]
[TD]2
[/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]14
[/TD]
[TD]5
[/TD]
[TD]4
[/TD]
[TD]3
[/TD]
[TD]2
[/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]15
[/TD]
[TD]5
[/TD]
[TD]4
[/TD]
[TD]3
[/TD]
[TD]2
[/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]16
[/TD]
[TD]5
[/TD]
[TD]4
[/TD]
[TD]3
[/TD]
[TD]2
[/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]17
[/TD]
[TD]5
[/TD]
[TD]4
[/TD]
[TD]3
[/TD]
[TD]2
[/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]18
[/TD]
[TD]5
[/TD]
[TD]4
[/TD]
[TD]3
[/TD]
[TD]2
[/TD]
[TD]1
[/TD]
[/TR]
</tbody>[/TABLE]

right?
 
Upvote 0
Yes that is correct.
I have 40 nodes of system. The problem is that at times, i need to find an optimum group inside that, which can have obviously multiple solutions.

So i need to be able to calculate all the millions and then isolate within a range, thus, giving 1-1000 possible outcomes.

Obviously the refined analysis will bring very small amounts of final numbers as it will be accurate to say 0.003.

If you can suggest or guide me, id be most most grateful.

Cheers
 
Upvote 0
A formulae based combinations model could be created but I am doubtful about the cpu usage for such task... maybe a vba solution might be more appropriate?
 
Upvote 0
A formulae based combinations model could be created but I am doubtful about the cpu usage for such task... maybe a vba solution might be more appropriate?


I am open to any ideas, the problem is that its not needed to be printed moreso just outcome driven and then run a few filter solutions.

if even i can create a data stream of the outcomes, it would be helpful.

I looked at all the VBA models, and none report with the information i need. hence needing guidance to how to make this work.
 
Upvote 0

Forum statistics

Threads
1,222,175
Messages
6,164,398
Members
451,890
Latest member
JamieS

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top