In other words, I'm looking for a sum range that consists of combinations of cells from an array. Given a set of numbers:
1 720 56 17 59 120 153 203 39 1 690 583 582 561 256 310 232 95 108 16 26 59 538 445 42 149
(call this A1:A26
)
The sum range I'm looking for is 1000-1500
. I'd like to be able to see which combinations of any cells from A1:A5
will have a sum within that range. Such as taking the sum of (A23, A24, A26
) or the sum of (A2, A11
).
The number of cells or combinations do not matter, as long as the sum falls within the given range. On top of that, I need to be able to identify the cells used in each combination.
I am grateful to anybody who can make my life any easier.
Thank you.