automatically compare the bank book & accounts book

sryair

New Member
Joined
Feb 5, 2016
Messages
7
Hi,

In my workbook I have 2 sheets- Bank Statement and Bank Book.
So, I want a code which matches the entries in both sheets and would bring a unique number(say 0001) in "matching reference" column of the respective rows in both the sheets.

Now the matching of entries should be on various combinations:
"Date+Description+Amount" should match and bring the unique number in the respective entries in both the sheets else match
"Description+Amount" and bring the unique code.


Thanks in advance!
 

Attachments

  • BANK.JPG
    BANK.JPG
    92.8 KB · Views: 9

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
The match should be on several levels:

  1. When there is a full match of Date + Description + Amount
  2. Partial match (the date in the bank books a few days after the invoice let's say 4 days)
  3. Partial match ((the description is different between the invoice and the bank, let's say the invoice for XXX and the bank shows YYY)
  4. Partial match (the amount rounded in the invoice is 99.9 and in Bank 100)
When there is no full match of all the parameters I expect to get the best weighted match i.e. the closest amount to the amount on the invoice, the closest date to the invoice and the closest description to the invoice.
 
Upvote 0

Forum statistics

Threads
1,215,753
Messages
6,126,674
Members
449,327
Latest member
John4520

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