Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Annabelle
 
Posts: n/a
Default NETWORKDAYS - Multiple Date Selection

Generally I use the formula =NETWORKDAYS(K7,L7) to determine the
workday count between dates, but today I have a more complex problem -
I have an original date, then I'm capturing UP TO four date changes.

COLUMNS
col. K - orig date, col. L - date move1, col. M - date move2, col. N -
date move3, col. O - date move4, col. P - arrival date

PROBLEM
If the date does not change, I can use the formula:
=NETWORKDAYS(K7,P7). If the date DOES change, I want to add a formula
that calculates the original date with the last move date (not always
the same as the arrival date).

col.K col.L col.M col.N col.O
col.P
Date Orig | Date Move1 | Date Move2 | Date Move3 | Date Move4 |
Arrival Date
| |
08/18/05 | 08/30/05 | 09/13/05 | | | 09/20/05
08/18/05 | 08/30/05 | 09/13/05 | | | 09/20/05
08/18/05 | 08/30/05 | | | | 08/10/05
09/01/05 | | | | | 09/02/05
07/18/05 | 07/29/05 | 08/12/05 | 08/19/05 | 08/24/05 |
08/29/05
06/25/05 | 07/14/05 | 07/28/05 | 08/15/05 | | 08/16/05

The formulas will be created in col. Q (orig and arrival) and col. R
(orig and last move). Can you assist?

  #2   Report Post  
Myrna Larson
 
Posts: n/a
Default


=NETWORKDAYS(K7,IF(COUNT(L7:O7),MAX(L7:O7),P7)


On 4 Oct 2005 09:59:15 -0700, "Annabelle" wrote:

Generally I use the formula =NETWORKDAYS(K7,L7) to determine the
workday count between dates, but today I have a more complex problem -
I have an original date, then I'm capturing UP TO four date changes.

COLUMNS
col. K - orig date, col. L - date move1, col. M - date move2, col. N -
date move3, col. O - date move4, col. P - arrival date

PROBLEM
If the date does not change, I can use the formula:
=NETWORKDAYS(K7,P7). If the date DOES change, I want to add a formula
that calculates the original date with the last move date (not always
the same as the arrival date).

col.K col.L col.M col.N col.O
col.P
Date Orig | Date Move1 | Date Move2 | Date Move3 | Date Move4 |
Arrival Date
| |
08/18/05 | 08/30/05 | 09/13/05 | | | 09/20/05
08/18/05 | 08/30/05 | 09/13/05 | | | 09/20/05
08/18/05 | 08/30/05 | | | | 08/10/05
09/01/05 | | | | | 09/02/05
07/18/05 | 07/29/05 | 08/12/05 | 08/19/05 | 08/24/05 |
08/29/05
06/25/05 | 07/14/05 | 07/28/05 | 08/15/05 | | 08/16/05

The formulas will be created in col. Q (orig and arrival) and col. R
(orig and last move). Can you assist?

  #3   Report Post  
Myrna Larson
 
Posts: n/a
Default

I think I'm missing a parenthesis at the end of that formula. Should be

=NETWORKDAYS(K7,IF(COUNT(L7:O7),MAX(L7:O7),P7))


On Tue, 04 Oct 2005 12:54:07 -0500, Myrna Larson
wrote:


=NETWORKDAYS(K7,IF(COUNT(L7:O7),MAX(L7:O7),P7)


On 4 Oct 2005 09:59:15 -0700, "Annabelle" wrote:

Generally I use the formula =NETWORKDAYS(K7,L7) to determine the
workday count between dates, but today I have a more complex problem -
I have an original date, then I'm capturing UP TO four date changes.

COLUMNS
col. K - orig date, col. L - date move1, col. M - date move2, col. N -
date move3, col. O - date move4, col. P - arrival date

PROBLEM
If the date does not change, I can use the formula:
=NETWORKDAYS(K7,P7). If the date DOES change, I want to add a formula
that calculates the original date with the last move date (not always
the same as the arrival date).

col.K col.L col.M col.N col.O
col.P
Date Orig | Date Move1 | Date Move2 | Date Move3 | Date Move4 |
Arrival Date
| |
08/18/05 | 08/30/05 | 09/13/05 | | | 09/20/05
08/18/05 | 08/30/05 | 09/13/05 | | | 09/20/05
08/18/05 | 08/30/05 | | | | 08/10/05
09/01/05 | | | | | 09/02/05
07/18/05 | 07/29/05 | 08/12/05 | 08/19/05 | 08/24/05 |
08/29/05
06/25/05 | 07/14/05 | 07/28/05 | 08/15/05 | | 08/16/05

The formulas will be created in col. Q (orig and arrival) and col. R
(orig and last move). Can you assist?

  #4   Report Post  
Annabelle
 
Posts: n/a
Default

Worked great! Thanks Myrna

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
count based on multiple date criteria lisaw Excel Worksheet Functions 1 August 9th 05 05:31 PM
Date Math Problem Dkline Excel Worksheet Functions 4 March 4th 05 05:11 PM
date and time ladimples247 New Users to Excel 2 February 16th 05 09:52 PM
Date Selection for Pivot Table Burak Emer Excel Discussion (Misc queries) 0 December 15th 04 09:19 AM
Drop-down selection fills data across multiple columns Tom Excel Discussion (Misc queries) 7 December 2nd 04 01:43 AM


All times are GMT +1. The time now is 01:32 PM.

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

About Us

"It's about Microsoft Excel"