[英]compare multiple columns from multiple worksheets in Excel
Worksheet 1 - value in column C
Worksheet 2 - value in column E
Worksheet 3 - value in column E
If the value in Wkst 3 = Value in Wkst 1 return "TICS" 如果Wkst 3中的值= Wkst 1中的值返回“TICS”
If the value in Wkst 3 = Value in Wkst 2 return "TR" 如果Wkst 3中的值= Wkst 2中的值返回“TR”
If the value in Wkst 3 does not equal either worksheet - NONE 如果Wkst 3中的值不等于任一工作表 - NONE
Is there a way to do this? 有没有办法做到这一点?
Use this formula(I am assuming you will start in Row2): 使用此公式(我假设您将从Row2开始):
=IF(ISNUMBER(MATCH(E2,Sheet1!C:C,0)),"TICS",IF(ISNUMBER(MATCH(E2,Sheet2!E:E,0)),"TR","NONE"))
And copy down the dataset. 并复制数据集。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.