#1   Report Post  
MJOHNSON
 
Posts: n/a
Default missing deadline

Hi,
I would greatly appreciate if someone could help with the following: I am
trying to get a negative result for a missed deadline.

I have determined the formula when the deadline is met:
deadline (A1) report released (B1) result
01/11/05 6:00 pm 01/11/05 5:45 pm 0:15:00

I used the following formula to generate the above result:
=Mod(A1,1)-MOD(B1,1)+(NETWORKDAYS(B1,A1,Holidays)-1)*3/8

What forumula should be used if the report is released after the deadline;
based on the following parameters: monday-friday 9am-6pm workday; where
holidays are excluded and the deadline time is always 6:00 pm on the deadline
date?

What I'm getting now for a missed deadline is: ############

Thanks for your help!!
  #2   Report Post  
Myrna Larson
 
Posts: n/a
Default

That's probably because the date and time is negative and Excel's 1900 date
system does not allow negatives dates or times.

The work-around is to change the workbook to the 1904 date system
(Tools/Options/Calculation). But if you do that, you'll find that all dates
are too high by 1462 days (4 years plus a day). To correct that, you must type
the number 1462 in a cell, Edit/Copy that cell, then select all of the
existing cells that contain dates, and Edit/Paste Special and select the
VALUES and SUBTRACT options.


On Tue, 25 Jan 2005 15:05:03 -0800, "MJOHNSON"
wrote:

Hi,
I would greatly appreciate if someone could help with the following: I am
trying to get a negative result for a missed deadline.

I have determined the formula when the deadline is met:
deadline (A1) report released (B1) result
01/11/05 6:00 pm 01/11/05 5:45 pm 0:15:00

I used the following formula to generate the above result:
=Mod(A1,1)-MOD(B1,1)+(NETWORKDAYS(B1,A1,Holidays)-1)*3/8

What forumula should be used if the report is released after the deadline;
based on the following parameters: monday-friday 9am-6pm workday; where
holidays are excluded and the deadline time is always 6:00 pm on the deadline
date?

What I'm getting now for a missed deadline is: ############

Thanks for your help!!


  #3   Report Post  
RagDyer
 
Posts: n/a
Default

How about simply changing the format of the cell containing the formula to
"General"?

Works for me.
--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================

"MJOHNSON" wrote in message
...
Hi,
I would greatly appreciate if someone could help with the following: I am
trying to get a negative result for a missed deadline.

I have determined the formula when the deadline is met:
deadline (A1) report released (B1) result
01/11/05 6:00 pm 01/11/05 5:45 pm 0:15:00

I used the following formula to generate the above result:
=Mod(A1,1)-MOD(B1,1)+(NETWORKDAYS(B1,A1,Holidays)-1)*3/8

What forumula should be used if the report is released after the deadline;
based on the following parameters: monday-friday 9am-6pm workday; where
holidays are excluded and the deadline time is always 6:00 pm on the
deadline
date?

What I'm getting now for a missed deadline is: ############

Thanks for your help!!

  #4   Report Post  
MJOHNSON
 
Posts: n/a
Default

Myrna,

Thank you so much re the 1904 work-around. That was so helpful : )
I'm almost where I need to be. Can you tell me how do I get the weekends to
be disregarded? "Holidays" and "Networkdays" are included in the formula, but
if the deadline is missed, the days are still being factored in. For example:

(Where 05/30/05 is a holiday and 05/28 & 05/29 are weekend days)

Deadline Released Result
05/27/05 6:00 pm 05/31/05 6:00 -24:00:00 (should be -8:00:00)
05/31/05 6:00 pm 05/27/05 6:00 8:00:00 (correct)

Thanks again for your kind assistance!


"Myrna Larson" wrote:

That's probably because the date and time is negative and Excel's 1900 date
system does not allow negatives dates or times.

The work-around is to change the workbook to the 1904 date system
(Tools/Options/Calculation). But if you do that, you'll find that all dates
are too high by 1462 days (4 years plus a day). To correct that, you must type
the number 1462 in a cell, Edit/Copy that cell, then select all of the
existing cells that contain dates, and Edit/Paste Special and select the
VALUES and SUBTRACT options.


On Tue, 25 Jan 2005 15:05:03 -0800, "MJOHNSON"
wrote:

Hi,
I would greatly appreciate if someone could help with the following: I am
trying to get a negative result for a missed deadline.

I have determined the formula when the deadline is met:
deadline (A1) report released (B1) result
01/11/05 6:00 pm 01/11/05 5:45 pm 0:15:00

I used the following formula to generate the above result:
=Mod(A1,1)-MOD(B1,1)+(NETWORKDAYS(B1,A1,Holidays)-1)*3/8

What forumula should be used if the report is released after the deadline;
based on the following parameters: monday-friday 9am-6pm workday; where
holidays are excluded and the deadline time is always 6:00 pm on the deadline
date?

What I'm getting now for a missed deadline is: ############

Thanks for your help!!



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
Excel color palette missing colors lstaley_corb Excel Discussion (Misc queries) 0 January 19th 05 10:53 PM
Missing values in Excel Line Chart mw55309 Charts and Charting in Excel 1 January 19th 05 12:10 PM
PivotTable toolbar missing? Mike Silverman Setting up and Configuration of Excel 0 January 11th 05 06:58 AM
how can i get the slope function to ignore missing data? Delmar Excel Discussion (Misc queries) 0 December 2nd 04 05:55 PM
Identify missing criteria Farmer Mark Excel Worksheet Functions 3 November 27th 04 04:23 PM


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