help with comparing data in two different columns - please

corfixen

New Member
Joined
Aug 1, 2010
Messages
2
Hi all, hope you guys can help solve a practical accounting problem, and save me a lot of time in the process.


You see, the problem is quit simple, as it is all a matter of checks and balances, as the example illustrates.

Take for instance situation A, were someone has an outstanding debt of 100 on the 1. of january and later on the 2. of january settles the account by making a payment of the exact amount as the outstanding debt.

Now that was the simple situation. Now lets turn to the more realistic situation B, where you have some large outstanding debts, and then a lot of patial payments, such as illustrated in Situation B. In the example there are some combinations of incoming payments that balances the outstanding debt of 200. (eg. both 55 + 45 + 100 = 200 as does the combination 150 + 50). Now the quistion for you is: Is there a way to configure excel to automaticly suggest that both the 3 incomings payments of 55+45+100 equals 200 but at the same time it also suggests that 150 + 50 equals 200?. That is to say ... ask excel to compare all the values in coloum "incoming payment" with one of the amounts in the "outstanding debts" coloum and then find the right combinations? :rolleyes:

There are no other data available to cross reference with, other than the amounts. (of course in reality this is not the case)
[URL="http://img13.imageshack.us/i/capturehn.jpg/"][/URL]
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Yep! That is exactly the problem and the solution! thank you very much "alphafrog".:)

Now do you or anyone else know how I get this macro to work (i see it from wayback in 2002). I must admit its the first time i try using a macro so im not sure of the procedures? Is there an guide/tutorial I can use to get this macro working?
 
Upvote 0

Forum statistics

Threads
1,214,998
Messages
6,122,638
Members
449,093
Latest member
Ahmad123098

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top