Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default adding up hours

HI all, how to I add up numbers and convert them hours and minutes for eg
7 +7+7:40+7 =28hrs 40 mins
Thanks all
--
delmac
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default adding up hours

Assume your times are in cells A1:A4; result would be this:
=INT(SUM(A1:A4))*24+HOUR(SUM(A1:A4))&"hrs, "&MINUTE(SUM(A1:A4))&"min"
Make sure all times are entered in time format, not straight numbers; i.e
07:00 instead of 7.
--
- K Dales


"delmac" wrote:

HI all, how to I add up numbers and convert them hours and minutes for eg
7 +7+7:40+7 =28hrs 40 mins
Thanks all
--
delmac

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,651
Default adding up hours

On Fri, 3 Feb 2006 04:44:10 -0800, delmac
wrote:

HI all, how to I add up numbers and convert them hours and minutes for eg
7 +7+7:40+7 =28hrs 40 mins
Thanks all


If they are all entered as time:

7:00
7:00
7:40
7:00

Then just SUM the range and format the result cell as [h]:mm

(Format/Cells/Number Custom Type: [h]:mm)

Note the brackets around the h -- this will keep the hours from "rolling over"
every 24.


--ron
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
Adding Hours Dale[_5_] Excel Discussion (Misc queries) 2 January 31st 10 05:29 AM
Adding hours Yitzhack Excel Discussion (Misc queries) 6 October 11th 08 06:04 PM
Need help adding hours exceeding 24 hours faerk Excel Worksheet Functions 7 August 18th 08 08:59 PM
adding like job hours MarkT Excel Discussion (Misc queries) 5 May 2nd 08 01:31 PM
Adding hours to a date Rich Excel Worksheet Functions 6 November 28th 06 08:50 PM


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