Excel SECOND Function

This Excel Tutorial demonstrates how to use the Excel SECOND Function in Excel to get the seconds from a time, with formula examples.

SECOND Function Description:

The SECOND Function Returns the second as a number (0-59)

Formula Examples:

second function examples

Example Formula Result
Date + Time =SECOND(C7) 30
Date =SECOND(C8) 0

Syntax and Arguments:

The Syntax for the SECOND Formula is:

Function Arguments ( Inputs ):

serial_number – The time, represented as a fraction of the day or entered as time surrounded by quotations (“s”). Example: You can not enter 8:00:00 pm directly into the cell. Instead you would need to use the corresponding fraction of the day: .3333 or the time surrounded by quorations: “8:00:00 pm”. Alternatively, you can reference a cell with the time entered. Excel automatically converts times stored in cells into a fractional number (unless the time is stored as text).

Additional Notes

Enter any time or time serial number.

SECOND Examples in VBA

You can also use the SECOND function in VBA. Type:
For the function arguments (serial_number, etc.), you can either enter them directly into the function, or define variables to use instead.

Return to the List of all Functions in Excel

How to use the SECOND Function in Excel:

To use the AND Excel Worksheet Function, type the following into a cell:
After entering it in the cell, notice how the AND formula inputs appear below the cell:
second formula syntax
You will need to enter these inputs into the function. The function inputs are covered in more detail in the next section. However, if you ever need more help with the function, after typing “=SECOND(” into a cell, without leaving the cell, use the shortcut CTRL + A (A for Arguments) to open the “Insert Function Dialog Box” for detailed instructions:
how to use the second function in excel

For more information about the SECOND Formula visit the
Microsoft Website.

Posted in