有多个条件触发相同的颜色 [英] Have multiple conditions trigger the same color

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

问题描述

我正在使用Google表格,这是它的初学者(刚从昨天开始),并尝试创建以下条件:

I'm using Google Sheets, a beginner to this (just started yesterday) and trying to create a condition where:

if text contains "x, y, or z"

then color red

必须有某种方法来完成此操作,因为我一直在为每个条件做单独的条件,并且这样做会花费时间.

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

推荐答案

选择相关范围(我假设从A1开始),并从中清除所有现有的CF规则.格式,条件格式...,如果... Custom formula is

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")

以红色填充,并完成.

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

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