Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to convert date to weekday, month, quarter or year in Excel?

Says you enter a date in one cell, and it shows as 2012/12/21. Is there a way to show only the year, only the quarter, only the month or the weekday? The following methods can help you easily convert or format any kinds of date to display only the weekday name or month name or quarter name or year name in Microsoft Excel.

Convert date to weekday, month, quarter or year with formula

Convert date to weekday, month, or year with Kutools for Excel


arrow blue right bubble Convert date to weekday, month, quarter or year with formula


Microsoft Excel's Text function can help you to convert date to its corresponding month name or year name or quarter name or weekday name easily.

1. In a blank cell, please enter this formula =TEXT(A1,"mmmm"), in this case in Cell C1. See screenshot:


2. Press Enter key, and select the Cell C1. Then drag the fill handle across to the range that you want to apply this formula. And the date have been converted to month name. See screenshot:


If you are going to copy these month names to other places, as they are formulas, you need to copy and paste them as values.

You can also convert a date to the weekday name with the formula =TEXT(A1,"dddd"); convert date to quarter name with this formula ="Q"&LOOKUP(MONTH(A1),{1,4,7,10},{1,2,3,4})&"-"&TEXT(A1,"yy"); convert date to year name with this formula =TEXT(A1,"yyyy;;;").


arrow blue right bubble Convert date to weekday, month, or year with Kutools for Excel

The Text function is easy to deal with a few dates, and it will be time-consuming if many ones. The Kutools for Excel's Apply Date Formatting tool can help you convert all dates in selections to the year name or month name or weekday name easily.

Kutools for Excel includes more than 300 handy Excel tools. Free to try with no limitation in 30 days. Get it Now

1. Select the range that you will work with.

2. Click Kutools > Format Tools > Apply Date Formatting…, see screenshot:


3. In the Apply Date formatting dialog:

If you want to convert the date to year name, you can select 01or 2001 item in the left box.


If you want to convert the date to month name, you can select 03, Mar or March item in the left box.


If you want to convert the date to weekday name, you can select Wed or Wednesday item in the left box.


4. Then click OK or Apply, all of the dates have been changed to the date format that you want.

Note: The Apply Date Formatting tool does not change the actual value. Click to know more about this Apply Date Formatting tool. 


Relative Articles:

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.
  • To post as a guest, your comment is unpublished.
    MP · 4 years ago
    Your formula for converting to quarter & year is incorrect. Check it with data and you will find that July dates will be marked as 2nd quarter, not third.
    • To post as a guest, your comment is unpublished.
      admin_jay · 4 years ago
      [quote name="MP"]Your formula for converting to quarter & year is incorrect. Check it with data and you will find that July dates will be marked as 2nd quarter, not third.[/quote]
      Hello, We have updated it. Thanks for your feedback. :-)
    • To post as a guest, your comment is unpublished.
      zhengshan · 4 years ago
      [quote name="MP"]Your formula for converting to quarter & year is incorrect. Check it with data and you will find that July dates will be marked as 2nd quarter, not third.[/quote]
      Thanks for you reminder. I have corrected it, you can try the new formula if you want.