A
Row1: 46.77
Row2: 673.88
Row3: 319.09
Row4: 929.54
Row5: 738.66
Row6: 150.84
Row7: 688.19
Row8: 829.88
Row9: 368.05
Row10: 118.19
Total 4,863.09
I have the above dataset that contains all values from A1 to A10
Problem:
If I am given an aggregate total from the various values of the dataset, it could be any unknown combination from the list (Example: (A1 + A5 + A10 = 903.62) In other words, X(A1) + Y(A5) + Z(A10) , given X, Y and Z are unknown). Is it possible to solve X, Y and Z?
End result:
I am hoping to activate a Macro with an Input Box1 " Enter aggregate Value" with or without another Input Box2 " Number of combinations" in this example the value would be 3.
Then, Output Box " The nearest combination is A1 +A5 +A10 or 46.77 + 738.66 + 118.19
Appreciate your help in advance.
Row1: 46.77
Row2: 673.88
Row3: 319.09
Row4: 929.54
Row5: 738.66
Row6: 150.84
Row7: 688.19
Row8: 829.88
Row9: 368.05
Row10: 118.19
Total 4,863.09
I have the above dataset that contains all values from A1 to A10
Problem:
If I am given an aggregate total from the various values of the dataset, it could be any unknown combination from the list (Example: (A1 + A5 + A10 = 903.62) In other words, X(A1) + Y(A5) + Z(A10) , given X, Y and Z are unknown). Is it possible to solve X, Y and Z?
End result:
I am hoping to activate a Macro with an Input Box1 " Enter aggregate Value" with or without another Input Box2 " Number of combinations" in this example the value would be 3.
Then, Output Box " The nearest combination is A1 +A5 +A10 or 46.77 + 738.66 + 118.19
Appreciate your help in advance.
Last edited: