Time format that you can calculate

PLayreau

New Member
Joined
Feb 1, 2018
Messages
2
Hi all!

I'm looking for some help.

I can extract a worksheet with different time formats that I would like to be able to sum, substract...etc

For example here are the 2 different time formats appearing in the document:

1- 07:04:23 for 7 hours 4 mins 23 secs

2- 2.35h for 2 hours and 0.35 of an hour

What would be the best format to translate those to a value that I can calculate?


Many thanks

Pierrick
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
And how can I translate the other format to this one?

Hi and welcome to the forum!

Here is a formula option that converts that text string to an excel time serial number which can easily be used in calculations.


Excel 2013/2016
AB
12.35h02:21:00
Sheet1
Cell Formulas
RangeFormula
B1=SUBSTITUTE(A1,"h","")/24
 
Upvote 0

Forum statistics

Threads
1,215,036
Messages
6,122,794
Members
449,095
Latest member
m_smith_solihull

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