I have a similar case for this one that I searched around (https://computing.net/answers/office/search-a-field-and-assign-a-label-based-on-results/17987.html), yet not find a solution.
I have the main spreadsheet with several info collected such as ref #, date, hours, and so on. Then another spreadsheet contains ref # that need to mark as “good” in the main spreadsheet.
I could manually add column for status (good/take a look in the spreadsheet 2), then use Vlookup to function in in the main spreadsheet. However, I would like the VBA code for it to automatically put “good” on the ref # in spreadsheet 2 in main spreadsheet and “take a look” if the ref # is different from main spreadsheet and spreadsheet 2 (status column are already created).
Ex:
Main spreadsheet:
A B C 1 5964 02/02/12 Drop list of "good", "take a look" .... 2 6588 02/02/12 Good or take a look 3 1285 12/12/12 Good or take a look
Spreadsheet 2:
A B 1 1285 Good 2 8562 Good
1 Answer