PC Review


Reply
Thread Tools Rate Thread

Calculating Time

 
 
Phil Jones
Guest
Posts: n/a
 
      15th Oct 2003
Can anyone help with this issue?

I have a form that works out time worked in each day, then need to totalise
these for the week. However when I add the total time together it give an
incorrect value.

When I change the format the total also changes but still gives an incorrect
result

i.e.
Monday 7:27:00
Tuesday 6:51:00
Wed 8:43:00
Thurs 9:23:00
Friday 7:37:00
Total 38:81:00

all times are decimal minutes. The cells are formatted using custom format
[h]:mm:ss

When I add these together the result I get is: 40:01:00?

If I change the format to hh:mm:ss I get 16:01:00?

Anyone any ideas ?

Thanks
Phil



 
Reply With Quote
 
 
 
 
Peo Sjoblom
Guest
Posts: n/a
 
      16th Oct 2003
The result is correct, even if they are decimals they are seen as hh:mm, if
you want the result
to be 38.81 you have to enter them as 7.27 and so on (note that 7.27 is not
the same as 7:27,
7.27 is the same as 7:16) I get the same result 40:01 and that it what is
should be

--

Regards,

Peo Sjoblom

"Phil Jones" <PJ@NOSPAM_pos-online.co.uk> wrote in message
news:(E-Mail Removed)...
> Can anyone help with this issue?
>
> I have a form that works out time worked in each day, then need to

totalise
> these for the week. However when I add the total time together it give an
> incorrect value.
>
> When I change the format the total also changes but still gives an

incorrect
> result
>
> i.e.
> Monday 7:27:00
> Tuesday 6:51:00
> Wed 8:43:00
> Thurs 9:23:00
> Friday 7:37:00
> Total 38:81:00
>
> all times are decimal minutes. The cells are formatted using custom format
> [h]:mm:ss
>
> When I add these together the result I get is: 40:01:00?
>
> If I change the format to hh:mm:ss I get 16:01:00?
>
> Anyone any ideas ?
>
> Thanks
> Phil
>
>
>



 
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
Calculating Time with Date/Time checking in formula cmatera Microsoft Excel Worksheet Functions 2 11th Aug 2008 01:38 PM
Re: Daylight Saving Time (DST) and calculating time difference. Peter T Microsoft Excel Programming 3 19th Jan 2007 10:51 AM
Re: Daylight Saving Time (DST) and calculating time difference. Chip Pearson Microsoft Excel Programming 1 17th Jan 2007 03:35 PM
calculating timesheet, time-in/time-out = total hours & minutes, . =?Utf-8?B?U3RldmUgTGluZHNheQ==?= Microsoft Excel Worksheet Functions 13 8th Nov 2006 03:45 PM
Calculating effective time from start/end date+time Stefan Stridh Microsoft Excel Worksheet Functions 8 27th Nov 2004 03:50 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:56 AM.