Carlos2229
New Member
I am working with a couple of databases that I have to compare and look for differences. I am trying to insert a batch number that exists in one database but not the other. The databases have dates, ID’s and amounts. There is a one day lag in the dates and there are multiple amounts on one source that add up to one amount on the other. In addition there are duplicate amounts that occur on different days. Vlookup stops looking after it finds the first number. Each database contains about 30,000 lines. Below is a very basic sample. Your input is appreciated. Thanks in advance.
Date Id Amount
1/5/2015 12345 20.00
1/6/2015 12345 20.00
1/30/2015 12345 20.00
1/31/2015 12345 20.00
Date ID Batch number Amount
1/4/2015 12345 1 40.00
1/29/2015 12345 2 20.00
1/30/2015 12345 3 20.00
Date Id Amount
1/5/2015 12345 20.00
1/6/2015 12345 20.00
1/30/2015 12345 20.00
1/31/2015 12345 20.00
Date ID Batch number Amount
1/4/2015 12345 1 40.00
1/29/2015 12345 2 20.00
1/30/2015 12345 3 20.00