![](/img/trans.png)
[英]Excel formula: For each instance of value in column, get value of another column in same row
[英]What is the formula for displaying a value if another value is in the same row in Excel?
假设两个数据都从 A1 开始,并且 LOCATION DATA 表被命名为 Sheet1,这应该返回正确的值:
=IFERROR(IFERROR(INDEX(Sheet1!A:A,MATCH(B1,Sheet1!C:C,0)),INDEX(Sheet1!A:A,MATCH(B1,Sheet1!D:D,0))),"")
公式未经测试,可能缺少括号或逗号:
=IF(B1=" ","",IFERROR(IFERROR(INDEX(Sheet1!A:A,MATCH(B1,Sheet1!C:C,0)),INDEX(Sheet1!A:A,MATCH(B1,Sheet1!D:D,0))),""))
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.