更改工作日在Google Spreadsheets中的行颜色?

时间:2018-11-06 17:52:18

标签: google-sheets spreadsheet

基于工作日,我希望正确的日子点亮。 我花了3个小时试图解决这个问题,我把手举到空中。

Screenshot of what I'm trying to accomplish

1 个答案:

答案 0 :(得分:2)

在条件格式标签中使用以下公式:

=IF(WEEKDAY(TODAY(),2)=1,"Monday",IF(WEEKDAY(TODAY(),2)=2,"Tuesday",IF(WEEKDAY(TODAY(),2)=3,"Wednesday",IF(WEEKDAY(TODAY(),2)=4,"Thursday",IF(WEEKDAY(TODAY(),2)=5,"Friday",IF(WEEKDAY(TODAY(),2)=6,"Saturday",IF(WEEKDAY(TODAY(),2)=7,"Sunday",)))))))

请使用文本包含作为选项(您也可以自由使用正是文本选项):

Conditional formatting