Help with conditional formating

L

Lumpjaw

Greetins,

I have a workbook that in column A the cell contents are populated with
dates, let's say A1= 07/01/07, A2=07/02/07, etc. I would like to do some
conditional formating that examines the date in each row, and if the value
is found to be either "Saturday" or "Sunday" (day of week) the whole
respective row will turn bold black and grayed background. I already know
you can use the function 'text(a1,"dddd") to get the day, it is the rest I
am lost on. Thanks for any help.

-lumpjaw
 
R

Roger Govier

Hi

Provided you have the Analysis Toolpak loaded, Tools>Addins>Analysis
Toolpak, then
=WEEKDAY(A1,2)>5
will be your test and set the format you require.
 
T

T. Valko

No need for the ATP. WEEKDAY is built-in. You were probably thinking about
WORKDAY.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top