Within my spreadsheet on Sheet1, I have health data which includes a column called HC Code where 1 or more codes exist separated by a comma (e.g. B123, B566, C404, etc.). On Sheet 2, I have a list of 32 codes. If any of these codes in my list on Sheet2 match any of the codes in the HC Code column, I need to filter those rows (or at least identify which rows have a match).
I'm assuming the best way to do this is to have my VBA create a formula in Sheet1 in which to code as "Y" if a match exists to any of the codes listed on Sheet2, then filter by that column. If so, what's the best formula to place into this column?
I'm assuming the best way to do this is to have my VBA create a formula in Sheet1 in which to code as "Y" if a match exists to any of the codes listed on Sheet2, then filter by that column. If so, what's the best formula to place into this column?