答案 0 :(得分:2)
Simply use conditional formatting like this:
Basically, highlight the columns, from the Home tab, select 'Conditional Formatting' > 'New Rule' > 'Use a formula ...', use =WEEKDAY(A$1,2)>5
(A is the cell of the lighter cell from the highlighted range, $1 is the header row, the $ sign ensures that the condition always checks the 1st row), then select the formatting of your choice.
Repeat similar steps for weekdays, except this time the formula will be =WEEKDAY(A$1,2)<6
(or equivalent =WEEKDAY(A$1,2)<=5
, etc) and the format will be different.