format cell colour if day is a saturday or sunday?

merlin777

Well-known Member
Joined
Aug 29, 2009
Messages
1,397
Office Version
  1. 2007
I'm trying to use a conditional formatting formula to colour a cell if the date it contains is a saturday or sunday.

I actaully need to do a whole column of 31 cells on 12 sheets but i can't even get one to format.

I'm using this for the formula to try to colour A11 which is a saturday:

or(weekday(A11)=1,weekday(A11)=7)

but it doesn't format.

What am I doing wrong, please?

To cover 31 cells across 12 sheets do I just use the format painter to copy the format or this cell to the others?

TIA
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
you need a = infront
=or(weekday(A11)=1,weekday(A11)=7)
 
Upvote 0
Well i'll be jiggered. I did put one originally and excel complained so I removed it and excel added it's own one. I had a formula in that box identical to yours and it didn't work! Thanks!
 
Upvote 0

Forum statistics

Threads
1,214,827
Messages
6,121,809
Members
449,048
Latest member
greyangel23

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top