A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Calculate the number of hours in a date/time cell



 
 
Thread Tools Display Modes
  #1  
Old April 16th, 2009, 11:37 AM posted to microsoft.public.excel.worksheet.functions
richardwo
external usenet poster
 
Posts: 16
Default Calculate the number of hours in a date/time cell

Morning,

I created a pivot table showing the sum of handover delays. If there were a
total 11hrs 40-mins delayed in a week then it correctly returns 11:40:00,
however, if delays exceed 24-hours (i.e. 25hrs and 32-mins) then the cell
displays 01:32:00 and when you select the cell it then shows 01/01/1900
01:32:00.

What I would like to calculate is the total number of hours delayed, and not
the number of days and hours. Is there any way of doing this?

Many thanks
  #2  
Old April 16th, 2009, 11:48 AM posted to microsoft.public.excel.worksheet.functions
Jacob Skaria
external usenet poster
 
Posts: 5,952
Default Calculate the number of hours in a date/time cell

Custom Format the cells to [h]:mm:ss to display the total time.

If this post helps click Yes
---------------
Jacob Skaria


"richardwo" wrote:

Morning,

I created a pivot table showing the sum of handover delays. If there were a
total 11hrs 40-mins delayed in a week then it correctly returns 11:40:00,
however, if delays exceed 24-hours (i.e. 25hrs and 32-mins) then the cell
displays 01:32:00 and when you select the cell it then shows 01/01/1900
01:32:00.

What I would like to calculate is the total number of hours delayed, and not
the number of days and hours. Is there any way of doing this?

Many thanks

 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:58 AM.


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