ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Convert hh:mm:ss to decimal hours? (https://www.excelbanter.com/excel-discussion-misc-queries/451039-convert-hh-mm-ss-decimal-hours.html)

Terry Pinnell[_4_]

Convert hh:mm:ss to decimal hours?
 
I have Time entries in cells in the form hh:mm:ss, e.g 15:47:30,
03:53:08, etc.

How can I display these as hours and decimals please, e.g. 15.792,
3.886, etc ?

--
Terry, East Grinstead, UK

Claus Busch

Convert hh:mm:ss to decimal hours?
 
Hi Terry,

Am Mon, 17 Aug 2015 15:32:03 +0100 schrieb Terry Pinnell:

I have Time entries in cells in the form hh:mm:ss, e.g 15:47:30,
03:53:08, etc.

How can I display these as hours and decimals please, e.g. 15.792,
3.886, etc ?


your time in A1

=A1*24 and format the cell General


Regards
Claus B.
--
Vista Ultimate / Windows7
Office 2007 Ultimate / 2010 Professional

Terry Pinnell[_4_]

Convert hh:mm:ss to decimal hours?
 
Claus Busch wrote:

Hi Terry,

Am Mon, 17 Aug 2015 15:32:03 +0100 schrieb Terry Pinnell:

I have Time entries in cells in the form hh:mm:ss, e.g 15:47:30,
03:53:08, etc.

How can I display these as hours and decimals please, e.g. 15.792,
3.886, etc ?


your time in A1

=A1*24 and format the cell General


Regards
Claus B.



Many thanks Claus - so simple once you know!


--
Terry, East Grinstead, UK


All times are GMT +1. The time now is 05:39 AM.

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