Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,101
Default NetworkDays: Dates and conditional formatting

Hi ya, I have NETWORKDAYS installed and using 2003.
I have a Start date in cell A1 and an End date in B1. I need to find out if
the date in B1 is 2 days greater than the start date in A1, I wish to color
code cell B1 in Red.

Thanks and much appreciate all your help guys


Regards
Mike
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default NetworkDays: Dates and conditional formatting

Use a conditional format of:

=b1a1+2

No need for Networkdays

Regards,
Fred

"Mike" wrote in message
...
Hi ya, I have NETWORKDAYS installed and using 2003.
I have a Start date in cell A1 and an End date in B1. I need to find out
if
the date in B1 is 2 days greater than the start date in A1, I wish to
color
code cell B1 in Red.

Thanks and much appreciate all your help guys


Regards
Mike


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,101
Default NetworkDays: Dates and conditional formatting

Thanks Fred, I thought it would not be so complicated

Cheers
Mike


"Fred Smith" wrote:

Use a conditional format of:

=b1a1+2

No need for Networkdays

Regards,
Fred

"Mike" wrote in message
...
Hi ya, I have NETWORKDAYS installed and using 2003.
I have a Start date in cell A1 and an End date in B1. I need to find out
if
the date in B1 is 2 days greater than the start date in A1, I wish to
color
code cell B1 in Red.

Thanks and much appreciate all your help guys


Regards
Mike



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default NetworkDays: Dates and conditional formatting

Mike,

I don't believe you can use networkdays in conditional formatting so if you
want to color a cell that is more then 2 working days greater than another
use this in B2 as a conditional format check against A1

=SUMPRODUCT(INT((B1-WEEKDAY(B1+1-ROW(INDIRECT("2:6")))-A1+8)/7))2

Mike

"Mike" wrote:

Hi ya, I have NETWORKDAYS installed and using 2003.
I have a Start date in cell A1 and an End date in B1. I need to find out if
the date in B1 is 2 days greater than the start date in A1, I wish to color
code cell B1 in Red.

Thanks and much appreciate all your help guys


Regards
Mike

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,101
Default NetworkDays: Dates and conditional formatting

Hi Fred, how do I have it not to include weekend days - can I use the
Networkdays within the conditional formatting formula?
--
Regards
Mike


"Fred Smith" wrote:

Use a conditional format of:

=b1a1+2

No need for Networkdays

Regards,
Fred

"Mike" wrote in message
...
Hi ya, I have NETWORKDAYS installed and using 2003.
I have a Start date in cell A1 and an End date in B1. I need to find out
if
the date in B1 is 2 days greater than the start date in A1, I wish to
color
code cell B1 in Red.

Thanks and much appreciate all your help guys


Regards
Mike





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,101
Default NetworkDays: Dates and conditional formatting

You star! Mike H, thanks a million
--
Regards
Mike


"Mike H" wrote:

Mike,

I don't believe you can use networkdays in conditional formatting so if you
want to color a cell that is more then 2 working days greater than another
use this in B2 as a conditional format check against A1

=SUMPRODUCT(INT((B1-WEEKDAY(B1+1-ROW(INDIRECT("2:6")))-A1+8)/7))2

Mike

"Mike" wrote:

Hi ya, I have NETWORKDAYS installed and using 2003.
I have a Start date in cell A1 and an End date in B1. I need to find out if
the date in B1 is 2 days greater than the start date in A1, I wish to color
code cell B1 in Red.

Thanks and much appreciate all your help guys


Regards
Mike

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 Formatting with Dates JoAnn New Users to Excel 2 February 25th 08 03:12 PM
Conditional Formatting - dates Kat Excel Discussion (Misc queries) 9 December 14th 06 06:36 AM
Dates in Conditional Formatting help!!! Corey Excel Worksheet Functions 1 July 27th 06 10:08 AM
Conditional Formatting with NETWORKDAYS function rlaw68 Excel Discussion (Misc queries) 2 July 13th 06 05:42 PM
Help with Conditional formatting with Dates Prabha Excel Discussion (Misc queries) 4 February 14th 05 04:13 PM


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