Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / May 2008

Tip: Looking for answers? Try searching our database.

Minutes to hrs calcultion

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mark Lewis - 27 May 2008 12:59 GMT
I have a form where you enter minutes but the calculation needs to give the
result in Hr:min. I've tried
A2=180 A3=20=SUM(A2,A3)/60

The result being 3.3 but I need it to show 3hrs 20 min

Sounds daft I know!
edvwvw - 27 May 2008 13:37 GMT
Mark

You could try the following:

=INT(A2/60)&" Hrs "& (MOD(A2,60))&" mins"

this will look at A2 - if it has 200 the formula will translate that to
    3 Hrs  20 mins

edvwvw

>I have a form where you enter minutes but the calculation needs to give the
>result in Hr:min. I've tried
[quoted text clipped - 3 lines]
>
>Sounds daft I know!
Mark Lewis - 27 May 2008 14:09 GMT
Thanks,

Don't suppose you know one that will work in word forms too?

Regards

Mark
> Mark
>
[quoted text clipped - 15 lines]
>>
>>Sounds daft I know!
Mark Lewis - 27 May 2008 14:15 GMT
Sorted it thanks by splitting your previous!

> Thanks,
>
[quoted text clipped - 22 lines]
>>>
>>>Sounds daft I know!
DILipandey - 27 May 2008 15:28 GMT
you can try the following formulae

=MID(C3,1,FIND(".",C3)-1)&" Hrs"&" "&+MROUND(60*RIGHT(C3,2)/100,1)&"Mins"

provided you are getting the results  (=SUM(A2,A3)/60) in cell C3.

Thanks.

Signature

Dilip Kumar Pandey
MBA, BCA, B.Com(Hons.)
dilipandey@yahoo.com
dilipandey@gmail.com
New Delhi, India

> I have a form where you enter minutes but the calculation needs to give the
> result in Hr:min. I've tried
[quoted text clipped - 3 lines]
>
> Sounds daft I know!
DILipandey - 28 May 2008 08:04 GMT
Hi Mark,

You can also try the following:-

=MID(SUM(A2,A3)/60,1,FIND(".",SUM(A2,A3)/60)-1)&" Hrs"&"
"&ROUND(60*MID(SUM(A2,A3)/60,FIND(".",SUM(A2,A3)/60),3),0)&" "&"Mins"

Signature

Dilip Kumar Pandey
MBA, BCA, B.Com(Hons.)
dilipandey@yahoo.com
dilipandey@gmail.com
New Delhi, India

> you can try the following formulae
>
[quoted text clipped - 11 lines]
> >
> > Sounds daft I know!
Rick Rothstein (MVP - VB) - 27 May 2008 16:10 GMT
Here is another possibility...

=TEXT(TIME(0,A2+A3,0),"[h] ""hrs"" m ""min""")

Rick

>I have a form where you enter minutes but the calculation needs to give the
>result in Hr:min. I've tried
[quoted text clipped - 3 lines]
>
> Sounds daft I know!
Rick Rothstein (MVP - VB) - 28 May 2008 09:34 GMT
> Here is another possibility...
>
> =TEXT(TIME(0,A2+A3,0),"[h] ""hrs"" m ""min""")

I guess I should mention that this formula assumes the summation of minutes
in A2 and A3 does not exceed 1440 (the number of minutes in a day). Also,
because of that, the square brackets are not necessary....

=TEXT(TIME(0,A2+A3,0),"h ""hrs"" m ""mins""")

Rick
Mais qui est Paul - 28 May 2008 10:06 GMT
Bonsour® Mark Lewis  avec ferveur  ;o))) vous nous disiez :

> I have a form where you enter minutes but the calculation needs to
> give the result in Hr:min. I've tried
> A2=180 A3=20=SUM(A2,A3)/60
>
> The result being 3.3 but I need it to show 3hrs 20 min

=SUM(A2,A3)*"0:1"
cell format
[h]"hrs "m" min"
Signature

--
@+
;o)))

Pawan K - 28 May 2008 12:12 GMT
Hi Mais

I am sure following formula solve your problem 100 %. Please put the formula
in cell B1 :
=IF(ISERROR(QUOTIENT(SUM(A:A),60)&" hours and
"&MOD(SUM(A:A),60)&"mins"),"Invalid Input",QUOTIENT(SUM(A:A),60)&" hours and
"&MOD(SUM(A:A),60)&"mins")

Let me know how was it. :-)

Thanks
Pawan Kumar
Gurgaon India

> Bonsour® Mark Lewis  avec ferveur  ;o))) vous nous disiez :
>
[quoted text clipped - 7 lines]
> cell format
> [h]"hrs "m" min"
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.