value after comma as seconds

zico8

Board Regular
Joined
Jul 13, 2015
Messages
227
Hi,

I have the sheet with time measurements written as number and need to convert it to time format.

For example 3,40 means 3 minutes and 40 seconds.

How should I do it?
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
is it just to display the times or do you carry out any calculations on them. E.G add times up, work out averages etc? Also how many numbers could appear in the minutes?
 
Last edited:
Upvote 0
Thanks vandango05 for your reply,

I need to have possibility to make calculations from these values, so if I multiply 3,40 by 2 I should get 7:20 (instead of 6,80).

Number of minutes can be large size but it does not matter for me if it shows like 70:10 or 01:10:10
 
Upvote 0
try this with your time in A1

=INT(A1)+(A1-INT(A1))/0.6
 
Upvote 0
The issue is the comma in your text. You could start by removing this and splitting the time into mins and seconds in two columns. Example row 1 is headers, A = Time, B = Mins, C = Seconds.

With your first time in A2 put this in B2 =LEFT(A2,FIND(",",A2)-1) and this in C2 =RIGHT(A2,LEN(A2)-FIND(",",A2))

These formulae will split the time at the comma.
 
Last edited:
Upvote 0
I've found the formula, it seems to work fine.

=(INT(A1)*60+MOD(A1;1)*100)/86400

Please let me know what do you think.
 
Upvote 0
have you tried the solution in post#4?
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,207
Members
452,618
Latest member
Tam84

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