PC Review


Reply
Thread Tools Rate Thread

date calculation between two times

 
 
=?Utf-8?B?S2ltIFNoZWx0b24gYXQgUERD?=
Guest
Posts: n/a
 
      25th Sep 2007
I have a chart setup to calculate the converted time between to time frames
example. The crew started at 7:00am and ended at 10:00 am. Everything works
except with the time is started at 7:15 am and ended at 7:00 am which of
course is not possible but because it is a continuous chart I have it setup
that way. I want the answer to be 0:00 instead of the ##### symbols error
that it gives me. See sample below. My chart continues until 10:00 pm on
the end of and out.
IN 7:00 AM 7:15 AM 7:30 AM 7:45 AM
OUT
7:00 AM 0:00 ##### ##### #####
7:15 AM 0:15 ##### ##### #####
7:30 AM 0:30 0:15 0:00 #####
7:45 AM 0:45 0:30 0:15 0:00
8:00 AM 1:00 0:45 0:30 0:15

 
Reply With Quote
 
 
 
 
Sandy Mann
Guest
Posts: n/a
 
      25th Sep 2007
With your data in A1:E7, enter in B3:

=IF(B$1>=$A3,0,$A3-B$1)

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

(E-Mail Removed)
Replace @mailinator.com with @tiscali.co.uk


"Kim Shelton at PDC" <(E-Mail Removed)> wrote in
message news:E4B395E2-A247-4AE9-AEA4-(E-Mail Removed)...
>I have a chart setup to calculate the converted time between to time frames
> example. The crew started at 7:00am and ended at 10:00 am. Everything
> works
> except with the time is started at 7:15 am and ended at 7:00 am which of
> course is not possible but because it is a continuous chart I have it
> setup
> that way. I want the answer to be 0:00 instead of the ##### symbols error
> that it gives me. See sample below. My chart continues until 10:00 pm on
> the end of and out.
> IN 7:00 AM 7:15 AM 7:30 AM 7:45 AM
> OUT
> 7:00 AM 0:00 ##### ##### #####
> 7:15 AM 0:15 ##### ##### #####
> 7:30 AM 0:30 0:15 0:00 #####
> 7:45 AM 0:45 0:30 0:15 0:00
> 8:00 AM 1:00 0:45 0:30 0:15
>
>



 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      25th Sep 2007
You'll see #####'s in a cell if you try to show negative times (or dates) and
you're not using 1904 as your base date.

Maybe you can adjust the formula:

=if(a$2>b$2,0,b$2-$a2)



Kim Shelton at PDC wrote:
>
> I have a chart setup to calculate the converted time between to time frames
> example. The crew started at 7:00am and ended at 10:00 am. Everything works
> except with the time is started at 7:15 am and ended at 7:00 am which of
> course is not possible but because it is a continuous chart I have it setup
> that way. I want the answer to be 0:00 instead of the ##### symbols error
> that it gives me. See sample below. My chart continues until 10:00 pm on
> the end of and out.
> IN 7:00 AM 7:15 AM 7:30 AM 7:45 AM
> OUT
> 7:00 AM 0:00 ##### ##### #####
> 7:15 AM 0:15 ##### ##### #####
> 7:30 AM 0:30 0:15 0:00 #####
> 7:45 AM 0:45 0:30 0:15 0:00
> 8:00 AM 1:00 0:45 0:30 0:15


--

Dave Peterson
 
Reply With Quote
 
David Biddulph
Guest
Posts: n/a
 
      25th Sep 2007
You haven't told us what formula you've used, but if you have =A3-C1 giving
the negative result displayed as #####, try changing the formula to
=MAX(A3-C1,0)
--
David Biddulph

"Kim Shelton at PDC" <(E-Mail Removed)> wrote in
message news:E4B395E2-A247-4AE9-AEA4-(E-Mail Removed)...
>I have a chart setup to calculate the converted time between to time frames
> example. The crew started at 7:00am and ended at 10:00 am. Everything
> works
> except with the time is started at 7:15 am and ended at 7:00 am which of
> course is not possible but because it is a continuous chart I have it
> setup
> that way. I want the answer to be 0:00 instead of the ##### symbols error
> that it gives me. See sample below. My chart continues until 10:00 pm on
> the end of and out.
> IN 7:00 AM 7:15 AM 7:30 AM 7:45 AM
> OUT
> 7:00 AM 0:00 ##### ##### #####
> 7:15 AM 0:15 ##### ##### #####
> 7:30 AM 0:30 0:15 0:00 #####
> 7:45 AM 0:45 0:30 0:15 0:00
> 8:00 AM 1:00 0:45 0:30 0:15
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculation error 850 times 77,1 Mantvydas Microsoft Excel Discussion 11 22nd Oct 2007 08:45 AM
Very Long Calculation Times =?Utf-8?B?QnJpYXIgUmFiYml0?= Microsoft Excel Misc 1 16th Sep 2006 08:31 PM
Calculation of hourly rate times hours times 1.5 =?Utf-8?B?TmV3YnVzaW5lc3Nib2Q=?= Microsoft Excel Worksheet Functions 1 6th Dec 2005 04:44 PM
Movie Times Calculation? CAMooV Microsoft Excel Worksheet Functions 1 18th Sep 2003 04:41 PM
times calculation Ron Microsoft Excel Worksheet Functions 2 28th Jun 2003 12:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:12 AM.