Grid Sum (it could be all way possible from min to max)

motilulla

Well-known Member
Joined
Feb 13, 2008
Messages
2,362
Office Version
  1. 2010
Hello,

I have a grid constructed with 9 columns & 7 rows using cells B3:J9 random numbers are filled in each rows
I want to pick
1 number from each row and create a list in columns M:S with all possible sums could be made from minimum to maximum

Given example below show min sum could be made 1 & max sum could be made 252


Book1
ABCDEFGHIJKLMNOPQRS
1All Possible
2n1n2n3n4n5n6n7n8n9SumC1C2C3C4C5C6C7
30921385481910100000
410482911221722
5490112537153
6348061049214
70103522463111,,,
82210141316175,,,
951027101431522,,,
10,,,
11,,,
12,,,
13249
14250
15251
1625248291549632127
17
Hoja3
Cell Formulas
RangeFormula
L3=SUM(M3:S3)
L16=SUM(M16:S16)


So my request is it possible could be made all possible list of combinations from min & max sum 1 to 252

Thank you all

Excel 2000
Regards,
Moti
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Hi, your request is pretty vague, what exactly do you want to do ?

Can you post an example of what the results should be ?
 
Upvote 0
Hello, I think you are correct instead saying all possible sums; really I want all possible combination could be made with this 9*7 grid picking 1 number from each row and generating all combinations in the set of 7

May be like this


Book1
ABCDEFGHIJKLMNOPQR
1
2n1n2n3n4n5n6n7n8n9C1C2C3C4C5C6C7
3092138548190143025
410482911221720043021
5490112537150443020
63480610492108430227
70103522463111029430210
82210141316175011430214
95102710143152202243023
10017430215
1102430222
12
139143025
149043021
159443020
1698430227
17929430210
18911430214
1992243023
20917430215
2192430222
22
232143025
242043021
252443020
2628430227
27229430210
28211430214
2922243023
30217430215
3122430222
32
Hoja4


Thank you all

Regards,
Moti
 
Upvote 0
Hello,

Here is an another simple example I think I am clearer now I want to make all combinations with only row 3 (9 numbers) I have made manually with number 0 please I need VBA help which can make combination with rest of the row 3 (numbers 9-2-1-3-8-5-48 and 19) like same way as demonstrated wit 0


Book1
ABCDEFGHIJKLMNOPQR
1
2n1n2n3n4n5n6n7n8n9C1C2C3C4C5C6C7
3092138548190143025
410482911221720043025
5490112537150443025
6348061049210843025
7010352246311102943025
8221014131617501143025
95102710143152202243025
1001743025
110243025
12
130143025
140193025
150103025
1601113025
170123025
180153025
190133025
200173025
2101153025
22
230143025
240144025
250148025
260140025
270146025
2801410025
2901449025
300142025
310141025
32
330143025
3401431025
350143325
360143525
370143225
3801432425
3901436325
400143125
4101431125
42
430143025
4401430215
450143005
4601430145
4701430135
4801430165
490143015
500143075
510143055
52
530143025
540143021
550143020
5601430227
5701430210
5801430214
590143023
6001430215
6101430222
62
Hoja2


Please help

Thank you all

Excel 2000
Regards,
Moti
 
Upvote 0
Hello, Please ignore this thread I am not clear with my question sorry for the trouble I will think again and post it again correctly

Thank you all

Regards,
Moti
 
Upvote 0

Forum statistics

Threads
1,215,051
Messages
6,122,872
Members
449,097
Latest member
dbomb1414

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