具有多个规则的条件格式 Google 张
Conditional formatting with several rules Google Sheets
所以我希望根据外部单元格的值实现以下条件:
- 如果外部单元格中的文本与所选单元格中的文本一致,则所选单元格变为绿色。 [使用格式规则完成:等于 =externalCell]
- 如果外部单元格中的文本与选定单元格中的文本不一致,则选定单元格变为红色。 [使用格式规则完成:不等于 =externalCell]
- 如果外部单元格中没有文本,则所选单元格变为白色。 [待定]
请查看link中的屏幕截图以便更好地理解,您可以在其中查看我的条件格式规则。
In this case, selected cell J10 is green because coincides with external cell T10. It would be red in any other case, but don't know how to supply the third condition.
编辑:让我们用一个例子来解释它。我想做的是:
- (A1 将总是 有文本)
- 当 B1 没有 文本时,A1 变成白色。
当 B1 HAS 文本和两个单元格中的文本 match. 时,- A1 变为绿色
- 当 B1 HAS 文本和两个单元格中的文本 不匹配.
时,A1 变为红色
- (A1 will always have text)
- A1 turns colour white when B1 HAS NO text in it.
- A1 turns colour green when B1 HAS text in it and the text in both cells match.
- A1 turns colour red when B1 HAS text in it and the text in both cells DO NOT match.
试试这样:
所以我希望根据外部单元格的值实现以下条件:
- 如果外部单元格中的文本与所选单元格中的文本一致,则所选单元格变为绿色。 [使用格式规则完成:等于 =externalCell]
- 如果外部单元格中的文本与选定单元格中的文本不一致,则选定单元格变为红色。 [使用格式规则完成:不等于 =externalCell]
- 如果外部单元格中没有文本,则所选单元格变为白色。 [待定]
请查看link中的屏幕截图以便更好地理解,您可以在其中查看我的条件格式规则。
In this case, selected cell J10 is green because coincides with external cell T10. It would be red in any other case, but don't know how to supply the third condition.
编辑:让我们用一个例子来解释它。我想做的是:
- (A1 将总是 有文本)
- 当 B1 没有 文本时,A1 变成白色。 当 B1 HAS 文本和两个单元格中的文本 match. 时,
- A1 变为绿色
- 当 B1 HAS 文本和两个单元格中的文本 不匹配. 时,A1 变为红色
- (A1 will always have text)
- A1 turns colour white when B1 HAS NO text in it.
- A1 turns colour green when B1 HAS text in it and the text in both cells match.
- A1 turns colour red when B1 HAS text in it and the text in both cells DO NOT match.
试试这样: