Invoice Comparison help

MichaelA

New Member
Joined
Sep 29, 2008
Messages
22
Hello,

This is my first time actually posting anything, but this site has been a tremendous help to me and my career. Today I find myself in a situation in which I seem to not find the solution. Knowning how the people who assist in this forum are elite in their skills, I figured I asked.

So we have two invoices, one that shows our companies record of transactions and the other invoice is one created by the company we pay per transaction. Now the problem is that our invouice and theirs are having discrepencies, costing us over $20,000 a month.

The thing is that the same account could have multiple transactions for different amounts and obviously different dates. We tried Vlookup but as you all we'll know, Vlookup only retrieves the first value that matches.

Example:

Their List shows:

Column C(Account Number) Column D(Amount)
C1: 123 D1: $5.00
C2: 431 D2: $10.00
C3: 111 D3: $2.00
C4: 122 D4: $6.00
C5: 123 D5: $6.00
C6: 431 D6: $10.00

Our List shows:

Column C(Account Number) Column D(Amount)
C1: 542 D1: $3.00
C234: 431 D234: $7.00
C254: 431 D234: $10.00

Vlookup pulls the first match but the value it brings to us is the wrong one because the same account is has other values in the list. You really cant sort them on the count that the dates are different, there already is discrepencies and some accounts are on our list that are not in theirs and vice versa.

What we need is something like an Arbritrary LookUp, but the ones that I have found thus far are either too complicated/don't work.

Someone help please. What can we use to find the discrepencies, with multiple/duplicate values?
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Sum the total dollars by invoice (yours and theirs) and then perform the vlookup. This will at least show you which invoice(s) don't match. You can also concatenate the invoice number and amount to make a unique lookup key (assuming that invoice numbers and totals aren't repeated)

Good luck
 
Upvote 0
Sum the total dollars by invoice (yours and theirs) and then perform the vlookup. This will at least show you which invoice(s) don't match. You can also concatenate the invoice number and amount to make a unique lookup key (assuming that invoice numbers and totals aren't repeated)

Good luck

Thanks, but we have already added the sum together, thats how we first noticed the discrepencies. Also, there is also the case that we have duplicate invoice numbers and totals are repeated. Over 40,000 accounts per invoice.
 
Upvote 0
Basically, its just finding a formula, array or macro, that will find the discrepencies and highlight them or something.

I mean if it could do that, great.

I dont mind just having it do a vlookup and understand that their are multiple values.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,286
Members
452,631
Latest member
a_potato

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