ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Timing Conversion problem (https://www.excelbanter.com/excel-discussion-misc-queries/137751-timing-conversion-problem.html)

Help on Excel sheet formula

Timing Conversion problem
 
I want to convert number to hour like this.

Num Hour
1.00 1.00
6.50 6.30
0.25 0.15
3.75 3.45

Anyone has any idea, what sort of formula i have to put on excel sheet.


bpeltzer

Timing Conversion problem
 
With the number in A1, =INT(A1)+(A1-INT(A1))*0.6 will do the conversion.
Just format in the comma style to get the two decimal points that represent
the minutes.

"Help on Excel sheet formula" wrote:

I want to convert number to hour like this.

Num Hour
1.00 1.00
6.50 6.30
0.25 0.15
3.75 3.45

Anyone has any idea, what sort of formula i have to put on excel sheet.


T. Valko

Timing Conversion problem
 
Try this:

=INT(A1)+MOD(A1,1)*60/100

Format as NUMBER 2 decimal places

Biff

"Help on Excel sheet formula" <Help on Excel sheet
wrote in message
...
I want to convert number to hour like this.

Num Hour
1.00 1.00
6.50 6.30
0.25 0.15
3.75 3.45

Anyone has any idea, what sort of formula i have to put on excel sheet.




Help on Excel sheet formula[_2_]

Timing Conversion problem
 
That's good.

Problem solved. Thanks mate.

"bpeltzer" wrote:

With the number in A1, =INT(A1)+(A1-INT(A1))*0.6 will do the conversion.
Just format in the comma style to get the two decimal points that represent
the minutes.

"Help on Excel sheet formula" wrote:

I want to convert number to hour like this.

Num Hour
1.00 1.00
6.50 6.30
0.25 0.15
3.75 3.45

Anyone has any idea, what sort of formula i have to put on excel sheet.


David Biddulph[_2_]

Timing Conversion problem
 
Rather than using 6.30 to represent 6 hours and 30 minutes, and risk
confusion, better to use 6:30, which you can get merely by =A1/24 and format
as h:mm (or as [h]:mm if it might be beyond 24 hours).
--
David Biddulph

"Help on Excel sheet formula" <Help on Excel sheet
wrote in message
...
I want to convert number to hour like this.

Num Hour
1.00 1.00
6.50 6.30
0.25 0.15
3.75 3.45

Anyone has any idea, what sort of formula i have to put on excel sheet.





All times are GMT +1. The time now is 12:13 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com