Convert Time to Numeric Value

smithsd

New Member
Joined
Jan 13, 2003
Messages
3
How do I convert time to a numeric value? I have tried the "TIMEVALUE" function and get an error message. Is there a way to do this by manual formula?
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
On 2003-01-23 12:26, smithsd wrote:
How do I convert time to a numeric value? I have tried the "TIMEVALUE" function and get an error message. Is there a way to do this by manual formula?

A true time entry like 11:30 is a 'numeric' value.

If a time entry has text as underlying format, then...

=TIMEVALUE(A1)

would convert it to true time value.
 
Upvote 0
WELCOME TO THE BOARD!

Have you tried entering your time in a cell and then formatting the cell to a number? When doing so, 10:33AM turns into .44444444.
 
Upvote 0
On 2003-01-23 12:26, smithsd wrote:
How do I convert time to a numeric value? I have tried the "TIMEVALUE" function and get an error message. Is there a way to do this by manual formula?

Excel's time values are stored as fractions of a day. If you need to convert a time such as 11:24 AM into hours, minutes or seconds merely multiply by 24, 1440 or 86400 respectively, and then format the results using a desired number format to get 11.4 hours, 684 minutes or 41,040 seconds.
This message was edited by Mark W. on 2003-01-23 12:47
 
Upvote 0

Forum statistics

Threads
1,214,793
Messages
6,121,619
Members
449,039
Latest member
Mbone Mathonsi

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top