In Google Sheets, what would a script look like that would identify days of the week (i.e., Monday, Wednesday, Friday) and then change the background color of the corresponding cells?

  • 1
    What's the cell content? Just 'monday', 'wednesday', 'friday', etc? Jul 22, 2014 at 20:37

1 Answer 1


Can be achieved with Conditional formatting (one rule per colour) where the data is dates:

WA65640 example

or if text, with Text contains sunday .... saturday.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.