Hello, I have a problem that I would like some help on.
In column "A" I have a list of numbers (Invoices). In Column "B" I have one large number (Lump Sum Payment).
I need to figure out how to split up the number in column "B" so that I can identify what in column "A" has not been paid for.
Is there some sort of an algorithm that can be used to determine all possible combinations that would get as close as possible to be equal to the lump sum?
If it is not exact, I would like to see the difference.
In the attached spreadsheet I have the problem that I am trying to solve on the left, and the expected result on the right.
When adding all the "Paid" numbers, they come out to be 20 cents short of the total sum. (the spreadsheet has a typo)
Thank you
Bookmarks