[英]Returning value from range for any of the values that are looked up
I have the following data set: 我有以下数据集:
and use the index/match function to check if the value in column A has a corresponding value in column b compared to values that are in another sheet called Data: 并使用index / match函数来检查A列中的值与b列中的值(与另一张名为Data的表中的值相比)是否具有对应的值:
=IFERROR(INDEX(B:B,MATCH('Data A1'!,A:A,0)),"")
The goal of this exercise is to identify there is value in column B for any value in column A and here is where my formula fails, because for value 2 the formula returns an empty cell, because it is only checking for the first value in the list and not all values. 本练习的目的是确定B列中是否有A列中的任何值 ,这就是我的公式失败的地方,因为对于值2而言,该公式返回一个空单元格,因为它只检查了第一个值。列出而不是所有值。
Any ideas on how I can fix the formula to reflect ABC when the value 2 is in the list? 关于值2在列表中时如何修正公式以反映ABC的任何想法? I am hoping for an outcome like this:
我希望这样的结果:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.