#1   Report Post  
Posted to microsoft.public.excel.misc
BPHMA
 
Posts: n/a
Default Hours and Minutes

I am trying to keep track of the hours and minutes a machine has operated.
This can get up to 20,000 hours. How do I add daily operating hours to the
begining total?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Hours and Minutes

A|re you storing the values of time and finding it can only go as far as 24?
If so, format the cell as [h]:mm

--

HTH

RP

"BPHMA" wrote in message
...
I am trying to keep track of the hours and minutes a machine has operated.
This can get up to 20,000 hours. How do I add daily operating hours to

the
begining total?



  #3   Report Post  
Posted to microsoft.public.excel.misc
Pete
 
Posts: n/a
Default Hours and Minutes

I think it would be better keeping these as numeric, rather than in
Excel time format. You might have a cumulative total in column B, with
the daily total hours in A. In B2 this simple formula will give you
what you want:

=A2+B1

and this can be copied down as necessary. If A is derived from start
and end times somewhere else and these are stored in Excel date format,
you can convert to hours by multiplying by 24.

Hope this helps.

Pete

  #4   Report Post  
Posted to microsoft.public.excel.misc
BPHMA
 
Posts: n/a
Default Hours and Minutes

Bob,
I am using [hh]:mm. This works fine until I get to 10,000 hours, then
when I try to Sum cell a1 and a2 it doesn't work.

"Bob Phillips" wrote:

A|re you storing the values of time and finding it can only go as far as 24?
If so, format the cell as [h]:mm

--

HTH

RP

"BPHMA" wrote in message
...
I am trying to keep track of the hours and minutes a machine has operated.
This can get up to 20,000 hours. How do I add daily operating hours to

the
begining total?




  #5   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Hours and Minutes

Ah, yes. I remember this problem.

I found earlier that this was a problem, that it was an Excel oddity. I
found that as long as you keep below 10000
for the base number, you can continue adding it without problem.

This may not be ideal, but if you use something like a running total, it
should work. The trick is never to try adding a cell that is greater than
10000. As long as they arev all below, it adds and shows okay.


--

HTH

RP

"BPHMA" wrote in message
...
Bob,
I am using [hh]:mm. This works fine until I get to 10,000 hours, then
when I try to Sum cell a1 and a2 it doesn't work.

"Bob Phillips" wrote:

A|re you storing the values of time and finding it can only go as far as

24?
If so, format the cell as [h]:mm

--

HTH

RP

"BPHMA" wrote in message
...
I am trying to keep track of the hours and minutes a machine has

operated.
This can get up to 20,000 hours. How do I add daily operating hours

to
the
begining total?








  #6   Report Post  
Posted to microsoft.public.excel.misc
BPHMA
 
Posts: n/a
Default Hours and Minutes

Thanks for the information. I need to keep track of hours of operation and a
lot of the machines have over 10,000 hours. I guess the best way to do that
would be to keep number in numeric format and write a formula so that 60
minutes will equal one.

"Bob Phillips" wrote:

Ah, yes. I remember this problem.

I found earlier that this was a problem, that it was an Excel oddity. I
found that as long as you keep below 10000
for the base number, you can continue adding it without problem.

This may not be ideal, but if you use something like a running total, it
should work. The trick is never to try adding a cell that is greater than
10000. As long as they arev all below, it adds and shows okay.


--

HTH

RP

"BPHMA" wrote in message
...
Bob,
I am using [hh]:mm. This works fine until I get to 10,000 hours, then
when I try to Sum cell a1 and a2 it doesn't work.

"Bob Phillips" wrote:

A|re you storing the values of time and finding it can only go as far as

24?
If so, format the cell as [h]:mm

--

HTH

RP

"BPHMA" wrote in message
...
I am trying to keep track of the hours and minutes a machine has

operated.
This can get up to 20,000 hours. How do I add daily operating hours

to
the
begining total?






  #7   Report Post  
Posted to microsoft.public.excel.misc
BPHMA
 
Posts: n/a
Default Hours and Minutes

I think something else would be need in the formula. Since 60 minutes equals
1 and it is different when adding decimal numbers.

"Pete" wrote:

I think it would be better keeping these as numeric, rather than in
Excel time format. You might have a cumulative total in column B, with
the daily total hours in A. In B2 this simple formula will give you
what you want:

=A2+B1

and this can be copied down as necessary. If A is derived from start
and end times somewhere else and these are stored in Excel date format,
you can convert to hours by multiplying by 24.

Hope this helps.

Pete


  #8   Report Post  
Posted to microsoft.public.excel.misc
daddylonglegs
 
Posts: n/a
Default Hours and Minutes


You can modify Pete's approach.

With your machine total so far in decimal hours in B1 and times to be
added (in time format) in A2 down use

=B1+A2*24 formatted as general or number

copy down column


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=501979

  #9   Report Post  
Posted to microsoft.public.excel.misc
BPHMA
 
Posts: n/a
Default Hours and Minutes

I can't seem to make this work. I have a machine with 12,300 hours and 23
minutes. I want to add daily operating time to this total. For example 3
hours 21 minutes. How do I do this in excel?

"daddylonglegs" wrote:


You can modify Pete's approach.

With your machine total so far in decimal hours in B1 and times to be
added (in time format) in A2 down use

=B1+A2*24 formatted as general or number

copy down column


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=501979


  #10   Report Post  
Posted to microsoft.public.excel.misc
Pete
 
Posts: n/a
Default Hours and Minutes

You have to realise that if you store the hours as numeric, then 100.5
and 200.25 represent 100 hours 30 mins and 200 hours 15 mins
respectively. However, if you really want to show this as hours and
minutes, the following formula in C2 will do this:

=TEXT(INT(B2),"0")&" hrs "&TEXT((B2-INT(B2))*60,"0")&" mins"

Copy this down column C for as many values as you have in A and B. You
can then hide column B if this causes confusion.

Hope this helps.

Pete



  #11   Report Post  
Posted to microsoft.public.excel.misc
daddylonglegs
 
Posts: n/a
Default Hours and Minutes


BPHMA

perhaps its easiest to keep everything in hours and minutes - your only
real issue is that you can't enter times 10,000 hours and above

..however you could get round this by showing your initial time of
12300:23 as a sum of two times under 10,000 hours e.g. in B1

="9000:00"+"3300:23"

this will give a result of 12:300:23 in B1 (format as [h]:mm)

and you can just add hours and minutes to this as necessary

Pete

this formula will do the same thing

=TEXT(B2/24,"[h] \hr\s m \mi\n\s")


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=501979

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 and minutes Patrick Excel Worksheet Functions 16 June 18th 08 09:24 PM
Adding minutes showing total in hours/minutes, i.e., 60 mins + 60 mins + 15 mins to total of 2 hours 15 mins? StargateFan Excel Discussion (Misc queries) 8 January 7th 06 07:35 PM
How to convert minutes to fractional hours Elara Excel Worksheet Functions 4 November 18th 05 10:30 PM
adding rows of hours and minutes to get a total Tipps Excel Worksheet Functions 1 November 4th 05 07:03 PM
Help for a newbie trying to add hours and minutes :) Bugjam1999 Excel Discussion (Misc queries) 8 August 11th 05 05:21 PM


All times are GMT +1. The time now is 08:43 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"