Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,388
Default Adding up hours and minutes

Hi,
I need to add up a list of hour and minutes, the only problem being is that
Excel treats them as TIME not hours and minutes.

For example, if I sum 7:24, 7:24 , 7:24, 7:24 [ where 7 = hours and 24 =
minutes ] then Excel five me an answer of 05:36 rather than 29.36 - any ideas
how I get this working ?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Adding up hours and minutes

Use a custom format for the total cell:

[h]:mm

will stop hours above 25 being treated as days.

The same can be accomplished by choosing the format "37:30:55" from the
list provided under Format | Cells | Number (tab) | Time.

Hope this helps.

Pete

Dave wrote:
Hi,
I need to add up a list of hour and minutes, the only problem being is that
Excel treats them as TIME not hours and minutes.

For example, if I sum 7:24, 7:24 , 7:24, 7:24 [ where 7 = hours and 24 =
minutes ] then Excel five me an answer of 05:36 rather than 29.36 - any ideas
how I get this working ?

Thanks


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Adding up hours and minutes

Sorry, I meant 24 hours not 25.

Pete

Pete_UK wrote:
Use a custom format for the total cell:

[h]:mm

will stop hours above 25 being treated as days.

The same can be accomplished by choosing the format "37:30:55" from the
list provided under Format | Cells | Number (tab) | Time.

Hope this helps.

Pete

Dave wrote:
Hi,
I need to add up a list of hour and minutes, the only problem being is that
Excel treats them as TIME not hours and minutes.

For example, if I sum 7:24, 7:24 , 7:24, 7:24 [ where 7 = hours and 24 =
minutes ] then Excel five me an answer of 05:36 rather than 29.36 - any ideas
how I get this working ?

Thanks


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default Adding up hours and minutes

Hi Dave,

What seems to be happening is that the sum of the hours and minutes (29 hrs
36 mins) is being converted back to the remainder after being divided by 24
hours (29:36 - 24).
One way round this could be to convert the times to minutes, e.g.

=HOUR(a1)*60+MINUTE(a1) ' where a1 etc. contain 7:24, giving 444 minutes in
total (using number as the cell format instead of hh:mm)

Adding the minutes and dividing by 60 gives 29.6, which can be converted
back to 29:36

HTH
Anthony


"Dave" wrote:

Hi,
I need to add up a list of hour and minutes, the only problem being is that
Excel treats them as TIME not hours and minutes.

For example, if I sum 7:24, 7:24 , 7:24, 7:24 [ where 7 = hours and 24 =
minutes ] then Excel five me an answer of 05:36 rather than 29.36 - any ideas
how I get this working ?

Thanks

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,327
Default Adding up hours and minutes

See also if there's a number format under Time saying
37:30:55
-some countries have it, others don't, for some strange reason.

HTH. Best wishes Harald

"Dave" skrev i melding
...
Hi,
I need to add up a list of hour and minutes, the only problem being is

that
Excel treats them as TIME not hours and minutes.

For example, if I sum 7:24, 7:24 , 7:24, 7:24 [ where 7 = hours and 24 =
minutes ] then Excel five me an answer of 05:36 rather than 29.36 - any

ideas
how I get this working ?

Thanks





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,388
Default Adding up hours and minutes

Excellent - Thanks for that Pete.
Cheers

"Pete_UK" wrote:

Use a custom format for the total cell:

[h]:mm

will stop hours above 25 being treated as days.

The same can be accomplished by choosing the format "37:30:55" from the
list provided under Format | Cells | Number (tab) | Time.

Hope this helps.

Pete

Dave wrote:
Hi,
I need to add up a list of hour and minutes, the only problem being is that
Excel treats them as TIME not hours and minutes.

For example, if I sum 7:24, 7:24 , 7:24, 7:24 [ where 7 = hours and 24 =
minutes ] then Excel five me an answer of 05:36 rather than 29.36 - any ideas
how I get this working ?

Thanks



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Adding up hours and minutes

You're welcome, Dave - thanks for feeding back.

Pete

Dave wrote:
Excellent - Thanks for that Pete.
Cheers

"Pete_UK" wrote:

Use a custom format for the total cell:

[h]:mm

will stop hours above 25 being treated as days.

The same can be accomplished by choosing the format "37:30:55" from the
list provided under Format | Cells | Number (tab) | Time.

Hope this helps.

Pete

Dave wrote:
Hi,
I need to add up a list of hour and minutes, the only problem being is that
Excel treats them as TIME not hours and minutes.

For example, if I sum 7:24, 7:24 , 7:24, 7:24 [ where 7 = hours and 24 =
minutes ] then Excel five me an answer of 05:36 rather than 29.36 - any ideas
how I get this working ?

Thanks




  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Adding up hours and minutes

I'm trying to add a column of hrs and minutes. I tried to use the
=sum(a1:a21,"h:mm") Don't work

What do you suggest?

Thanks Fly Boy Five

"Dave" wrote:

Hi,
I need to add up a list of hour and minutes, the only problem being is that
Excel treats them as TIME not hours and minutes.

For example, if I sum 7:24, 7:24 , 7:24, 7:24 [ where 7 = hours and 24 =
minutes ] then Excel five me an answer of 05:36 rather than 29.36 - any ideas
how I get this working ?

Thanks

  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Adding up hours and minutes

Hi,
I seem to be having the same problem as Fly Boy Five, I have a list of times
(the cells are custom formatted as hh:mm) and need to add them up to give me
a monthly total. I have followed the help in excel 2002 and used the formula
=Sum(H10:h40)*24 and formated the cell to hh:mm to give me a total in cell
h41 but it only returns as 00:00. After reading the posts on this thread I
have tried different formats on the total cell but can not seem to get it to
work.

Any help would be much appreciated.

Many thanks in advance
Chieflx

"Sandy Mann" wrote:

Fly Boy Five,

Simply use =SUM(A1:A21) and format the cell as Custom format [h]:mm

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


with @tiscali.co.uk


"Fly Boy 5" wrote in message
...
I'm trying to add a column of hrs and minutes. I tried to use the
=sum(a1:a21,"h:mm") Don't work

What do you suggest?

Thanks Fly Boy Five

"Dave" wrote:

Hi,
I need to add up a list of hour and minutes, the only problem being is
that
Excel treats them as TIME not hours and minutes.

For example, if I sum 7:24, 7:24 , 7:24, 7:24 [ where 7 = hours and 24 =
minutes ] then Excel five me an answer of 05:36 rather than 29.36 - any
ideas
how I get this working ?

Thanks







  #11   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Adding up hours and minutes

You should EITHER use the formula:

=SUM(H10:H40)

and apply the custom format [h]:mm:ss to the cell if you want to
display the result like that and keep the total in Excel time format,
OR if you use the formula:

=SUM(H10:H40)*24

this will convert the result into (decimal) hours, so you need to
apply the format of Number with, say, 2 dp. With this formula and
format, an answer of, say, 26 hours and 45 minutes will be displayed
as 26.75.

Hope this helps.

Pete

On Jun 26, 1:19*pm, chieflx wrote:
Hi,
I seem to be having the same problem as Fly Boy Five, I have a list of times
(the cells are custom formatted as hh:mm) and need to add them up to give me
a monthly total. I have followed the help in excel 2002 and used the formula
=Sum(H10:h40)*24 and formated the cell to hh:mm to give me a total in cell
h41 but it only returns as 00:00. After reading the posts on this thread I
have tried different formats on the total cell but can not seem to get it to
work.

Any help would be much appreciated.

Many thanks in advance
Chieflx



"Sandy Mann" wrote:
Fly Boy Five,


Simply use =SUM(A1:A21) and format the cell as Custom format [h]:mm


--
HTH


Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings



with @tiscali.co.uk


"Fly Boy 5" wrote in message
...
I'm trying to add a column of hrs and minutes. *I tried to use the
=sum(a1:a21,"h:mm") *Don't work


What do you suggest?


Thanks Fly Boy Five


"Dave" wrote:


Hi,
I need to add up a list of hour and minutes, the only problem being is
that
Excel treats them as TIME not hours and minutes.


For example, if I sum 7:24, 7:24 , 7:24, 7:24 [ where 7 = hours and 24 =
minutes ] then Excel five me an answer of 05:36 rather than 29.36 - any
ideas
how I get this working ?


Thanks- Hide quoted text -


- Show quoted text -


  #12   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Adding up hours and minutes

Hi Pete,
Thanks for the quick response, I have tried formatting the cell as [h]:mm:ss
or [hh]:mm:ss and using the formula =SUM(H10:H40) but still get 0:00
returned. I have also tried =H10+h11+h12... with no luck.

I am sure I must be missing something simple but have been staring at it so
long my mind is going blank :-).

Do you know of any other ways to add a list of times?
Cheers
Chieflx

"Pete_UK" wrote:

You should EITHER use the formula:

=SUM(H10:H40)

and apply the custom format [h]:mm:ss to the cell if you want to
display the result like that and keep the total in Excel time format,
OR if you use the formula:

=SUM(H10:H40)*24

this will convert the result into (decimal) hours, so you need to
apply the format of Number with, say, 2 dp. With this formula and
format, an answer of, say, 26 hours and 45 minutes will be displayed
as 26.75.

Hope this helps.

Pete

On Jun 26, 1:19 pm, chieflx wrote:
Hi,
I seem to be having the same problem as Fly Boy Five, I have a list of times
(the cells are custom formatted as hh:mm) and need to add them up to give me
a monthly total. I have followed the help in excel 2002 and used the formula
=Sum(H10:h40)*24 and formated the cell to hh:mm to give me a total in cell
h41 but it only returns as 00:00. After reading the posts on this thread I
have tried different formats on the total cell but can not seem to get it to
work.

Any help would be much appreciated.

Many thanks in advance
Chieflx



"Sandy Mann" wrote:
Fly Boy Five,


Simply use =SUM(A1:A21) and format the cell as Custom format [h]:mm


--
HTH


Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings



with @tiscali.co.uk


"Fly Boy 5" wrote in message
...
I'm trying to add a column of hrs and minutes. I tried to use the
=sum(a1:a21,"h:mm") Don't work


What do you suggest?


Thanks Fly Boy Five


"Dave" wrote:


Hi,
I need to add up a list of hour and minutes, the only problem being is
that
Excel treats them as TIME not hours and minutes.


For example, if I sum 7:24, 7:24 , 7:24, 7:24 [ where 7 = hours and 24 =
minutes ] then Excel five me an answer of 05:36 rather than 29.36 - any
ideas
how I get this working ?


Thanks- Hide quoted text -


- Show quoted text -



  #13   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Adding up hours and minutes

Times are just numbers to Excel - it stores them as fractions of a 24-
hour day, so that 12:00:00 will be stored internally as 0.5, 6:00:00
(or 6 hours) as 0.25 etc. So, any of the normal arithmetic functions
SUM or + can be used with them. Perhaps you have entered the data as
text, so that it looks like a time but has no numeric value (so SUM
will give a result of zero).

Try formatting the cells as Number or General - if they are in Excel
time format you should see a load of fractional values, but if they
remain the same then they are really text values.

Hope this helps.

Pete

On Jun 26, 2:51*pm, chieflx wrote:
Hi Pete,
Thanks for the quick response, I have tried formatting the cell as [h]:mm:ss
or [hh]:mm:ss and using the formula =SUM(H10:H40) but still get 0:00
returned. I have also tried =H10+h11+h12... with no luck.

I am sure I must be missing something simple but have been staring at it so
long my mind is going blank :-).

Do you know of any other ways to add a list of times?
Cheers
Chieflx



"Pete_UK" wrote:
You should EITHER use the formula:


=SUM(H10:H40)


and apply the custom format [h]:mm:ss to the cell if you want to
display the result like that and keep the total in Excel time format,
OR if you use the formula:


=SUM(H10:H40)*24


this will convert the result into (decimal) hours, so you need to
apply the format of Number with, say, 2 dp. With this formula and
format, an answer of, say, 26 hours and 45 minutes will be displayed
as 26.75.


Hope this helps.


Pete


On Jun 26, 1:19 pm, chieflx wrote:
Hi,
I seem to be having the same problem as Fly Boy Five, I have a list of times
(the cells are custom formatted as hh:mm) and need to add them up to give me
a monthly total. I have followed the help in excel 2002 and used the formula
=Sum(H10:h40)*24 and formated the cell to hh:mm to give me a total in cell
h41 but it only returns as 00:00. After reading the posts on this thread I
have tried different formats on the total cell but can not seem to get it to
work.


Any help would be much appreciated.


Many thanks in advance
Chieflx


"Sandy Mann" wrote:
Fly Boy Five,


Simply use =SUM(A1:A21) and format the cell as Custom format [h]:mm


--
HTH


Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings



with @tiscali.co.uk


"Fly Boy 5" wrote in message
...
I'm trying to add a column of hrs and minutes. *I tried to use the
=sum(a1:a21,"h:mm") *Don't work


What do you suggest?


Thanks Fly Boy Five


"Dave" wrote:


Hi,
I need to add up a list of hour and minutes, the only problem being is
that
Excel treats them as TIME not hours and minutes.


For example, if I sum 7:24, 7:24 , 7:24, 7:24 [ where 7 = hours and 24 =
minutes ] then Excel five me an answer of 05:36 rather than 29.36 - any
ideas
how I get this working ?


Thanks- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -


  #14   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Adding up hours and minutes

Hi Pete,
Many thanks, I went back over the formulae I was using and had indeed
entered the time as text rather than numeric, it all works fine now.

If it is not too much of an imposition can I pick your brain one more time?

I now have all the time calculations but want to multiply them by an hourly
rate, ( I do not get to see my timesheet at work so like to keep my own copy
for reference once I get paid) do you know what function/formula I should use
to give me a monetary figure.

As you probably can guess I am fairly new to using excel and am trying to
teach myself as I go so any help is greatly appreciated.

Once again thank you for your help,

Cheers
Chieflx


"Pete_UK" wrote:

Times are just numbers to Excel - it stores them as fractions of a 24-
hour day, so that 12:00:00 will be stored internally as 0.5, 6:00:00
(or 6 hours) as 0.25 etc. So, any of the normal arithmetic functions
SUM or + can be used with them. Perhaps you have entered the data as
text, so that it looks like a time but has no numeric value (so SUM
will give a result of zero).

Try formatting the cells as Number or General - if they are in Excel
time format you should see a load of fractional values, but if they
remain the same then they are really text values.

Hope this helps.

Pete

On Jun 26, 2:51 pm, chieflx wrote:
Hi Pete,
Thanks for the quick response, I have tried formatting the cell as [h]:mm:ss
or [hh]:mm:ss and using the formula =SUM(H10:H40) but still get 0:00
returned. I have also tried =H10+h11+h12... with no luck.

I am sure I must be missing something simple but have been staring at it so
long my mind is going blank :-).

Do you know of any other ways to add a list of times?
Cheers
Chieflx



"Pete_UK" wrote:
You should EITHER use the formula:


=SUM(H10:H40)


and apply the custom format [h]:mm:ss to the cell if you want to
display the result like that and keep the total in Excel time format,
OR if you use the formula:


=SUM(H10:H40)*24


this will convert the result into (decimal) hours, so you need to
apply the format of Number with, say, 2 dp. With this formula and
format, an answer of, say, 26 hours and 45 minutes will be displayed
as 26.75.


Hope this helps.


Pete


On Jun 26, 1:19 pm, chieflx wrote:
Hi,
I seem to be having the same problem as Fly Boy Five, I have a list of times
(the cells are custom formatted as hh:mm) and need to add them up to give me
a monthly total. I have followed the help in excel 2002 and used the formula
=Sum(H10:h40)*24 and formated the cell to hh:mm to give me a total in cell
h41 but it only returns as 00:00. After reading the posts on this thread I
have tried different formats on the total cell but can not seem to get it to
work.


Any help would be much appreciated.


Many thanks in advance
Chieflx


"Sandy Mann" wrote:
Fly Boy Five,


Simply use =SUM(A1:A21) and format the cell as Custom format [h]:mm


--
HTH


Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings



with @tiscali.co.uk


"Fly Boy 5" wrote in message
...
I'm trying to add a column of hrs and minutes. I tried to use the
=sum(a1:a21,"h:mm") Don't work


What do you suggest?


Thanks Fly Boy Five


"Dave" wrote:


Hi,
I need to add up a list of hour and minutes, the only problem being is
that
Excel treats them as TIME not hours and minutes.


For example, if I sum 7:24, 7:24 , 7:24, 7:24 [ where 7 = hours and 24 =
minutes ] then Excel five me an answer of 05:36 rather than 29.36 - any
ideas
how I get this working ?


Thanks- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -



  #15   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Adding up hours and minutes

Let's say that you have a time in A1, in Excel time format, and an
hourly rate in B1. To get the cost in C1 you would need this formula:

=A1*B1*24

and you would need to format this cell as General, Number or Currency,
as Excel might assume you want it to be in time format.

Hope this helps.

Pete

On Jun 27, 5:57*am, chieflx wrote:
Hi Pete,
Many thanks, I went back over the formulae I was using and had indeed
entered the time as text rather than numeric, it all works fine now.

If it is not too much of an imposition can I pick your brain one more time?

I now have all the time calculations but want to multiply them by an hourly
rate, ( I do not get to see my timesheet at work so like to keep my own copy
for reference once I get paid) do you know what function/formula I should use
to give me a monetary figure.

As you probably can guess I am fairly new to using excel and am trying to
teach myself as I go so any help is greatly appreciated.

Once again thank you for your help,

Cheers
Chieflx



"Pete_UK" wrote:
Times are just numbers to Excel - it stores them as fractions of a 24-
hour day, so that 12:00:00 will be stored internally as 0.5, 6:00:00
(or 6 hours) as 0.25 etc. So, any of the normal arithmetic functions
SUM or + can be used with them. Perhaps you have entered the data as
text, so that it looks like a time but has no numeric value (so SUM
will give a result of zero).


Try formatting the cells as Number or General - if they are in Excel
time format you should see a load of fractional values, but if they
remain the same then they are really text values.


Hope this helps.


Pete


On Jun 26, 2:51 pm, chieflx wrote:
Hi Pete,
Thanks for the quick response, I have tried formatting the cell as [h]:mm:ss
or [hh]:mm:ss and using the formula =SUM(H10:H40) but still get 0:00
returned. I have also tried =H10+h11+h12... with no luck.


I am sure I must be missing something simple but have been staring at it so
long my mind is going blank :-).


Do you know of any other ways to add a list of times?
Cheers
Chieflx


"Pete_UK" wrote:
You should EITHER use the formula:


=SUM(H10:H40)


and apply the custom format [h]:mm:ss to the cell if you want to
display the result like that and keep the total in Excel time format,
OR if you use the formula:


=SUM(H10:H40)*24


this will convert the result into (decimal) hours, so you need to
apply the format of Number with, say, 2 dp. With this formula and
format, an answer of, say, 26 hours and 45 minutes will be displayed
as 26.75.


Hope this helps.


Pete


On Jun 26, 1:19 pm, chieflx wrote:
Hi,
I seem to be having the same problem as Fly Boy Five, I have a list of times
(the cells are custom formatted as hh:mm) and need to add them up to give me
a monthly total. I have followed the help in excel 2002 and used the formula
=Sum(H10:h40)*24 and formated the cell to hh:mm to give me a total in cell
h41 but it only returns as 00:00. After reading the posts on this thread I
have tried different formats on the total cell but can not seem to get it to
work.


Any help would be much appreciated.


Many thanks in advance
Chieflx


"Sandy Mann" wrote:
Fly Boy Five,


Simply use =SUM(A1:A21) and format the cell as Custom format [h]:mm


--
HTH


Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings



with @tiscali.co.uk


"Fly Boy 5" wrote in message
...
I'm trying to add a column of hrs and minutes. *I tried to use the
=sum(a1:a21,"h:mm") *Don't work


What do you suggest?


Thanks Fly Boy Five


"Dave" wrote:


Hi,
I need to add up a list of hour and minutes, the only problem being is
that
Excel treats them as TIME not hours and minutes.


For example, if I sum 7:24, 7:24 , 7:24, 7:24 [ where 7 = hours and 24 =
minutes ] then Excel five me an answer of 05:36 rather than 29.36 - any
ideas
how I get this working ?


Thanks- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -




  #16   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Adding up hours and minutes


Thank you very much for that Pete, it all works beautifully and I have
already found I have been underpaid this month!!

All the best
Chieflx

"Pete_UK" wrote:

Let's say that you have a time in A1, in Excel time format, and an
hourly rate in B1. To get the cost in C1 you would need this formula:

=A1*B1*24

and you would need to format this cell as General, Number or Currency,
as Excel might assume you want it to be in time format.

Hope this helps.

Pete

On Jun 27, 5:57 am, chieflx wrote:
Hi Pete,
Many thanks, I went back over the formulae I was using and had indeed
entered the time as text rather than numeric, it all works fine now.

If it is not too much of an imposition can I pick your brain one more time?

I now have all the time calculations but want to multiply them by an hourly
rate, ( I do not get to see my timesheet at work so like to keep my own copy
for reference once I get paid) do you know what function/formula I should use
to give me a monetary figure.

As you probably can guess I am fairly new to using excel and am trying to
teach myself as I go so any help is greatly appreciated.

Once again thank you for your help,

Cheers
Chieflx



"Pete_UK" wrote:
Times are just numbers to Excel - it stores them as fractions of a 24-
hour day, so that 12:00:00 will be stored internally as 0.5, 6:00:00
(or 6 hours) as 0.25 etc. So, any of the normal arithmetic functions
SUM or + can be used with them. Perhaps you have entered the data as
text, so that it looks like a time but has no numeric value (so SUM
will give a result of zero).


Try formatting the cells as Number or General - if they are in Excel
time format you should see a load of fractional values, but if they
remain the same then they are really text values.


Hope this helps.


Pete


On Jun 26, 2:51 pm, chieflx wrote:
Hi Pete,
Thanks for the quick response, I have tried formatting the cell as [h]:mm:ss
or [hh]:mm:ss and using the formula =SUM(H10:H40) but still get 0:00
returned. I have also tried =H10+h11+h12... with no luck.


I am sure I must be missing something simple but have been staring at it so
long my mind is going blank :-).


Do you know of any other ways to add a list of times?
Cheers
Chieflx


"Pete_UK" wrote:
You should EITHER use the formula:


=SUM(H10:H40)


and apply the custom format [h]:mm:ss to the cell if you want to
display the result like that and keep the total in Excel time format,
OR if you use the formula:


=SUM(H10:H40)*24


this will convert the result into (decimal) hours, so you need to
apply the format of Number with, say, 2 dp. With this formula and
format, an answer of, say, 26 hours and 45 minutes will be displayed
as 26.75.


Hope this helps.


Pete


On Jun 26, 1:19 pm, chieflx wrote:
Hi,
I seem to be having the same problem as Fly Boy Five, I have a list of times
(the cells are custom formatted as hh:mm) and need to add them up to give me
a monthly total. I have followed the help in excel 2002 and used the formula
=Sum(H10:h40)*24 and formated the cell to hh:mm to give me a total in cell
h41 but it only returns as 00:00. After reading the posts on this thread I
have tried different formats on the total cell but can not seem to get it to
work.


Any help would be much appreciated.


Many thanks in advance
Chieflx


"Sandy Mann" wrote:
Fly Boy Five,


Simply use =SUM(A1:A21) and format the cell as Custom format [h]:mm


--
HTH


Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings



with @tiscali.co.uk


"Fly Boy 5" wrote in message
...
I'm trying to add a column of hrs and minutes. I tried to use the
=sum(a1:a21,"h:mm") Don't work


What do you suggest?


Thanks Fly Boy Five


"Dave" wrote:


Hi,
I need to add up a list of hour and minutes, the only problem being is
that
Excel treats them as TIME not hours and minutes.


For example, if I sum 7:24, 7:24 , 7:24, 7:24 [ where 7 = hours and 24 =
minutes ] then Excel five me an answer of 05:36 rather than 29.36 - any
ideas
how I get this working ?


Thanks- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -



  #17   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Adding up hours and minutes

Well, that's good to hear !!

Thanks for the feed back - always appreciated.

Pete

On Jun 27, 11:35*am, chieflx
wrote:
Thank you very much for that Pete, it all works beautifully and I have
already found I have been underpaid this month!!

All the best
Chieflx

  #18   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 44
Default Adding up hours and minutes

I have been reading the answers to hour/minute type questions but can't seem
to find the answer I need...

I am trying to calculate total hours worked in during a night shift like this:

A1 = 02/05/10 8:30 PM
B1 = 2/06/10 7:00 AM
C1 = B1-A1 = 10.30

I would like the 10.30 to appear as 10.5 instead.

Could anyone help me with this?

Trina C.
"Pete_UK" wrote:

Use a custom format for the total cell:

[h]:mm

will stop hours above 25 being treated as days.

The same can be accomplished by choosing the format "37:30:55" from the
list provided under Format | Cells | Number (tab) | Time.

Hope this helps.

Pete

Dave wrote:
Hi,
I need to add up a list of hour and minutes, the only problem being is that
Excel treats them as TIME not hours and minutes.

For example, if I sum 7:24, 7:24 , 7:24, 7:24 [ where 7 = hours and 24 =
minutes ] then Excel five me an answer of 05:36 rather than 29.36 - any ideas
how I get this working ?

Thanks



  #19   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Adding up hours and minutes

It won't be 10.30, it will be 10:30. There is a difference between a colon
and a decimal point.
If you want to turn it to decimal hours, multiply by 24 and format as
general or number instead of time.
--
David Biddulph

Tacrier wrote:
I have been reading the answers to hour/minute type questions but
can't seem to find the answer I need...

I am trying to calculate total hours worked in during a night shift
like this:

A1 = 02/05/10 8:30 PM
B1 = 2/06/10 7:00 AM
C1 = B1-A1 = 10.30

I would like the 10.30 to appear as 10.5 instead.

Could anyone help me with this?

Trina C.
"Pete_UK" wrote:

Use a custom format for the total cell:

[h]:mm

will stop hours above 25 being treated as days.

The same can be accomplished by choosing the format "37:30:55" from
the list provided under Format | Cells | Number (tab) | Time.

Hope this helps.

Pete

Dave wrote:
Hi,
I need to add up a list of hour and minutes, the only problem being
is that Excel treats them as TIME not hours and minutes.

For example, if I sum 7:24, 7:24 , 7:24, 7:24 [ where 7 = hours and
24 = minutes ] then Excel five me an answer of 05:36 rather than
29.36 - any ideas how I get this working ?

Thanks



  #20   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 44
Default Adding up hours and minutes

Thank you David (sorry for the late reply!)

:)

"David Biddulph" wrote:

It won't be 10.30, it will be 10:30. There is a difference between a colon
and a decimal point.
If you want to turn it to decimal hours, multiply by 24 and format as
general or number instead of time.
--
David Biddulph

Tacrier wrote:
I have been reading the answers to hour/minute type questions but
can't seem to find the answer I need...

I am trying to calculate total hours worked in during a night shift
like this:

A1 = 02/05/10 8:30 PM
B1 = 2/06/10 7:00 AM
C1 = B1-A1 = 10.30

I would like the 10.30 to appear as 10.5 instead.

Could anyone help me with this?

Trina C.
"Pete_UK" wrote:

Use a custom format for the total cell:

[h]:mm

will stop hours above 25 being treated as days.

The same can be accomplished by choosing the format "37:30:55" from
the list provided under Format | Cells | Number (tab) | Time.

Hope this helps.

Pete

Dave wrote:
Hi,
I need to add up a list of hour and minutes, the only problem being
is that Excel treats them as TIME not hours and minutes.

For example, if I sum 7:24, 7:24 , 7:24, 7:24 [ where 7 = hours and
24 = minutes ] then Excel five me an answer of 05:36 rather than
29.36 - any ideas how I get this working ?

Thanks



.

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
Calculating and Adding Hours, Minutes, and Seconds in a CALL LOG EmanJR Excel Worksheet Functions 1 August 3rd 06 03:47 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
adding rows of hours and minutes to get a total Tipps Excel Worksheet Functions 1 November 4th 05 07:03 PM
Adding hours and minutes doyouknow2005 Excel Discussion (Misc queries) 2 July 10th 05 10:08 PM


All times are GMT +1. The time now is 12:14 AM.

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"