简体   繁体   English

Google 表格 - 条件格式规则

[英]Google Sheets - Conditional formatting rules

I have a situation with this text:我有这个文本的情况:

"What do you want? “你想要什么?
Foil.挫败。
What covarage do you want?你想要什么covarage?
Fullbody."全身。”

More specifically, in the text above I want that the row to be automatic in a certain color if the text ends with: "What covarage do you want? Fullbody. "更具体地说,在上面的文本中,如果文本以以下内容结尾,我希望该行以某种颜色自动显示:“你想要什么共变?全身。”

I tried to add this condition, but without success:我试图添加这个条件,但没有成功:

The text ends with:文本以:
"What covarage do you want? “你想要什么covarage?
Fullbody.全身。 "

It didn't work, because the word Fullbody is on another line.它没有用,因为Fullbody这个词在另一行。

Any suggestions?有什么建议么?

try:尝试:

=REGEXMATCH(A1, "What covarage do you want\?\nFullbody$")

在此处输入图像描述

? is escaped with \?\?转义
new line is \n新行是\n
$ means "ends with" $表示“以”结尾

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM