6.2 C
London
Thursday, December 19, 2024
HomeSoftware TutorialsExcelExcel: How to Convert Time Duration to Seconds

Excel: How to Convert Time Duration to Seconds

Related stories

Learn About Opening an Automobile Repair Shop in India

Starting a car repair shop is quite a good...

Unlocking the Power: Embracing the Benefits of Tax-Free Investing

  Unlocking the Power: Embracing the Benefits of Tax-Free Investing For...

Income Splitting in Canada for 2023

  Income Splitting in Canada for 2023 The federal government’s expanded...

Can I Deduct Home Office Expenses on my Tax Return 2023?

Can I Deduct Home Office Expenses on my Tax...

Canadian Tax – Personal Tax Deadline 2022

  Canadian Tax – Personal Tax Deadline 2022 Resources and Tools...

You can use the following formula to convert a time duration to seconds in Excel:

=VALUE(B2*24*3600)

This particular formula converts the time duration in cell B2 to seconds.

For example, if the time is 10:14:22 then the formula will convert this to 36862 so that the time is represented as 36,862 seconds.

The following example shows how to use this formula in practice.

Example: Convert Time to Seconds in Excel

Suppose we have the following dataset in Excel that shows the number of hours, minutes, and seconds it took various athletes to finish a competition:

We can ensure that the values in the Duration column are formatted as durations by highlighting the range B2:B11, then clicking the Number Format dropdown, then clicking More Number Formats:

We can then click the Category on the left called Custom, then choose h:mm:ss, then click OK:

Next, we can use the following formula to convert the durations into seconds:

=VALUE(B2*24*3600)

We will type this formula into cell C2 and then click and drag the formula down to each remaining cell in column C:

The new Seconds column displays the time in the Duration column as seconds.

For example:

  • A duration of 10 hours, 14 minutes, and 22 seconds is converted to 36,862 seconds.
  • A duration of 26 hours, 14 minutes, and 22 seconds is converted to 94,462 seconds.
  • A duration of 13 hours, 30 minutes, and 0 seconds is converted to 48,600 seconds.

And so on.

Note: In this formula we multiply the time durations by 24 hours in a day and then by 3,600 seconds in an hour allows us to convert time durations to seconds.

Additional Resources

The following tutorials explain how to perform other common operations in Excel:

Excel: Calculate Difference Between Two Times in Hours
Excel: Calculate Difference Between Two Times in Minutes
Excel: How to Calculate Average Time

Subscribe

- Never miss a story with notifications

- Gain full access to our premium content

- Browse free from up to 5 devices at once

Latest stories