How to get value depending on list selection in spreadsheet?

送分小仙女□ 提交于 2019-12-25 00:12:56

问题


I have a sheet strictly for listing called "List":

I have another where I enter data called "Data":

I was able to figure out how to reference a list from another sheet doing a google search. On the "Data" sheet I can choose a dealer on the A2 drop down menu. When I choose a dealer I want it to automatically populate the value to "Amount" from "Dealer's Amount" corresponding to the dealer from the "List" sheet. The "Dealer's Amount" in the "Data" sheet should just be read-only. I don't have Microsoft Excel, so I'm doing this from Google sheets.

How do I go about finding solution? I'm not sure how to phrase it in search engine.


回答1:


VLOOKUP


On sheets Data cell B2 you will enter the formula: =VLOOKUP(A2, List!$A$2:$B$4, 2, 0)



来源:https://stackoverflow.com/questions/54412813/how-to-get-value-depending-on-list-selection-in-spreadsheet

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