Only addition and subtraction operations (+ and -) are available among 14 chosen elements.
The task is to reach chosen Value (or closest value with minimal difference to it) with all 14 chosen elements (natural numbers), always written in column from smallest to largest.
Minimum difference: this is the one that is the lowest possible.
This does not mean that the difference is no more than 1 to the selected value (which should be approached).
It can be any, but the lowest possible (reached with 14 natural numbers) difference to the selected value, if an accurate result is not found.
Value to reach and 14 natural numbers are INPUT, and all can be large.
Possible to solve in Excel 2010 (write a macro)?
Thank you very much.
Kind regards,
Sasa
Bookmarks