Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Patrick
 
Posts: n/a
Default Conditional formatting

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
  #2   Report Post  
Bryan Hessey
 
Posts: n/a
Default


Assumng A1 for the cell, try a conditional format of Formula

=weekday(A1,3)3





Patrick Wrote:
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



--
Bryan Hessey
------------------------------------------------------------------------
Bryan Hessey's Profile: http://www.excelforum.com/member.php...o&userid=21059
View this thread: http://www.excelforum.com/showthread...hreadid=473728

  #3   Report Post  
Stefi
 
Posts: n/a
Default

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:

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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional Formatting Error ddate Excel Worksheet Functions 0 May 5th 05 09:00 PM
difficulty with conditional formatting Deb Excel Discussion (Misc queries) 0 March 23rd 05 06:13 PM
conditional formatting question Deb Excel Discussion (Misc queries) 0 March 23rd 05 02:07 AM
Determine cells that drive conditional formatting? Nicolle K. Excel Discussion (Misc queries) 2 January 7th 05 01:08 AM
Conditional formatting not available in Excel BAB Excel Discussion (Misc queries) 2 January 1st 05 03:33 PM


All times are GMT +1. The time now is 10:20 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"