MS Excel: How to use the SECOND Function (WS)
This Excel tutorial explains how to use the Excel SECOND function with syntax and examples.
Description
The Microsoft Excel SECOND function returns the seconds (a number from 0 to 59) from a time value.
The SECOND function is a built-in function in Excel that is categorized as a Date/Time Function. It can be used as a worksheet function (WS) in Excel. As a worksheet function, the SECOND function can be entered as part of a formula in a cell of a worksheet.
Syntax
The syntax for the SECOND function in Microsoft Excel is:
SECOND( serial_number )
Parameters or Arguments
- serial_number
- The time value to extract the second from. It may be expressed as a string value, a decimal number, or the result of a formula.
Returns
The SECOND function returns a numeric value between 0 and 59.
Applies To
- Excel for Office 365, Excel 2019, Excel 2016, Excel 2013, Excel 2011 for Mac, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000
Type of Function
- Worksheet function (WS)
Example (as Worksheet Function)
Let's look at some Excel SECOND function examples and explore how to use the SECOND function as a worksheet function in Microsoft Excel:
Based on the Excel spreadsheet above, the following SECOND examples would return:
=SECOND(A1) Result: 35 =SECOND(A2) Result: 0 =SECOND("4:00:03 AM") Result: 3 =SECOND("4:30:24 AM") Result: 24
Advertisements