I need to export a spreadsheet daily and combine it with an existing spreadsheet for tracking.
What I need to accomplish is a macro that will run a check on the new worksheet (Export) and existing worksheet (Sheet1) to combine them, marking all items that are not present on the Export as complete on Sheet1 and adding any new items from the Export to Sheet1. Every line has a unique identifier (ItemID) so I am guessing that the best way to accomplish this would be with a v-lookup using this, however my experience with this in a macro is very limited. I only need to extract information from specific columns from the Export, and the columns don't line up, also there are never a set number of lines on either worksheet.
On the Sheet1 I have 19 columns with A being ItemID. On the Export I have 13 columns with L being the ItemID.
If the ItemID on Sheet1 is no longer on the Export, an "X" needs to be put in Column S (Completed) if one does not already exist.
If the ItemID on Sheet1 is still on the Export, however an "X" appears in the Completed column, highlight the line.
If the ItemID is not on Sheet1 create a new line and copy the information from the same line as the ItemID in the Export.
Copy from Export to Sheet1
Column L - Column A
Column A - Column E
Column B - Column F
Column D - Column G
Column E - Column H
Column F - Column J
Column G - Column K
Column J - Column L
Column K - Column M
I don't know if I am going about this the right way or if there is an easier way, any help would be greatly appreciated.
Bookmarks