简体   繁体   English

基于 Google 表格中的下拉列表填充单元格

[英]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.

相关问题 Google Sheets - 根据相应单元格范围内的数值连接单元格范围内文本的公式 - Google Sheets - Formula to Concatenate Text in Range of Cells based on Numeric Value in Corresponding Range of Cells 如何根据 Google 表格中其他两个单元格的比较,使单元格返回值列表中的一个? - How do you make a cell return one of a list of values based on a comparison of two other cells in Google Sheets? Google 表格:根据两个相邻单元格的值自动将数据输入单元格 - Google Sheets: Automatically entering data into a cell based on the values of two neighbouring cells 谷歌表格在合并单元格中复制 function - Google Sheets copy function among merged cells Google 表格:条件格式 - 根据另一个单元格的值在一个范围内为一行中的所有非空单元格着色? - Google Sheets: Conditional Formatting - color all non-empty cells in a row within a range based on the value of another cell? 谷歌工作表复制相邻的单元格,使它们堆叠起来 - Google sheets copying adjacent cells so they're stacked 在 Google 表格单元格 (GAS) 中打印未指定数量的数组内容 - Printing Unspecified Number of Array Contents in Google Sheets Cells (GAS) 谷歌工作表中的两个活动工作表基于单元格比较更新错误 - two active sheets in google sheets update error based on cell comparison 如何控制在 Google 表格中触发的单元格数量 - How to control how many cells are triggered in Google Sheets 扩展 RegexMatch 以针对整个单元格范围进行测试 - Google Sheets - Expand RegexMatch To Test Against An Entire Range Of Cells - Google Sheets
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM