问题
I have 2 columns like this (yep, Porn)
A B
menshealthbase.com XVIDEOS.COM
dailyrx.com ASHLEYRNADISON.COM
puzzleovergames.com PORNHUB.COM
adventuregamesland.com DOUBLEPIMP.COM
and i'd like to see if the value in cell B1 appears anywhere in column A (the actual column is over 20,000 values). If yes, then I'd like it to print either a 'yes' or 'no' in column C
Any suggestions? my experience with vlookup is limited
回答1:
Try this in column C:
=IF(ISNUMBER(MATCH(B1, A:A, 0)), "Found", "")
This will search column A for the value in B1
and return "Found" if it's found or leave it blank otherwise.
回答2:
Step 1 Uppercase Column A

Step 2 MATCH them

来源:https://stackoverflow.com/questions/31272900/how-can-i-compare-two-columns-to-see-if-the-value-in-the-b-cell-appears-anywhere