Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 249
Default Formating date ranges for weekends

I have a row of dates which start from =TODAY() and increment by 1 along the
row giving a sequential row of dates.

The dates are all highlighted in one color

I would like to highlight weekends in a different color format to make them
stand out. I would like this to be done automatically.

Is there anyway to do this?

Thanks,

Roger
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default Formating date ranges for weekends

You can do this with a conditional format. Use this formula

=AND(WEEKDAY(A2,2)=6,ISBLANK(A2)=FALSE)
--
HTH,
Barb Reinhardt



"Roger on Excel" wrote:

I have a row of dates which start from =TODAY() and increment by 1 along the
row giving a sequential row of dates.

The dates are all highlighted in one color

I would like to highlight weekends in a different color format to make them
stand out. I would like this to be done automatically.

Is there anyway to do this?

Thanks,

Roger

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 249
Default Formating date ranges for weekends

Hi Barb,

This works very nicely.

Thankyou so much!

All the best,

Roger

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 249
Default Formating date ranges for weekends

Barb,

I have another question

I have an Excel Gantt chart. I would like to add a line down the rows to
coincide with each month end, so that each month range has verticla
boundaries.

The date range is along row 27.

I use the conditional formating you suggested to recognise weekends so I
suspect I can also use conditional formatting to recognise month ends.

What do you think?

Thanks,

Roger


"Barb Reinhardt" wrote:

You can do this with a conditional format. Use this formula

=AND(WEEKDAY(A2,2)=6,ISBLANK(A2)=FALSE)
--
HTH,
Barb Reinhardt



"Roger on Excel" wrote:

I have a row of dates which start from =TODAY() and increment by 1 along the
row giving a sequential row of dates.

The dates are all highlighted in one color

I would like to highlight weekends in a different color format to make them
stand out. I would like this to be done automatically.

Is there anyway to do this?

Thanks,

Roger

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
Date Formula Excluding Weekends Dvinechild Excel Discussion (Misc queries) 3 April 2nd 08 09:10 PM
Date - I would like to skip weekends in a date range Teethless mama Excel Worksheet Functions 0 April 1st 08 12:56 AM
Skip Weekends in date Nigel Excel Worksheet Functions 11 December 21st 07 10:47 AM
In MS Excel 03, how do I determine an end date (with weekends)? Jen Excel Worksheet Functions 1 June 1st 06 01:02 PM
Conditionally formating weekends Edgar Thoemmes Excel Worksheet Functions 3 January 21st 05 02:19 PM


All times are GMT +1. The time now is 02:22 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"