Google-sheets – Format day of the week

google sheets

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?

Best Answer

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.