=SECOND(serial_number)One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.
Need more than a single SECOND formula? Try our free AI for Excel — it reads your entire spreadsheet, answers questions in plain English, and builds charts and analysis in the same chat.
serial_number:
A valid Excel date and time value from which you want to extract the second. This can be a cell reference containing a date and time, or a formula that returns a date and time value.
The SECOND function in Excel is a simple yet useful tool that allows you to extract the second component from a given time value. It takes a time input and returns the seconds as a number, making it easier to analyze time data in various applications.
In simpler terms, the SECOND function helps you isolate the seconds from a time value, which can be particularly useful in time calculations or when you need to analyze time-based data.
Imagine you are tracking the duration of various events in an Excel spreadsheet, and you have the following data:
| Event | Start Time | End Time |
|---|---|---|
| Meeting | 2023-10-01 09:15:30 | 2023-10-01 10:00:45 |
| Workshop | 2023-10-02 11:00:00 | 2023-10-02 12:30:15 |
| Conference | 2023-10-03 14:45:10 | 2023-10-03 16:15:50 |
You want to find out the seconds component of the end time for each event.
To extract the seconds from the end time of the Meeting event, you would use the SECOND formula as follows:
=SECOND(C2)When you apply the formula, it returns the seconds component of the end time for the Meeting event. The output would be:
| Seconds for Meeting End Time |
|---|
| 45 |
Here, the seconds extracted from the end time (10:00:45) is 45.
The SECOND function is particularly useful when you need to analyze or manipulate time data that includes seconds. It allows you to quickly extract this component without needing to perform complex calculations or conversions.
Understanding how to use the SECOND function can significantly enhance your ability to work with time data in Excel, enabling you to extract meaningful insights from your datasets.
Happy calculating!
You have a table where Column A contains timestamps of when tasks were completed, and you want to analyze the exact second each task was finished. By using the SECOND function, you can extract the second component from each timestamp in Column A. This allows for a detailed analysis of task completion times, helping to identify patterns in productivity and optimize workflow without needing to manually parse the timestamps.
Beyond the SECOND function: Better Analyst is a full Excel AI that goes well past individual formulas. Upload any spreadsheet and ask questions in plain English — you'll get formulas, data analysis, and charts back in seconds. It's a free AI Excel assistant that works with any .xlsx, .xls, or .csv file — no plugins, no Microsoft 365 required.
Don't have a spreadsheet yet? Use our free AI spreadsheet generator to turn a text prompt into a downloadable Excel file — a full AI Excel sheet maker that builds headers, columns, and formulas from your description.
Create a free account for formula help, explanations, and spreadsheet analysis. Usage limits depend on your plan.
Browse our complete library of Excel formula guides
Compare your options
Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.
AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.