Tuesday, December 20, 2011

How to Convert Hours to Seconds in Excel


1. Open a new workbook in Microsoft Excel.
2. Enter the time in a blank cell such as 6:20:35 in A1.
3. Click on a blank cell and enter the following formula: =(HOUR(cell)*60*60) (MINUTE(cell)*60) SECOND(cell), where cell refers to the cell reference that contains the time. The formula extracts the hour, minutes, and seconds from the time. It multiplies the hours by 60 to convert into minutes, then multiplies by 60 again to get seconds. The minutes are multiplied by 60 to get the seconds, and the seconds are added to the calculation to get the total seconds.For example, the formula =(HOUR(A1)*60*60) (MINUTE(A1)*60) SECOND(A1) would bring back 22,835 seconds.
4. Format the cell as general by right clicking on the cell and selecting the 'General' category in the 'Number' tab of the 'Format Cells' window.

Blogger news