Trying to set up a time card at work in Excel, have dates going down the left-hand side of the worksheet:
Fri 1/1/11
Sat 1/2/11
Sun 1/3/11
And so on. I want to gray out the rows with weekend dates like so:
Fri 1/1/11
Sat 1/2/11
Sun 1/3/11
Is there an obvious way to do this using conditional formatting?
Sure, you can use the
WEEKDAYfunction to determine the day of the week, like this:Depending on what days of the week are considered the weekend, you may need to modify the second parameter. You can find more information about the
WEEKDAYfunction (and the second parameter) here.