Excel - Conditional formatting

I have a column with dates (eg 10/15/2015) with the next column calculating the weekday (eg. =WEEKDAY(F9,1)); there weekday column is formatted to display a 3 character weekday [DDD].

I want to set Conditional Formatting to make cells with "Sat" and "Sun" to appear red. How do I make the Conditional recognize the resulting displayed text "Sun" and not the formula "=WEEKDAY(F9,1)"

Thank you,
JohnD
LVL 1
John DarbyPMAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

QlemoBatchelor, Developer and EE Topic AdvisorCommented:
The conditional formatting will always consider the result of the formula, never the formula text. So all you need is to set up is two conditions, one for 1 (Sunday)  and another for 7 (Saturday).
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
RayData AnalystCommented:
Qlemo's answer is the most direct route, but for completeness you can use the value in a formula.  To get the displayed value you have to use the Indirect function (such as =INDIRECT("G9")   )
0
Saurabh Singh TeotiaCommented:
Rather then the above formula..Use this one...

=AND(WEEKDAY(F9,2)>=6,F9<>"")

Open in new window


This will highlight your sat/sun automatically...

Saurabh...
1
John DarbyPMAuthor Commented:
Thank you, all!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.