I have a master Workbook which is an amalgamation of four other area Workbooks. The four area Workbooks are updated on daily on an ad-hoc basis by different people across the country. The (actual) Workbooks have over 50 columns of data and around 3,000 rows.
Currently to update the Master Workbook I'm having to do labourious VLOOKUPS on around 20 different columns (sometimes non-adjacent columns) for each of the four area Workbooks to update my master sheet, but only on certain columns because not every column needs updating.
I'm trying to find a way to automate this process using a macro or similar. Basically what I need to be able to do on my master Workbook is:
- Specify via a user form which column/s needs to be updated on the master sheet, by using the column letter, e.g. C, G, H, K or whichever column needs to be updated
- Do a VLOOKUP or similar (doesn't have to be a VLOOKUP, INDEX and MATCH is fine) based only on the entries in columns A and G, i.e. column A is a unique number, column G is one of the four areas
Note: The Master Workbook contains more entries than the four area Workbooks (as in not all the entries on the Master Workbook appear on the four area Workbooks)
Note: Some of the columns which require updating contain Data Validation
Note: These are all separate Workbooks, I've just put them in as separate sheets on the attached sample for ease
Where there are adjacent columns to be updated, it would be great if when specifying the columns to be updated a range could be entered in the userform, e.g. J:M, so that each column doesn't have to be updated one by one. What would be even better would be if 'ALL' the columns to be updated could be specified in one go in the userform, e.g. B:C, E:F, Z, AB, AS:BZ and so on
I've attached a greatly simplified example... Is this even remotely possible?
Many thanks
Bookmarks