ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Conditional format using dddd (https://www.excelbanter.com/excel-discussion-misc-queries/127861-conditional-format-using-dddd.html)

mathew

Conditional format using dddd
 
I am trying to conditionaly format a cell that has been custom formated to
change the date to the day of the week. Ex, 30 Apr 06 changes to Sunday.
This is the setup.

1 A G
H
2 11 Jun 06 (date I input) =A2-42(30 Apr 06)
=G2(fomated

dddd = Sunday
What I would like help with is when H2=Saturday or Sunday I would like the
background to change colors.

Mike

Conditional format using dddd
 
Change your formula in G2 to

=TEXT(A2,"DDDD")


Then use conditional formatting if cell value is equal to Sunday and apply a
colour

"mathew" wrote:

I am trying to conditionaly format a cell that has been custom formated to
change the date to the day of the week. Ex, 30 Apr 06 changes to Sunday.
This is the setup.

1 A G
H
2 11 Jun 06 (date I input) =A2-42(30 Apr 06)
=G2(fomated

dddd = Sunday
What I would like help with is when H2=Saturday or Sunday I would like the
background to change colors.


Mike

Conditional format using dddd
 
Sorry I missed the second part of your post. Click add and add a second
conditional format but this time for Saturday.

"mathew" wrote:

I am trying to conditionaly format a cell that has been custom formated to
change the date to the day of the week. Ex, 30 Apr 06 changes to Sunday.
This is the setup.

1 A G
H
2 11 Jun 06 (date I input) =A2-42(30 Apr 06)
=G2(fomated

dddd = Sunday
What I would like help with is when H2=Saturday or Sunday I would like the
background to change colors.


mathew

Conditional format using dddd
 
Mike,

That works perfect! Thank you.

"Mike" wrote:

Sorry I missed the second part of your post. Click add and add a second
conditional format but this time for Saturday.

"mathew" wrote:

I am trying to conditionaly format a cell that has been custom formated to
change the date to the day of the week. Ex, 30 Apr 06 changes to Sunday.
This is the setup.

1 A G
H
2 11 Jun 06 (date I input) =A2-42(30 Apr 06)
=G2(fomated

dddd = Sunday
What I would like help with is when H2=Saturday or Sunday I would like the
background to change colors.



All times are GMT +1. The time now is 04:37 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com