#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
gma gma is offline
external usenet poster
 
Posts: 45
Default calculate hours

how do you calculate hours i.e.
3:45am-11:15am = ______hrs?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default calculate hours

gma wrote:
how do you calculate hours i.e.
3:45am-11:15am = ______hrs?



Look he

http://www.cpearson.com/excel/datearith.htm
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,203
Default calculate hours

Assuming earlier time in A14 (3:45 am) and later time in B14 (11:15 am), then
in another cell = B14-A14
and now the trick: in that cell use Format -- Cells and go down to custom
and use [h]:mm:ss to give you the result in hours minutes and seconds rather
than as a time of day.


"gma" wrote:

how do you calculate hours i.e.
3:45am-11:15am = ______hrs?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default calculate hours

The answer is negative 8 hours. But Excel cannot display negative times. If
this is what you actually want to do, post back, and we'll give you some
options.

If you really meant 11:15 - 3:15, it's simple subtraction:
=a2-a1
Format as a time.

Regards,
Fred

"gma" wrote in message
...
how do you calculate hours i.e.
3:45am-11:15am = ______hrs?


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default calculate hours

=(A2-A1)*24 and format as General or Number, if you want the answer in
decimal hours.
--
David Biddulph


"gma" wrote in message
...
how do you calculate hours i.e.
3:45am-11:15am = ______hrs?



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
calculate hours. Maria Teresa Excel Discussion (Misc queries) 3 May 29th 09 04:40 PM
How do you calculate hours? chefd Excel Discussion (Misc queries) 2 February 29th 08 10:03 PM
Drivers Hours Timesheet - Calculate Hours Worked on Weekly Basis Graham Excel Discussion (Misc queries) 2 January 28th 07 08:40 PM
calculate hours Caveman Excel Discussion (Misc queries) 1 May 29th 06 11:52 PM
How to calculate hours? cheryl Excel Worksheet Functions 6 August 2nd 05 08:20 AM


All times are GMT +1. The time now is 06:07 AM.

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"