Hello - I have a worksheet with columns A - AF. In column A is employee number, column B is region (of the 8000 rows, there are four regions) and column U has supervisor id. I'm looking for some vba code that would check the value in U2 in column A:A and if not found, replace the value in U2 with another supervisor number, based off the offset value of column B. If supervisorID is not in column A, then IF value in B2 = "ab-us", then replace u2 with "0012345". If value in B2 = "ab-fr", then replace U2 with "0098765", if value in B2 = "ab-xyz" then replace U2 with "0065432", if value in b2 = "ab-378" then change U2 value to "00223344", etc.
If the value is found, then do nothing.
This would then repeated to the lastrow, etc.
Thanks for reading!
5/1/2017 - Adding a sample file attachment...!
Bookmarks