Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default How toFind the Time difference in hours

How to find the difference between to dates with time in hours. For example
if my data in A1 is Wed 4/13/2008 12:00 PM and in B1 Thu 4/14/2008 3:00 PM i
want the difference as 27 hours.How to find this? Please some one help me out
in this
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default How toFind the Time difference in hours

Try this:

=(B1-A1)*24

Format cell as General or as Number.

Hope this helps.

Pete

On Apr 28, 2:41*pm, Vimal wrote:
How to find the difference between to dates with time in hours. For example
if my data in A1 is Wed 4/13/2008 12:00 PM and in B1 Thu 4/14/2008 3:00 PM i
want the difference as 27 hours.How to find this? Please some one help me out
in this


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default How toFind the Time difference in hours

Format the cell of your result as follows by pressing Ctrl+1 to call up the
Format Cells dialog: in the Category list box, select Custom; and in the
Type text box, type [h]. Click the OK button. Now the result will be in
hours. Hope this helps.

--
Daniel Fruge

"Vimal" wrote in message
...
How to find the difference between to dates with time in hours. For
example
if my data in A1 is Wed 4/13/2008 12:00 PM and in B1 Thu 4/14/2008 3:00 PM
i
want the difference as 27 hours.How to find this? Please some one help me
out
in this


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
Difference of time in hours or minutes Charles Excel Discussion (Misc queries) 2 September 13th 06 11:12 PM
HOURS DIFFERENCE IN TIME BETWEEN DIFFERENT DATES AND TIMES tankerman Excel Worksheet Functions 1 September 13th 05 04:31 PM
Calculate difference in time spanning a day, during office hours o frozenfusion Excel Discussion (Misc queries) 1 August 26th 05 10:39 AM
How to get difference in hours Akhilesh Dalia Excel Worksheet Functions 6 April 23rd 05 06:41 AM
calculate difference in time to hours Chris Excel Worksheet Functions 5 January 18th 05 06:07 PM


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