Combination of sums equal to target value

Solved
ask Answer -  
 Jeremie -
Hello,
Using Microsoft Excel 2007 I want to do the following:
I have a database of values (numbers) and I have a target value. I want to find all the possible combinations of sums of the numbers (from the database) that equal the target value.

Is this possible?

Configuration: Windows 7 / Safari 535.11

13 answers

eriiic Posted messages 24581 Registration date   Status Contributor Last intervention   7 281
 
Hello,

Here is the latest version that deals with positive and negative numbers:
https://mon-partage.fr/f/DVIe7uJu/

eric

You will never respond to an unsolicited message...
Well, that's done.
26
BD
 
Hello, I just found your solution that perfectly addresses my issue. Thank you for your work.
0
eriiic Posted messages 24581 Registration date   Status Contributor Last intervention   7 281 > Aerendil
 
If you don't know which ones are unnecessary, you have to leave them all.
As the topic is old, I'm giving you the latest version in case the error has been fixed.
v4.3.5.3 : https://mon-partage.fr/f/WoZQ8D2P/

2 hours is nothing. With 700 lines, I would have said several days... ;-)
I do have an idea to speed things up, but not for several weeks.
I don't really have the time or the desire to spend hours on it this season.
eric
1