Conditional formatting

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have formatted cells with a date entered in them have custom format of
'dddd' this will give the day of the week, no problem.

The difficulty I hace now is that I want 'Saturday' and 'Sunday' to have
conditional formatting so the cells change colour. I can not seem to get this
to work with either cell = Saturday or formula = Saturday.

Please help! Am I doing something wrong or is there another way to get this
to work?

Many Thanks
 
Apply formula (say A1 is the first cell in the range to be formatted)
=WEEKDAY(A1,2)>5
if you number days of the week starting with Monday, or
=WEEKDAY(A1,1)=1 or WEEKDAY(A1,1)=6
if you number days of the week starting with Sunday

Regards,
Stefi

„Patrick†ezt írta:
 

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