Month Name from a Number (or Date)

Excel Formulas › Date & Time

All versionsTEXT

Turn 6 into “June” (or “Jun”). Build a date from the month number and format it — or pull the name straight from an existing date.


Quick formula: month name from a number in A2:
=TEXT(DATE(2000, A2, 1), "mmmm")
Make any date in that month, then format it as mmmm (full) or mmm (abbreviated).

Functions used (tap for the full reference guide):

The example

6 becomes “June”.

AB
1NumberName
26June
310October

The formula

Build a date, format the name:

=TEXT(DATE(2000, A2, 1), "mmmm") // 6 → June

How it works

The format code does the naming:

  1. DATE(2000, A2, 1) creates the first of that month in any year.
  2. TEXT(…, "mmmm") formats it as the full month name; "mmm" gives the 3-letter abbreviation.
  3. From an existing date, skip DATE: =TEXT(A2, "mmmm").
  4. No-date alternative: =CHOOSE(A2, "January", "February", …) — explicit but longer.

Name back to number: =MONTH(DATEVALUE(A2&" 1")) turns “June” into 6. And remember TEXT returns text — you can’t sort it chronologically; keep the number for sorting.

Try it: interactive demo

Live demo

Month number → name.

Full · Short

Variations

Abbreviated

3-letter:

=TEXT(DATE(2000, A2, 1), "mmm")

From a date

Direct:

=TEXT(A2, "mmmm")

Name to number

Reverse:

=MONTH(DATEVALUE(A2&" 1"))

Pitfalls & errors

Result is text. Month names sort alphabetically (April, August…), not chronologically. Sort by the number, display the name.

Locale matters. Month names follow the workbook’s language settings.

Number out of range. DATE wraps months > 12 into the next year — validate 1–12 if needed.

Practice workbook

📊
Download the free Month Name from a Number (or Date) practice workbook
A month-name converter with abbreviated, from-date, and reverse variants, plus 4 challenges with answers. No sign-up required.

Frequently asked questions

How do I convert a month number to a name in Excel?
Build a date and format it: =TEXT(DATE(2000, A2, 1), "mmmm") turns 6 into June. Use "mmm" for the 3-letter form.
How do I get the month name from a date?
Use =TEXT(A2, "mmmm") directly on the date.
How do I convert a month name back to a number?
Use =MONTH(DATEVALUE(A2&" 1")), which parses "June 1" and returns 6.

Stop fighting formulas. Learn them in a day.

This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.

See the Formulas & Functions Class

Related formulas: Weekday name · Custom number format · Quarter from a date

Function references: TEXT · CHOOSE