MS Excel: MONTH function to extract minute from date - time value
- Fakhriddinbek

- May 4
- 2 min read
The MONTH function in Microsoft Excel returns the month from a given date. It's widely used in financial reports, project planning, seasonal analysis, and any scenario where understanding or grouping data by calendar months is required.

Whether you're sorting transactions, creating month-wise summaries, or automating date-based formulas, the MONTH function is a must-know.
Syntax
=MONTH(serial_number)
Parameter:
Excel stores dates as sequential serial numbers, starting from January 1, 1900.
Return Value
An integer between 1 and 12, where:
1 = January
2 = February
…
12 = December
Examples
Practical Use Cases
Example Table in Excel
Related Functions
Notes
If a non-date number is passed (like 1), Excel assumes it's the date serial number for January 1, 1900, so =MONTH(1) returns 1.
MONTH("2025-04-15") works, as Excel recognizes it as a valid date string.
Pro Tip
Want to display the name of the month instead of the number? Combine with the TEXT function:
=TEXT(A2, "mmmm") → April =TEXT(A2, "mmm") → Apr
Or for a full dynamic message:
="Report for the month of " & TEXT(A2, "mmmm")
Summary Table
Conclusion
The MONTH function is simple but powerful when working with time-based data. It helps you efficiently categorize, analyze, and visualize data across monthly timelines — a critical task in many industries.



Comments