Suppose I have multiple workbooks, each of which contain item IDs. One of these workbooks is a master list containing all IDs, and every other workbook contains a small piece of the master list. Additional information is added, in each small workbook, beside each item ID and the workbook is marked as complete. What I would like to do is have Excel check these smaller workbooks against the master list / master workbook. In particular, I would like Excel to check small workbook item IDs one by one and find the same ID in the master workbook. When a match is found I would like Excel to paste the new information gathered in the smaller workbooks to the master workbook.
Unfortunately, there is a catch: Each smaller workbook has one ID reviewer, but the master workbook sometimes pairs these reviewers together to help ensure that all the necessary information has been included (two pairs of eyes are better than one). This means that the new information added by reviewers 1 and 2 is mashed together so that we have columns D1 E2 F1 G2 H1 I2 and so on, where 1 stands for person 1 and 2 for person 2. Note that D1 and E2 contain the same kind of information, just filled in by a different person. As such, for Excel to properly paste the information from the small workbooks it needs to not only check IDs, but once it has confirmed an ID match it needs to check whether the person's name in the small workbook (which is always 5 columns over including the 1st ID-bearing column) is 3 columns over or 4 columns over in the master workbook. If it is 3 columns over it needs to paste into D,F,H and so on, avoiding E,G, and I. The opposite is true if it is 4 columns over. It may be worth noting that it is possible for the 4th column over to be blank if only one person has been assigned to checking that particular item (the system is far from perfect).
Would it be possible to design a macro that works by highlighting a range of IDs in the master workbook and automatically checking all small workbooks in a given file directory for IDs and names, and filling in the relevant information as described above? Please let me know if anything is unclear, as I realize this is a very specific question.
Would something like this be a good start?
Bookmarks