I have two sheets. Sheet1 has this data
Name red blue
John x
John x
John x
John x
John x
Sheet2 has this data
Name red blue
John
I needed a formula to populate an "x" under columns red and blue since data in Sheet1 has at least one "x" in the red and blue columns. I tried using vlookup/hlookup but it returns the first value. Same with indexmatch.