[英]How can I color cells based on list with conditional formatting in Google Sheets
So I'm trying to make a few different lists with different colors and then I want google sheets color automatically whatever is on the list when it's shown elsewhere.因此,我尝试使用不同的 colors 制作一些不同的列表,然后我希望 google 表格自动为列表中显示的任何内容着色。 I've been trying a few different ways and found a solution that kind of works but isn't really scalable.我一直在尝试几种不同的方法,并找到了一种可行但不是真正可扩展的解决方案。
I'm bad at explaining things, so hopefully this example does a greater job on that than I did Here's example sheet我不擅长解释事情,所以希望这个例子比我做得更好这里的例子表
yellow list:黄名单:
=REGEXMATCH(G3, TEXTJOIN("|", 1, $B:$B))
green list:绿名单:
=REGEXMATCH(G3, TEXTJOIN("|", 1, $C:$C))
blue list:蓝名单:
=REGEXMATCH(G3, TEXTJOIN("|", 1, $D:$D))
red list:红名单:
=REGEXMATCH(G3, TEXTJOIN("|", 1, $E:$E))
catfish fix:鲶鱼修复:
=REGEXMATCH(LOWER(G3), LOWER("^"&TEXTJOIN("$|^", 1, $B:$B)&"$"))
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.