Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default How do I convert decimal values to hours & minutes in Excel 2000?

For example if I have, say, the value 4.88 in a cell I want to convert it to
4h 53'
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default How do I convert decimal values to hours & minutes in Excel 2000?

Divide by 24


=A1/24


format as time and you'll get 04:52:48

if you really want 04:53 you would need to round, but then you need to
decide what rounding to use, nearest quarter hour, nearest half hour etc


--
Regards,

Peo Sjoblom



"Bo0ts" wrote in message
...
For example if I have, say, the value 4.88 in a cell I want to convert it
to
4h 53'



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default How do I convert decimal values to hours & minutes in Excel 2000?

=A1/24

Format cells as: h:mm


"Bo0ts" wrote:

For example if I have, say, the value 4.88 in a cell I want to convert it to
4h 53'

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default How do I convert decimal values to hours & minutes in Excel 20

Cool! Works well... Now, how do I roundup to nearest quarter hour?
Regards,
Bo0ts

"Peo Sjoblom" wrote:

Divide by 24


=A1/24


format as time and you'll get 04:52:48

if you really want 04:53 you would need to round, but then you need to
decide what rounding to use, nearest quarter hour, nearest half hour etc


--
Regards,

Peo Sjoblom



"Bo0ts" wrote in message
...
For example if I have, say, the value 4.88 in a cell I want to convert it
to
4h 53'




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default How do I convert decimal values to hours & minutes in Excel 20

=CEILING(A1/24,1/96)


"Bo0ts" wrote:

Cool! Works well... Now, how do I roundup to nearest quarter hour?
Regards,
Bo0ts

"Peo Sjoblom" wrote:

Divide by 24


=A1/24


format as time and you'll get 04:52:48

if you really want 04:53 you would need to round, but then you need to
decide what rounding to use, nearest quarter hour, nearest half hour etc


--
Regards,

Peo Sjoblom



"Bo0ts" wrote in message
...
For example if I have, say, the value 4.88 in a cell I want to convert it
to
4h 53'






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default How do I convert decimal values to hours & minutes in Excel 20

One way

=ROUND(A1/24/(1/96),)*(1/96)

will round to the nearest quarter hour in time format, a couple of other
ways

=ROUND(A1/24/TIME(,15,),)*TIME(,15,)


=ROUND(A1*4,)/4/24


the latter does the rounding first on the decimals and then converts it to
time



--
Regards,

Peo Sjoblom



"Bo0ts" wrote in message
...
Cool! Works well... Now, how do I roundup to nearest quarter hour?
Regards,
Bo0ts

"Peo Sjoblom" wrote:

Divide by 24


=A1/24


format as time and you'll get 04:52:48

if you really want 04:53 you would need to round, but then you need to
decide what rounding to use, nearest quarter hour, nearest half hour etc


--
Regards,

Peo Sjoblom



"Bo0ts" wrote in message
...
For example if I have, say, the value 4.88 in a cell I want to convert
it
to
4h 53'






  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default How do I convert decimal values to hours & minutes in Excel 20

You said roundup didn't you. The formulas I provided round to the nearest
quarter


=ROUNDUP(A1/24/(1/96),)*(1/96)

or

=CEILING(A1/24,1/96)



--
Regards,

Peo Sjoblom





"Peo Sjoblom" wrote in message
...
One way

=ROUND(A1/24/(1/96),)*(1/96)

will round to the nearest quarter hour in time format, a couple of other
ways

=ROUND(A1/24/TIME(,15,),)*TIME(,15,)


=ROUND(A1*4,)/4/24


the latter does the rounding first on the decimals and then converts it
to time



--
Regards,

Peo Sjoblom



"Bo0ts" wrote in message
...
Cool! Works well... Now, how do I roundup to nearest quarter hour?
Regards,
Bo0ts

"Peo Sjoblom" wrote:

Divide by 24


=A1/24


format as time and you'll get 04:52:48

if you really want 04:53 you would need to round, but then you need to
decide what rounding to use, nearest quarter hour, nearest half hour etc


--
Regards,

Peo Sjoblom



"Bo0ts" wrote in message
...
For example if I have, say, the value 4.88 in a cell I want to convert
it
to
4h 53'







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
How do I convert hours, minutes, and seconds into decimal format? Programmer Wannabe Excel Worksheet Functions 2 May 13th 07 03:01 AM
Convert Decimal hours and Minutes to minutes please. Steved Excel Worksheet Functions 13 July 5th 06 05:33 AM
Convert days in decimal to days:hours:minutes Todd F. Excel Worksheet Functions 7 March 16th 06 07:17 PM
Convert decimal days to Days,hours, minutes Todd F. Excel Worksheet Functions 3 March 14th 06 03:38 PM
How to convert decimal values (dd.dddddd) to degrees/minutes/seco. Florin Balcu Excel Worksheet Functions 2 November 12th 04 05:12 AM


All times are GMT +1. The time now is 08:51 PM.

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"