为单一颜色创建多个条件 [英] create multiple conditions to a single color

查看:95
本文介绍了为单一颜色创建多个条件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果有帮助,我使用Google表格。我也是这个初学者(刚刚开始昨天)所以,如果你能ELI5,我会非常感激它

我试图创建一个条件,
如果文本包含x,y或z 然后以红色(不确定这是否是正确的格式)



必须有一些方法可以做到这一点,因为我一直在为每一个做单独的条件,并且需要时间去做。

解决方案

选择相关范围(我假设从A1开始)并清除所有现有的CF规则。格式化,条件格式化...格式化单元格,如果... 自定义公式

  = regexmatch(A1,x | y | z)

完成

Im using Google Sheets if that helps. Im also a beginner to this (just started yesterday) So if you could ELI5, I would appreciate it very much

Im trying to create a condition where if text contains "x, y, or z" then color red (not sure if this is the right format)

there must be some way to do it because I've been doing separate conditions for each one and its taking up time to do it.

解决方案

Select the relevant range (I am assuming starts at A1) and clear any existing CF rules from it. Format, Conditional formatting..., Format cells if... Custom formula is and

=regexmatch(A1,"x|y|z")

with red fill and Done.

这篇关于为单一颜色创建多个条件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆