【发布时间】:2018-05-30 19:22:08
【问题描述】:
所以这比标题听起来有点棘手。
这是我正在使用的电子表格:
https://docs.google.com/spreadsheets/d/19uU5YnpihBD3Gg_q3KlFx8w7D3--W_wgIeCkTiC2vO0/edit?usp=sharing
我目前拥有的:
You can see I have a team name list in column M as well as a team color option in column N. When the team color next to the team name is selected, it applies the correct fill color to that team name.现在,这些团队名称可以随时更新,并且在排名栏中的团队名称也会更新。
我想做的事:
当颜色应用于 M 列中的团队名称时,我希望这些相同的颜色也应用于整个工作表中包含完全相同团队名称的每个单元格。
我将如何从逻辑上解决这个问题:
从 N4 下拉列表中获取颜色,将相邻单元格 (M4) 设置为正确颜色,从 M4 获取文本,将相同的背景颜色应用于包含确切文本的每个单元格。
我只是不知道如何创建这个公式。还是需要脚本?
【问题讨论】:
标签: google-sheets