Converting a Number into Minutes:Seconds

HappsLucks

Board Regular
Joined
May 6, 2016
Messages
72
OK, so it's Monday morning and I obviously cannot see the wood for the trees. This should be so simple, yet I am stumped.
Somebody out there please put me out of my misery. :(

An operator enters a recorded time on Sheet 1 (The data input sheet)
He enters the time from an instrument display, and enters 3 values, measured in minutes and seconds.

Input 1 = 4.52 (4 minutes and 52 seconds - the decimal point is used for a specific reason)
Input 2 = 4.45
Input 3 = 5.02
(The above fields can be any format, as long as the operator enters "number dot number")

On another sheet (The Results Output Sheet), I need to see the following: (Remember, the times are entered as minutes and seconds).
Time 1 = 4:52
Time 2 = 4:45
Time 3 = 5:02
Average Time = 4:53

For the life of me, I cannot seem to get this to work. Please provide formulae (if required) and range formats.
Thanks, appreciated.
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
try


Excel 2012
AB
1Input 14.52
2Input 24.45
3Input 35.02
4
5
6Time 104:52:00
7Time 204:45:00
8Time 305:02:00
9Average Time04:53:00
Sheet1
Cell Formulas
RangeFormula
B6=SUBSTITUTE(B1,".",":")+0
B9=AVERAGE(B6:B8)
 
Upvote 0

Book1
GH
14.5204:52
24.4504:45
35.0205:02
Sheet1
Cell Formulas
RangeFormula
H1=TIME(0,LEFT(G1,SEARCH(".",G1)-1)+0,MID(G1,SEARCH(".",G1)+1,LEN(G1))+0)


Being defensive in case the entered times are formatted as text (and not numbers) ... :)

WBD
 
Upvote 0
..And another option :)


Excel 2013
AB
14.5200:04:52
24.4500:04:45
35.0200:05:02
400:04:53
Sheet1
Cell Formulas
RangeFormula
B1=DOLLARDE(A1,60)/1440
 
Upvote 0
try


Excel 2012
AB
1Input 14.52
2Input 24.45
3Input 35.02
4
5
6Time 104:52:00
7Time 204:45:00
8Time 305:02:00
9Average Time04:53:00
Sheet1
Cell Formulas
RangeFormula
B6=SUBSTITUTE(B1,".",":")+0
B9=AVERAGE(B6:B8)

I didn't think of that :(

However, I think you need:

=SUBSTITUTE(B1,".",":")/60

To ensure it's minutes and seconds (instead of hours and minutes)

WBD
 
Upvote 0
I didn't think of that :(

However, I think you need:

=SUBSTITUTE(B1,".",":")/60

To ensure it's minutes and seconds (instead of hours and minutes)

WBD


yes, you're right.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,213,504
Messages
6,114,016
Members
448,543
Latest member
MartinLarkin

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