How do I add hours and minutes eg 4.50 + 2.30 = 7.20

N

N Harkawat

=SUMPRODUCT(--(TIMEVALUE(A1:A2&":"&B1:B2))*24
will give 7.33
where Col A holds hours and col B holds minutes

Now if you need it like 7 hours and 20 minutes then you will need another
formula something like this
Say the above result is on cell C1 then on cell C2 type

==INT(C1)&" Hours "&MOD(C1,1)*60&" Minutes"
 
A

Arvi Laanemets

Hi

Let you have hours in range B2:B3 and minutes in range C2:C3 (for your real
task you have to mofify those ranges)
The formula for total will be
=SUM(TIME(B2:B3;C2:C3;0))
entered as an array formula (Ctrl+Shift+Enter), and formatted in any valid
datetime format - I advice to use the format "[hh]:mm", which prevets hour's
rollover at 24h.
When entered properly, in formula field you see the formula as
{=SUM(TIME(B2:B3;C2:C3;0))}
 
A

Arvi Laanemets

Hi again

Sorry, but I forget to replace semicolons in formulas with commas - probably
you must do it!

--
When sending mail, use address arvil<at>tarkon.ee
Arvi Laanemets


Arvi Laanemets said:
Hi

Let you have hours in range B2:B3 and minutes in range C2:C3 (for your real
task you have to mofify those ranges)
The formula for total will be
=SUM(TIME(B2:B3;C2:C3;0))
entered as an array formula (Ctrl+Shift+Enter), and formatted in any valid
datetime format - I advice to use the format "[hh]:mm", which prevets hour's
rollover at 24h.
When entered properly, in formula field you see the formula as
{=SUM(TIME(B2:B3;C2:C3;0))}

--
When sending mail, use address arvil<at>tarkon.ee
Arvi Laanemets


MichaelFAuty said:
I want to add hours and minutes eg

Hours Minutes
4 50
2 30
Total 7 20
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top