Converting time format into whole numbers

rafikarp

New Member
Joined
Dec 23, 2008
Messages
21
Hi,

I have a column called "duration", which shows the length of a phone call made. It has been given to me in the format of hh:mm:ss, so that 00:00:35 means a 35 second call, 00:15:42 is a 15 minutes and 42 second call etc.

In essence, though, because of the format being a time format, these numbers really mean 12:00:35 am and 12:15:42 am, that is, a time of day.

I need to convert 00:00:35 into "35 seconds", and then round up to the nearest minute. So in this example, 00:00:35 should equal 1 and 00:15:42 should equal 16.

The roundup function is not working due to the numbers being in time format and I am out of ideas on how to convert seconds into whole numbers.

Is there any easy way to do this? Any ideas? Thanks in advance.
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Hi

You can use Ceiling:
Excel Workbook
AB
100:00:351
200:15:4216
Sheet3
Excel 2003
Cell Formulas
RangeFormula
B1=CEILING(A1*1440,1)
 
Upvote 0

Forum statistics

Threads
1,214,375
Messages
6,119,170
Members
448,870
Latest member
max_pedreira

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