Convert Time to Seconds in Excel

This article outlines how to convert time to seconds in Excel

Over 1.8 million professionals use CFI to learn accounting, financial analysis, modeling and more. Start with a free account to explore 20+ always-free courses and hundreds of finance templates and cheat sheets.

Excel Convert Time to Seconds

It may be useful to convert the time[1] in Excel from the standard hours and minutes format to seconds only. In order to do this, there are two main methods. The best method is to sum the formulas HOUR, MINUTE, and SECOND to get the total seconds.

The following methods determine how many seconds have elapsed from midnight (12 AM). Both methods have Excel convert time to seconds.

Example of how to convert time to seconds in Excel

Here is a step-by-step breakdown of how to have Excel convert time to seconds:

(See screenshots below)

If we take the example time as being 1:40:30 AM and want to figure out how many seconds that is, we can use the following approach.

Step 1 Make sure the time is formatted properly – go to Format Cells (press Ctrl + 1) and make sure the number is set to Time.

Step 2 Use the =HOUR(B2) formula to get the number of hours from the time and multiply by 3600 (there are 3600 seconds in every hour)

Step 3 Use the =MINUTE(B2) formula to get the number of minutes from the time and multiply by 60 (60 seconds in every minute)

Step 4 Use the =SECOND(B2) formula to get the number of seconds from the time

Step 5 Add up the three pieces to get the total seconds

Step 6 Make sure it’s formatted properly as a Decimal, and not as Time (press Ctrl +1 and select Decimal)

Congratulations, you have now had Excel convert time!

Excel Convert Time to Seconds example

Excel Convert Time to Seconds formula

More Excel Learning

This has been CFI’s guide on how to have Excel convert time, using two different methods.  To keep learning and developing your skills, we highly recommend our Free Excel Crash Course which will teach you all the foundational skills you need.  We highly recommend these free guides below:

Article Sources

  1. Convert Time to Seconds
0 search results for ‘