PDA

View Full Version : Solved: Conditional Formating for weekend



surya prakash
02-03-2010, 11:45 PM
Hi,

I am wondering if it is possible to apply conditional formatting to column A:A so that all weekend (sat and sun) are set with red background as shown in the attachment..

Thanks in advance...

Bob Phillips
02-04-2010, 01:38 AM
Just use a conditional format with a formula of

=WEEKDAY(A2,2)>5

and a fill colour as desired.

surya prakash
02-04-2010, 02:27 AM
thanks a ton xld;
I have used or and weekday for 1 and 7 to solve the issue..

Surya

Bob Phillips
02-04-2010, 03:22 AM
Why, mine is simpler?