How can I grab a value from another sheet based on an ID

99封情书 提交于 2021-01-24 10:22:48

问题



Customer

| Cus ID | Cus Name |
| 1      | Bob      |
| 2      | Sam      |
| 3      | Tom      |

Transaction

| TID | Cus ID | Cus Name |
| 1   | 1      | ???      |
| 2   | 2      | ???      |
| 3   | 1      | ???      |
| 4   | 3      | ???      |

Essentially my question is, how can I grab the Cus Name Using the Cus ID in the Transaction sheet?


回答1:


This is a standard VLOOKUP. In cell C1

=VLOOKUP(B1,Customer!A:B,2,0)

Drop formula down to used range to fill column.



来源:https://stackoverflow.com/questions/52472292/how-can-i-grab-a-value-from-another-sheet-based-on-an-id

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!