![](/img/trans.png)
[英]Given a value in an table of values in Excel, how to return the corresponding value from the first column/row
[英]Excel formula to check a text value from a cell against table's first column and return a value from the table second column
excel 公式:B 列(單元格 B1、B2、...)中的公式必須檢查 A1 中是否使用了 C1:C4 中的單詞,並返回 D1:D4 中的相應值。
結果,B 列應如下所示。 這是 B 列中輸入數據和結果的示例。
一種 | 乙 | C | 丁 |
---|---|---|---|
Go 2個步驟 | 米 | 跳 | 傑 |
轉左 | 噸 | Go | 米 |
跳圍欄 | 傑 | 轉動 | 噸 |
向前跑 | 米 | 跑步 | 米 |
回轉 | 噸 | ||
Go 5個步驟 | 米 |
前段時間我使用 INDEX、MATCH AND VLOOKUP 或 HLOOKUP 做到了這一點,但再也找不到了。 我記得我花了很長時間才讓它發揮作用。 如果 A 列中的單元格為空,則 B 列中的相應單元格保持空白。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.