【问题标题】:Google Sheets Format a Row depending on the contents of a cell in the rowGoogle表格根据行中单元格的内容格式化一行
【发布时间】:2020-07-29 10:53:12
【问题描述】:

我需要有关条件格式的帮助。 本质上问题如下:

如果单元格“D3”中包含以字母“BLDUK-ORD”开头的文本,那么我需要将整行变为橙色。

如果单元格“E3”中有任何文本/数字,则整行需要变为绿色。

这将需要在我的整个 google 表格文档中实施(目前有超过 30,000 行数据)。谢谢。

样张文件: https://docs.google.com/spreadsheets/d/1inkIGMD11AeZ0uTdm60M2G2efu_lPv4Ak3IqGbcyCvU/edit?usp=sharing

【问题讨论】:

    标签: regex if-statement google-sheets google-sheets-query gs-conditional-formatting


    【解决方案1】:

    尝试范围 A3:Z...

    绿色:

    =($E2<>"")*(REGEXMATCH($D2&"", "^BLDUK-ORD"))
    

    橙色:

    =REGEXMATCH($D3&"", "^BLDUK-ORD")
    

    【讨论】:

    猜你喜欢
    • 2015-05-21
    • 1970-01-01
    • 2016-02-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-09-30
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多