matching invoices and payments

yepee

New Member
Joined
Aug 15, 2010
Messages
8
Hi,

i am using excel 2003.I have a spreadsheet with over 8,000 rows that I need to match invoices and payments (positive and negative that net 0) with the same invoice number.

The invoice number is in column b, the amounts are in column d.
Currently, I am going down the list selecting cells and clearing the ones that match. There are for types of matches.

1. The ones that have both payments and invoices with the exact same amount (highlighted in sample data with green color).

2. The ones that have two payments against one invoice(or viceversa) with net amount of zero.(highlighted in sample data with orange color).

3. The ones that have one payment and two or more invoices, and the payment can be cleared with one of these invoices.(highlighted in sample data with blue color).

4. The ones that have both payments and invoices but amounts are different (highlighted in sample data withe green color).

Is there any way that we can flag matches, based on these four match types? (for example for match type one we will flag those rows with 1, similarly 2 for match type2, 3 for match type 3 and 4 for match typer for.)

Thank you so much.:)

Sample Data:

1944815 R235 invoice 123.63
1944815 R236 invoice 121.77
1944815 R235 payment (123.63)
1944815 R236 payment (121.77)

1944816 R237 invoice 123.09
1944816 R237 payment (100.05)
1944816 R237 payment (20.04)

1944817 R238 invoice 116.17
1944817 R238 invoice 116.17
1944817 R238 payment (116.17)

1944818 R239 invoice 761.19
1944818 R239 invoice (760.05 )


( Data starts from cell A2).
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Can't you just use a Pivot Table with "Invoice" in the Row Field, "Type" in the Row Field and Amount in the Data Field!

lenze
 
Upvote 0
as per my knowledge we can only flag match type 1 with pivot table.if there is any method to match other types then please advise in detail.
 
Upvote 0

Forum statistics

Threads
1,214,904
Messages
6,122,169
Members
449,070
Latest member
webster33

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