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
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;;;").
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…
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:
Best Office Productivity Tools
Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time. Click Here to Get The Feature You Need The Most...
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!