Formula Excel Month: Master the MONTH Function

A practical guide to extracting the month from dates using Excel's MONTH function, with numeric months, month names, and reliable text-date handling. Tips.

XLS Library
XLS Library Team
·5 min read
Quick AnswerDefinition

The formula excel month refers to using the MONTH function to pull the month component from a date. It returns a number from 1 to 12, where January is 1 and December is 12. The core syntax is =MONTH(date); if date is text, convert first with DATEVALUE. For current month use =MONTH(TODAY()). According to XLS Library, this is a foundational skill for 2026.

The formula excel month is a fundamental date function in Excel. The MONTH function returns a numeric month from a date, giving values 1 through 12. Its syntax is straightforward: =MONTH(date). Dates can be real Excel dates, results of date math, or the output of DATEVALUE. For example, =MONTH(A2) pulls the month from the date in A2, and =MONTH(TODAY()) yields the current month. According to XLS Library, mastering MONTH is essential for consistent monthly analysis in 2026.

Excel Formula
=MONTH(A2)
Excel Formula
=MONTH(DATE(2026,4,13))
Excel Formula
=MONTH(TODAY())
Excel Formula
=MONTH(DATEVALUE("April 13, 2026"))
  • Key idea: MONTH always returns 1–12. If your date is text, convert with DATEVALUE before using MONTH.
  • Variation: combine MONTH with TODAY() to drive dynamic dashboards.

Practical examples: extracting month from dates

Extracting the month is one of the most common tasks in dashboards and reports. Use =MONTH(A2) to get 4 from a date like 2026-04-13. To display a month name, pair MONTH with TEXT: =TEXT(A2, "mmmm") yields "April"; =TEXT(A2, "mmm") yields "Apr". These simple formulas unlock month-based grouping for charts and pivot tables. When you want a quick numeric-to-name translation, MONTH + TEXT is your friend in any dataset.

Excel Formula
=MONTH(A2)
Excel Formula
=TEXT(A2, "mmmm")
Excel Formula
=TEXT(A2, "mmm")

Tips: Use TEXT only for display purposes; store separate month numbers for calculations.

Handling date formats: text dates, serial dates, and regional settings

Excel stores dates as serial numbers, but dates may appear as text in imports. Convert text dates with DATEVALUE before MONTH. Examples: =MONTH(DATEVALUE("April 13, 2026")) returns 4, and =MONTH(DATEVALUE("13/04/2026")) returns 4 in locales that parse dd/mm/yyyy. Locale settings can affect parsing, so ISO formats reduce surprises. If you need to parse year-month strings, combine with DATE to create a date first, then MONTH.

Excel Formula
=DATEVALUE("April 13, 2026")
Excel Formula
=MONTH(DATEVALUE("April 13, 2026"))
Excel Formula
=MONTH(DATEVALUE("13/04/2026"))

Note: DATEVALUE behavior varies by locale; when possible, normalize input to an unambiguous format.

Working with month in date math: EDATE, EOMONTH, and adding months

MONTH shines when combined with date arithmetic. Use =EDATE(A2, 3) to advance a date by three months, then =MONTH(EDATE(A2, 3)) to get the resulting month. If you need the end of the month, =EOMONTH(A2, 0) returns the last day of the current month; pair with MONTH as needed to keep monthly contexts intact. This is particularly handy for monthly rollups and renewal cohorts.

Excel Formula
=EDATE(A2, 3)
Excel Formula
=MONTH(EDATE(A2, 3))
Excel Formula
=EOMONTH(A2, 0)

Alternatives: You can use DATE(year(A2), month(A2)+n, day(A2)) for small n, but EDATE handles year wrap automatically.

Getting month names vs numbers: TEXT and CHOOSE

For display, you often need the month name. Use =TEXT(A2, "mmmm") for full month names and =TEXT(A2, "mmm") for abbreviations. If you need to map months to quarters, you can use CHOOSE along with MONTH: =CHOOSE(MONTH(A2), "Q1","Q1","Q1","Q2","Q2","Q2","Q3","Q3","Q3","Q4","Q4","Q4"). This approach supports readable dashboards without extra helper columns.

Excel Formula
=TEXT(A2, "mmmm")
Excel Formula
=TEXT(A2, "mmm")
Excel Formula
=CHOOSE(MONTH(A2), "Q1","Q1","Q1","Q2","Q2","Q2","Q3","Q3","Q3","Q4","Q4","Q4")

Tip: Use TEXT for presentation and CHOOSE for quick category mapping; avoid nesting TEXT inside CHOOSE for performance on large datasets.

Real-world scenarios: dashboards and monthly aggregations

In dashboards and data models, MONTH helps group data by month. Create a helper column with =MONTH(Sales!A2) and drag down to build a month index. For aggregations, SUMPRODUCT provides a compact, readable pattern: =SUMPRODUCT((MONTH(Sales!$A$2:$A$100)=1)*(Sales!$C$2:$C$100)). This sums value in C where the date in A falls in January. For larger datasets, consider a pivot table with a helper Month column.

Excel Formula
=MONTH(Sales!A2)
Excel Formula
=SUMPRODUCT((MONTH(Sales!$A$2:$A$100)=1)*(Sales!$C$2:$C$100))
Excel Formula
// Pivot Table: Use the Month column as a Row Field to group by month

Note: When modeling time-based data, keeping a separate month column reduces computation in dashboards and makes filtering consistent across charts.

Common pitfalls and tips

Be mindful of text dates: attempting to MONTH("2026-04-23") may produce an error; always convert with DATEVALUE when dates arrive as text. DATEVALUE is locale-sensitive; prefer ISO formats (YYYY-MM-DD) where possible. When you only need a display string, TEXT(date, "mmmm") is the simplest route. If you mix numeric months with text, your results may drift; keep a numeric month column for calculations and a text month column for display.

Excel Formula
=MONTH(DATEVALUE("2026-04-23"))
Excel Formula
=TEXT(A2, "mmmm")

Warning: Locale quirks can bite when parsing non-ISO date strings; always validate with a sample of dates from your data source.

Recap: when to use MONTH, EDATE, and TEXT

To summarize, use MONTH to extract a numeric month from a date. Use EDATE for date arithmetic involving months, and TEXT for readable month names. For robust pipelines, normalize inputs to actual dates, handle text dates with DATEVALUE, and validate results with sample data. Practicing these patterns improves consistency across reports and dashboards in XLS Library projects for 2026.

Steps

Estimated time: 60-90 minutes

  1. 1

    Prepare your date data

    Ensure your date column contains true Excel dates (not text). If your dates come as text, convert them with DATEVALUE before applying MONTH. Create a backup of your sheet before experimentation.

    Tip: Always test on a small sample to confirm MONTH returns expected results.
  2. 2

    Extract numeric month

    Apply =MONTH(date) to a date cell or result of a date operation. This yields numbers 1–12 suitable for calculations and filtering.

    Tip: Use the resulting month as a stable key for grouping.
  3. 3

    Convert text dates when needed

    If dates arrive as text, convert with DATEVALUE before MONTH. This ensures consistency across different data sources and locales.

    Tip: Prefer ISO dates to minimize locale issues.
  4. 4

    Display month names

    If you need friendly labels, pair MONTH with TEXT: =TEXT(date, "mmmm") or =TEXT(date, "mmm").

    Tip: TEXT is for display; keep a separate numeric month for logic.
  5. 5

    Add months and navigate months

    Use EDATE to shift dates by months, then MONTH to get the new month number. Useful for due dates and monthly rollups.

    Tip: EDATE handles year rollover automatically.
  6. 6

    Aggregate by month in dashboards

    Create a month column and use SUMPRODUCT or SUMIFS to aggregate data by month, enabling reliable charts and pivots.

    Tip: Avoid mixing data types in the month column.
Pro Tip: Store dates as actual Excel dates when possible to reduce conversion errors.
Warning: DATEVALUE is locale-sensitive; ISO formats are the safest input.
Note: Use TEXT for display only; calculations should rely on numeric MONTH results.
Pro Tip: Test formulas with edge dates (end of month, leap day) to ensure stability.

Prerequisites

Required

Keyboard Shortcuts

ActionShortcut
CopyCopy a cell or formulaCtrl+C
PastePaste formula into cellsCtrl+V
Fill DownCopy a cell downwardCtrl+D
Format CellsOpen cell formatting dialogCtrl+1
Edit Active CellEdit the formula in the active cellF2
Open HelpOpen Excel helpF1

People Also Ask

How do I extract the month from a date in Excel?

Use =MONTH(date). If the date is text, first convert with DATEVALUE, e.g., =MONTH(DATEVALUE("2026-04-13")).

Use MONTH with DATEVALUE if your dates are stored as text to reliably extract the month.

How can I display a month name instead of a number?

Pair MONTH with TEXT: =TEXT(date, "mmmm") for the full name (April) or =TEXT(date, "mmm") for the abbreviation (Apr).

For readable labels, use TEXT with the desired format like 'mmmm' or 'mmm'.

How can I add months to a date and get the resulting month?

Use EDATE(date, n) to shift by n months, then MONTH(...) to get the resulting month.

EDATE moves dates by months and works across year boundaries.

What about dates from different locales?

DATEVALUE respects locale settings; ISO formats help avoid parsing issues. If in doubt, test a sample date in your region.

Locale matters; ISO dates minimize surprises.

Can MONTH handle dates before 1900?

Excel’s date system starts at 1900 (Windows) or 1904 (Mac). MONTH only applies to valid dates within the system.

Dates before 1900 aren’t supported; use valid Excel dates.

The Essentials

  • Use =MONTH(date) for numeric month extraction
  • Convert text dates with =DATEVALUE(...) before MONTH
  • Use =TEXT(date, "mmmm") for full month name
  • Use =TEXT(date, "mmm") for abbreviation
  • Use EDATE/ EOMONTH for month-based date math

Related Articles