[英]Populating Cells Based on Dropdowns in Google Sheets
Alright.好吧。 I'm setting up a character sheet for a D&D esque combat system for something.
我正在为某个 D&D 风格的战斗系统设置角色表。 I have a chart with two columns;
我有一个包含两列的图表; A and B. We'll call this Sheet1.
A 和 B。我们称之为 Sheet1。 Column A is trait names, column B is their corresponding descriptions.
A列是特征名称,B列是它们对应的描述。
On a separate sheet, Sheet2, I have a data validation drop down in column B corresponding to the trait names in column A on Sheet1.在单独的工作表 Sheet2 上,我在 B 列中有一个数据验证下拉列表,对应于 Sheet1 上 A 列中的特征名称。 I need Sheet2, column C to auto populate with the trait description from Sheet1 column B corresponding to the selected trait from the drop down.
我需要 Sheet2 的 C 列自动填充来自 Sheet1 列 B 的特征描述,该特征描述与下拉列表中的选定特征相对应。
I have googled this with every possible change of phrasing I can think of and I cannot find a solution.我已经用我能想到的所有可能的措辞变化在谷歌上搜索了这个,但我找不到解决方案。 If I could get Google sheets to understand Python I'd be golden and have this done already, but sadly I cannot.
如果我能让谷歌表理解 Python,我会很高兴并且已经完成了,但遗憾的是我不能。 Can anyone help?
任何人都可以帮忙吗? I thought about just daisy chaining
=(IF)
's but theres going to be about 50 different traits to choose from and that's just not efficient.我想过菊花链
=(IF)
的但有大约 50 种不同的特征可供选择,而且效率不高。
尝试:
=INDEX(IFNA(VLOOKUP(B2:B, Sheet1!A:B, 2, 0)))
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.