Change Decimal to mm:ss.00 format

clueless48

New Member
Joined
Nov 10, 2010
Messages
5
Can anyone help? I'm new to forum and this is defeating me but cannot give up!!
I have lots of swimming time data which has been input manually using a decimal instead of a colon between minutes and seconds, how can I convert this? Changing the format to this does not work as some times have minutes and some are just seconds as below :-
The times need to be in mm:ss.ms format to be able to import into a system

[TABLE="width: 500"]
<tbody>[TR]
[TD]50[/TD]
[TD]FREE[/TD]
[TD]42.9
[/TD]
[/TR]
[TR]
[TD]100[/TD]
[TD]FREE[/TD]
[TD]1.39.48[/TD]
[/TR]
[TR]
[TD]50[/TD]
[TD]FLY[/TD]
[TD]52.36[/TD]
[/TR]
[TR]
[TD]200[/TD]
[TD]IM[/TD]
[TD]2.46.35[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
May not be the most efficient solution but I think this works:


Book1
ABCD
150FREE42.900:42.90
2100FREE1.39.4801:39.48
350FLY52.3600:52.36
4200IM2.46.3502:46.35
Sheet1
Cell Formulas
RangeFormula
D1=TEXT(IF(LEN(C1)-LEN(SUBSTITUTE(C1,".",""))<2,C1/86400,LEFT(C1,FIND(".",C1)-1)/1440+MID(C1,FIND(".",C1)+1,LEN(C1))/86400),"mm:ss.00")


WBD
 
Upvote 0
What is the input value?
If it is column A (decimal minutes?), one formula might be =A1*60*24 and then format the cell as suggested above.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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