Hi everyone!
I am working on a workbook where I want to create a macro to compare the differences between two reports (place in two tabs) on a spreadsheet that have three columns of 1000's of data. That's three columns of data in one table on one tab and three columns of data in another table in another tab.
I may not be explaining the best way to do this, but basically, I have data from inventory I took about a month ago and I want to determine the differences (additions and removals, and if there is no change) from that report to another report I generated about a year ago; so I can clearly see the changes (additions and removals, and if there is no change)
The data will not necessarily match in number of rows and will not be in order so it cannot be compared side-by-side. I would like the results to be displayed in a 3rd tab on the same workbook that will show the results of the matching three columns and then in a fourth column display whether it was added (something added to the inventory since a year ago) or removed (something removed from inventory since a year ago) or if there was no change. So I can easily spot and sort the deltas on the third tab.
Thanks for your help in advance!
here is an example of what the columns might look like
sheet 1 Report from a year ago
A B C
Order# Name QTY
001 Banana 5
001 Banana 4
002 Grape 5
002 Orange 1
Sheet 2 Report Recently pulled (In my example I put the changes in bold red so you can see what I changed/Added)
A B C
Order# Name QTY
002 Apple 5
003 Banana 4
001 Banana 5
002 Orange 8
005 Watermelon 2
sheet 3 Delta Results (additions/removals and if there was no changes on sheet 2 when compared to sheet 1)
A B C D
Order# Name QTY Delta
001 Banana 5 No Change
002 Apple 5 Added
001 Banana 4 Removed
002 Grape 5 Removed
002 Orange 1 Removed
003 Banana 4 Added
002 Orange 8 Added
005 Watermelon 2 Added
Bookmarks