Excel Time as Text

I dont need in macro just one time cell equation.

I have a column that has the below duration times stored as text, how do i convert them to # values that i can use in calculations

I need to find the average.


 000: 00: 30: 34
 000: 00: 30: 00
 000: 00: 24: 19
 000: 00: 35: 43
 000: 00: 39: 29
 000: 01: 02: 57
 001: 03: 10: 58
 001: 01: 56: 23
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Saurabh Singh TeotiaCommented:
Can you help me understand..if the value is given as..

001: 03: 10: 58

How do you want to see it?
garyrobbinsAuthor Commented:
The cell shows 001: 03: 10: 58 but it is not a time value it is a text so i cant do any calculations against it.  I want it to show the exact same info but as a Time Value.

For example  01:18:57:36 is actually 1.79 when showed as a #
Saurabh Singh TeotiaCommented:
Can you help me understand how 01:18:57:36 = 1.79 ??

What is the calculations behind it?
HTML5 and CSS3 Fundamentals

Build a website from the ground up by first learning the fundamentals of HTML5 and CSS3, the two popular programming languages used to present content online. HTML deals with fonts, colors, graphics, and hyperlinks, while CSS describes how HTML elements are to be displayed.

garyrobbinsAuthor Commented:
That's just the excel number that represents that time.  left of the . is days and right of the . is the faction of the day I.e. Time.

Just like a 42067.49 is the numerical value of 3/4/15 11:45:15
dsackerContract ERP Admin/ConsultantCommented:
You'll need to set a column to your right as your work column, because you'll need a formula to convert those values to seconds. Here is what your cells should look like after they are done.

Solution using formulas
Saurabh Singh TeotiaCommented:
Use this formula in A1...


Open in new window

and drag this..it will do what you are looking for..

What i have assumed your data is in this format...

001: 03: 10: 58

which is that you have space after every colon sign..


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Rob HensonFinance AnalystCommented:
For number of days:


For hh:mm:ss


How do you want the end result?
Rob HensonFinance AnalystCommented:
For complete value in one cell:


Format with Custom format "[h]:mm:ss" (without quotes) and it will show full quantity of hours without rounding back to zero after each complete set of 24 ie each whole day.

Rob H
garyrobbinsAuthor Commented:
Yes with spaces, Thank you very much
Saurabh Singh TeotiaCommented:
Was looking in this.. and a small tweak what rob posted will also work for you which is this... will give you the same results as well...


Rob HensonFinance AnalystCommented:
Saurabh, no need for the SUBSTITUTE function, even with spaces the TIMEVALUE still worked.
Saurabh Singh TeotiaCommented:
Ahh Rob good point out...Thanks i didn't knew it..since never used this function with space...
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.