# How to Convert Time to Seconds in Excel (3 Easy Methods)

The following dataset contains 5 different times in a 12-hour time format. Weâ€™ll transform them into seconds. You can go through the below methods one by one and choose whichever suits you best.

## Method 1 – Convert Time to Seconds in Excel with Simple Formula

Steps:

• Click cell C5.
• Input the formula:
`=(0*3600)+(15*60)+10`
• Notice that, as the hour is 12 AM, we have to multiply 0 (not 12) by 3600, which will result in 0.
• Press Enter and Excell will return the time in seconds.

A drawback of this method is that we canâ€™t apply the AutoFill to get other outputs, so we have to input them one by one manually.

• For example, the cell C9Â will need this formula:
`=(22*3600)+(7*60)+59`

Read More: Convert Time to Text in Excel

## Method 2 – Combining Excel HOUR, MINUTE, & SECOND Functions for Converting Time to Seconds

Steps:

• Select cell C5.
• Input the formula:
`=HOUR(B5)*3600+MINUTE(B5)*60+SECOND(B5)`
• Press Enter.
• If you see the output in Time format, change it to General/Number format.
• Youâ€™ll get the total seconds.

NOTE: HOUR(B5)*3600 retrieves 0, then multiplies the 0 with 3600. The MINUTE(B5)*60 part returns 15 and multiplies it with 60. SECOND(B5) gives out 10.
• Use the AutoFill tool to complete the rest. Youâ€™ll see the other outputs.

Read More: How to Convert Time to Hours in Excel

## Method 3 – Inserting CONVERT Function to Convert Time to Seconds

Steps:

• Click cell C5.
• Type in the formula:
`=CONVERT(B5,`
• Youâ€™ll get different options. Choose Day.

• Select Second next.

• Press Enter. Itâ€™ll return the result in seconds.

• Apply AutoFill to fill the series.

## Related Articles

<< Go Back to Time Conversion | Date-Time in Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Aung Shine

Aung Shine completed his bachelorâ€™s in Electrical and Electronics Engineering from Bangladesh University of Engineering and Technology. It has been almost 2 years since he joined SOFTEKO and actively working on the ExcelDemy project. Currently he works as a Team Leader where he guides his team members to create technical content. He has published 150+ articles and reviewed 50+ articles. He has also solved various user problems before. He has interests in Data Analysis, Power Query, Advanced Excel,... Read Full Bio

We will be happy to hear your thoughts

Advanced Excel Exercises with Solutions PDF