[英]How can i compare two columns to see if the value in the B cell appears anywhere in column A?
I have 2 columns like this (yep, Porn) 我有2列这样的(是的,色情)
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). 并且我想查看单元格B1中的值是否出现在A列的任何位置(实际列超过20,000个值)。 If yes, then I'd like it to print either a 'yes' or 'no' in column C
如果是,那么我希望它在C列中打印“是”或“否”
Any suggestions? 有什么建议么? my experience with vlookup is limited
我对vlookup的经验有限
Try this in column C: 在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. 这将在A列中搜索
B1
的值,如果找到,则返回“ Found”,否则将其留空。
Step 1 Uppercase Column A 步骤1大写A列
Step 2 MATCH them 步骤2配对
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.