Skip to main content

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:

Comments (3)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
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.
This comment was minimized by the moderator on the site
[quote]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.By MP[/quote] Hello, We have updated it. Thanks for your feedback. :-)
This comment was minimized by the moderator on the site
[quote]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.By MP[/quote] Thanks for you reminder. I have corrected it, you can try the new formula if you want.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations