ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   CONVERT TIME FROM 4:30 TO 4.5 (https://www.excelbanter.com/excel-worksheet-functions/264725-convert-time-4-30-4-5-a.html)

keeb

CONVERT TIME FROM 4:30 TO 4.5
 
I'm tring to convert a time ie. 4:30 to a interger ie. 4.5. can anyone help?

Dave Peterson

CONVERT TIME FROM 4:30 TO 4.5
 
If A1 contains 4:30:00 (AM), then
=a1*24
(Format as general, not a time!)

And you'll see 4.5



keeb wrote:

I'm tring to convert a time ie. 4:30 to a interger ie. 4.5. can anyone help?


--

Dave Peterson

Mike H

CONVERT TIME FROM 4:30 TO 4.5
 
Hi,

Multiply by 24 and format as general. So with your time in A1, in another
cell enter the formula

=A1*24

--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"keeb" wrote:

I'm tring to convert a time ie. 4:30 to a interger ie. 4.5. can anyone help?



All times are GMT +1. The time now is 09:59 AM.

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