Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Help with conditional formating

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


  #2   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming
external usenet poster
 
Posts: 2,886
Default Help with conditional formating

Hi

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

--
Regards

Roger Govier


"Lumpjaw" wrote in message
...
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



  #3   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming
external usenet poster
 
Posts: 15,768
Default Help with conditional formating

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

--
Biff
Microsoft Excel MVP


"Roger Govier" wrote in message
...
Hi

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

--
Regards

Roger Govier


"Lumpjaw" wrote in message
...
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





  #4   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming
external usenet poster
 
Posts: 2,886
Default Help with conditional formating

Yep, it was late (early)!!!!! Brain totally fuddled

--
Regards

Roger Govier


"T. Valko" wrote in message
...
No need for the ATP. WEEKDAY is built-in. You were probably thinking
about WORKDAY.

--
Biff
Microsoft Excel MVP


"Roger Govier" wrote in message
...
Hi

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

--
Regards

Roger Govier


"Lumpjaw" wrote in message
...
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







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 formating Renee Cole Excel Discussion (Misc queries) 5 September 14th 08 09:30 AM
conditional formating with len doyree Excel Discussion (Misc queries) 7 February 7th 08 11:20 PM
Conditional formating Dave Excel Worksheet Functions 2 June 18th 07 02:51 PM
Install dates formating using conditional formating? Jerry Eggleston Excel Discussion (Misc queries) 2 November 9th 05 05:49 PM
Conditional formating satucha Excel Programming 3 August 25th 05 04:14 PM


All times are GMT +1. The time now is 11:36 PM.

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

About Us

"It's about Microsoft Excel"