![](/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.