Excel Formula: Convert Date to Month Year Day

doc convert date to julia 1

In Excel, you can format the date cell as multiple types of date formats, but in some cases, you want to convert the date to only month, year, day or monthyear, daymonth, or year day in text format. Here in this tutorial, it provides a general formula to handle this job in Excel.

If you want to follow along with this tutorial, please download the example spreadsheet.
doc convert date to julia 1

Generic formula:

TEXT(date,”date_format”)

Arguments

Date: the date or cell you want to convert to a date as text.
Date_format: the date format you want to convert to.

Date Forat

Date Format  Arguments 
 Convert date to year only yyyy 
 Convert date to month only mm 
 Convert date to day only dd 
 Convert date to year month yyyymm 
 Convert date to year day yyyydd 
Convert date to month day  mmdd 

Return Value

The formula returns a serial number in text format.

How this formula work

In cell B3, the date needed to be converted to year, month, day or other date types in text format, please apply one of below formulas:

Convert date to year only

=TEXT(B3,"yyyy")

Convert date to month only

=TEXT(B3,"mm")

Convert date to day only

=TEXT(B3,"dd")

Convert date to year and month

=TEXT(B3,"yyyymm")

Convert date to year and day

=TEXT(B3,"yyyydd")

Convert date to month and day/strong>

=TEXT(B3,"mmdd")

Press Enter key to get a serial number in text format.
doc convert date to julia 1

Explanation

TEXT function: convert a number to a text in a specific format.


Relative Formulas

Relative Functions


The Best Office Productivity Tools

Kutools for Excel - Helps You To Stand Out From Crowd

Would you like to complete your daily work quickly and perfectly? Kutools for Excel brings 300 powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) and save 80% time for you.

  • Designed for 1500 work scenarios, helps you solve 80% Excel problems.
  • Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands.
  • Become an Excel expert in 3 minutes. No longer need to remember any painful formulas and VBA codes.
  • 30-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years.
Ribbon of Excel (with Kutools for Excel installed)

Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Firefox, And New Internet Explorer.
Screen Shot of Excel (with Office Tab installed)

Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.