Conditional Formatting with DDDD (Day of Week Name) Formatted Cells

BrooksTech

Board Regular
Joined
May 9, 2011
Messages
59
Im having a lot of trouble with a 97-2003 XLS Worksheet where Column C is custom-formatted 'dddd' with a formula =A2 where Column A contains dates. I want the entire row to highlight if the DAY in C is a Tuesday or Thursday. I selected "Use a formula" option and a sample formula entered is =$C2="Tuesday" and then added another separate rule =$C2="Thursday"

Then I went on and copied the formats of this row onto all the other affected rows with NO results. Neither rule worked. Ive had quite a lot of experience conditional formatting except with this dddd type.

I dont know if the fact that dddd is formatted different than standard-text or some other hidden factor, but Ive been formatting cells in other ways and never had NO result.
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
If A2 is formatted as dddd, and shows Tuesday or whatever...
That cell still actually contains the Date, Not the Text String of Tuesday..

In conditional formatting, you would have to do the same thing the formatting does, to pull out the word for the day..

Try
=TEXT($C2,"dddd")="Tuesday"

Or also
=WEEKDAY($C2)=3
 
Upvote 0
Yes, thank you it worked. Now Im having problems filtering because it still sees a date, not day. I want to only show rows with a Tuesday or Thursday. Sorry Im stubborn, I dont want to filter by color if I can help it. Thanks again.
 
Upvote 0
Put in a helper column with the formula

=TEXT($C2,"dddd")

Then you can filter on that column (as well as base the conditional format on that column)
 
Upvote 0
I found this information very useful. I used the
=TEXT($C2,"dddd")="Tuesday"
example
but what do you put in for the formula if you want to put in multiple days? ="Mon" "Wed" "Fri"
Im totally new to excel cant figure our this problem.
 
Upvote 0
You could do

=OR(TEXT($C2,"ddd")="Mon",TEXT($C2,"ddd")="Wed",TEXT($C2,"ddd")="Fri")
 
Upvote 0

Forum statistics

Threads
1,223,239
Messages
6,170,947
Members
452,368
Latest member
jayp2104

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