Range A1:A20 ("Source") contains a column of constant numerical values. If necessary or helpful I can arrange that it be sorted by (eg) value.
Cell Z1 ("Target") contains a single constant numerical value.
It is a certainty that there is at least one combination of cells in "Source" the sum of which equals the value of "Target".
I wish to populate range B1:B20 ("Solution") with the corresponding entries in "Source" the total of which adds up to "Target".
I don't need all possible solutions. Any one will do (Eventually if I solve this problem I may look to find a method of cycling through alternative solutions but that sounds difficult).
I think that this is likely to be a wheel already invented, so I throw myself on your kindness. Am happy to use VBA if appropriate.
Thanks
Bookmarks