Conditional format sunday

  • Thread starter Thread starter lunker55
  • Start date Start date
L

lunker55

A1 has a date.

I want to conditional format the cell to change colour if it falls on a
sunday or saturday.
Any ideas?

Joe
 
lunker55 said:
A1 has a date.

I want to conditional format the cell to change colour if it falls on a
sunday or saturday.
Any ideas?

Joe

Hi,

Try,

Format > Conditional Format > Formula Is

=or(weekday($A$1,2)=6,weekday($A$1,2)=7)

and choose your format.

Hope this helps!
 
One way

=WEEKDAY(A1,2)>5

under formula is assuming you know how to use
CF

--
For everyone's benefit keep the discussion in the newsgroup.

Regards,

Peo Sjoblom
 
Hi
try the following
- select the cell (e.g. cell B1)
- goto 'Format - Conditional Format'
- enter the following formula
=WEEKDAY(B1,2)>=6
- choose a format
 
Thanks guys. Works great.

Joe

Domenic said:
Hi,

Try,

Format > Conditional Format > Formula Is

=or(weekday($A$1,2)=6,weekday($A$1,2)=7)

and choose your format.

Hope this helps!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top