ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How do convert time into numeric (https://www.excelbanter.com/excel-worksheet-functions/57977-how-do-convert-time-into-numeric.html)

Charles

How do convert time into numeric
 
Hi Charles here,

Convert the time in to number like 96:47 , I want to convert as 96 or 97 (
numeric value)

Vito

How do convert time into numeric
 

If you still want to keep the "Time" format, you can go to Format|Cells
and choose Custom from the list, then type [h].

or if you want the number format, use: =ROUND(A1*24,0) and format as
number, where A1 contains the original time.


--
Vito
------------------------------------------------------------------------
Vito's Profile: http://www.excelforum.com/member.php...o&userid=29182
View this thread: http://www.excelforum.com/showthread...hreadid=489414


Peo Sjoblom

How do convert time into numeric
 
Multiply with 24 and use ROUND or INT

=ROUND(A1*24,0)

=INT(A1*24)

where A1 holds 96:47


--

Regards,

Peo Sjoblom


"Charles" wrote in message
...
Hi Charles here,

Convert the time in to number like 96:47 , I want to convert as 96 or 97 (
numeric value)




Charles

How do convert time into numeric
 
Thanks, it works.

"Peo Sjoblom" wrote:

Multiply with 24 and use ROUND or INT

=ROUND(A1*24,0)

=INT(A1*24)

where A1 holds 96:47


--

Regards,

Peo Sjoblom


"Charles" wrote in message
...
Hi Charles here,

Convert the time in to number like 96:47 , I want to convert as 96 or 97 (
numeric value)





Charles

How do convert time into numeric
 
Thanks, It works

"Vito" wrote:


If you still want to keep the "Time" format, you can go to Format|Cells
and choose Custom from the list, then type [h].

or if you want the number format, use: =ROUND(A1*24,0) and format as
number, where A1 contains the original time.


--
Vito
------------------------------------------------------------------------
Vito's Profile: http://www.excelforum.com/member.php...o&userid=29182
View this thread: http://www.excelforum.com/showthread...hreadid=489414




All times are GMT +1. The time now is 07:05 PM.

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