LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 60
Default Convert Number in to Hours....

Another alternative...
B1: =SUMPRODUCT(TIME(INT(A1:A10),MOD(A1:A10,1)*100,))

Regards,

Ron Coderre
Microsoft MVP (Excel)

"Ron Coderre" wrote in message
...
With
A1:A10 containing pseudo-times in the format hours-decimal_point-minutes
Example:
1.20 = 1 hour and 20 minutes
1.02 = 1 hours and 2 minutes

This formula sums those "times" and returns the result as proper time
B1 (formatted as time):
=SUMPRODUCT(--SUBSTITUTE(TEXT(A1:A10,"0.00"),".",":"))

Is that something you can work with?

"DR" wrote in message
...
Hi,

I have to fill the time sheet, in that i have to give activity name and
hours i worked on the activity.when I sum the total of hours i worked ,it
is
taking as normail No..Can i get any formula to covert it in to hours and
minuts

Ex : A1 activity i worked for 30mins (.30) , A2 activity I work... 1h.20
min
(1.20) , A3 - 1h .50m (1.50)

if I sum the total it had to show 3h.40min (but it is showing as 3 )

Can I get any formula for this ...?


 
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
Convert dd:hr:mn:ss to Decimal number of hours Virginia Excel Discussion (Misc queries) 1 April 17th 07 04:56 AM
Convert Total Hours and Minutes to Whole Number BobS9895 Excel Worksheet Functions 3 April 13th 06 07:56 PM
Is it possible to convert a number into hours and minutes le clef Excel Worksheet Functions 4 April 1st 06 05:43 PM
Convert hours and minutes in time format into fractions of hours.. Akern Excel Worksheet Functions 4 April 21st 05 02:56 PM
how to convert total hours (HH:MM) into decimal number Greg T Excel Worksheet Functions 1 November 17th 04 03:07 PM


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