Note: The other languages of the website are Google-translated. Back to English

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

Says you enter a date in one cell, and it shows as 12/13/2015. Is there a way to show only the month or the weekday, or the text of month name or weekday name, such as December, or Sunday? The following methods can help you easily convert or format any kinds of date to display only the weekday name or month name in Excel.

  1. Convert dates to weekday/month/year name or number with Format Cell
  2. Convert dates to weekday/month name with TEXT function
  3. Convert a date to weekday/month name with CHOOSE function
  4. Convert dates to weekday/month/year name or number with an amazing tool

Convert dates to weekday/month/year name or number with Format Cell

We can customize the date formatting and display dates as weekday names or month names only easily in Excel.

1. Select the date cells that you want to convert to day of week, month, or year names/numbers, right click and select the Format Cells from the right-clicking menu.

Kutools for Excel

Stand out from the Crowd

300 Handy Tools
Solve 80% Problems in Excel
Free Trial Now

Say goodbye to terrible VBA and formulas!

2. In the opening Format Cells dialog box, under Number tab click the Custom in the Category box, and then enter "ddd" into the Type box.

Note: The "ddd" will display date as weekday name such as "Sat". Take the date 3/7/2019 for example, the following table will show other custom date formatting:

  A B C D
1 Date 3/7/2019    
2        
3 No. Display as Formatting Code Example Shows
4 1 Weekday Name ddd Thu
5 2 Weekday Name dddd Thursday
6 3 Month Name mmm Mar
7 4 Month Name mmmm March
8 5 Month Number m 3
9 6 Year Number yyyy 2019
10 7 Year Number yy 19
11 8 Date Number d 7
12 9 Date Number dd 7

3. Click the OK button to apply the custom date formatting.

One click to convert multiple dates to week/month/year names or numbers in Excel

Have you ever converted a date to the day of week by right clicking and specify formatting code in the Format Cell dialog? Here, with Kutools for Excel's Apply Date Formatting feature, you can quickly show a series of dates as only month names, or day of weeks easily with only one click in Excel! Full Feature Free Trial 30-day!

Kutools for Excel - Includes more than 300 handy tools for Excel. Full feature free trial 30-day, no credit card required! Get It Now

Convert dates to weekday/month name or number with TEXT function

Microsoft Excel's TEXT function can help you to convert a date to its corresponding month name or weekday name easily.

In a blank cell, please enter this formula =TEXT(A2,"mmmm"), in this case in cell C2. , and press the Enter key. And then drag this cell's AutoFill handle to the range as you need.

And the date have been converted to month name. See screenshot:

Note: You can change the "mmmm" to other format code according to above table. For example, you can also convert a date to the weekday name with the formula =TEXT(A2,"dddd").

Do you want to Stand out from the crowd now? 30+ Date features raise your Expertise!

With 30+ date features of Kutools for Excel, you will get practical skills about dates in 3 minutes, and work faster and better than others, easily get pay raise and promotion!

To be More likeable

Efficiently deal with date problems in Excel, help you easily get appreciation of others in work.

Take care your family

Say goodbye to repetitive and trivial date work in Excel, save more time to accompany your family.

Enjoy healthy life

Insert, modify, or calculate dates in bulk, reduce hundreds of clicks every day, farewell to mouse hand.

Never worry about layoffs

Improve 91% work efficiency, solve your 95% date problems in Excel, finish work ahead of schedule.

Free up your memory

12 Kutools formulas about dates, stop memorizing painful formulas and VBA codes, work with ease.

Kutools for Excel brings 300 handy tools for 1500 work scenarios, only $39.0 but worth more than $4000.0 Excel training of others, save every penny for you!

Convert a date to weekday/month name with CHOOSE function

If these special formatting codes are hard to remember and apply in formulas, you can also apply the CHOOSE function to convert a date to the name of month or day of week in Excel. Please do as follows:

In a blank cell, please enter the formula =CHOOSE(WEEKDAY(B1),"Sun","Mon","Tue","Wed","Thu","Fri","Sat"), and press the Enter key. This formula will convert the date to the day of week as below screenshot shown.
Note: For converting a date to the name of month, please apply this formula =CHOOSE(MONTH(B1),"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")

Convert dates to weekday/month/year name or number with Kutools for Excel

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

Kutools for Excel - Includes more than 300 handy tools for Excel. Full feature free trial 30-day, no credit card required! Get It Now

1. Select the range that you will work with, and click Kutools > Format > Apply Date Formatting, see screenshot:

2. In the Apply Date formatting dialog box, please select the date formatting in the Date formatting box, and click the Ok button.
For example, you can select 03, Mar or March in the Date formatting box to convert the dates to month names or month numbers, or select Wed or Wednesday to convert the dates to weekday names, or select 01 or 2001 to convert dates to the year numbers, or select 14 to convert to date numbers.

Now all selected dates are converted to the specified date formatting, such as name of month, day of week, or others as you choose:

Note: The Apply Date Formatting tool does not change the actual values.

This Apply Date Formatting feature will help Excel users one click to convert all selected dates to the month names, day of weeks, year, etc. Have a Free Trial!

Related articles

300 tools help you stand out from the crowd now

with Kutools for Excel - never worry about job cut

Kutools for Excel brings 300 handy tools for 1500 work scenarios, helps you work faster and better than your colleagues, and easily win trust of your boss. You will be the last one in the list of layoffs, and easily maintain a stable and better life for your family!

  • To be a master of Excel in 3 minutes, and easily win appreciation of others.
  • Improve 80% work efficiency, solve your 80% problems in Excel, not work overtime.
  • Speed up your work, save 2 hours every day to improve yourself and accompany family.
  • Say goodbye to complicated formulas and VBA code, free up your memory.
  • Reduce thousands of keyboard operations and mouse clicks, far away from mouse hand.
  • Spend $39.0, worth more than $4000.0 training of others.
  • Choice of 110,000+ highly effective people and 300+ famous companies, work stable in Excel.
  • Full feature free trial 30-day, no credit card required.
Read More ...
Free Trial Now
 
Comments (49)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Thanks, very much effective formula
This comment was minimized by the moderator on the site
Fantastic! I worked very well for me aswell. Really appreciate your help
This comment was minimized by the moderator on the site
Thanks a lot for formula (=Text(Cell),"mmmm").
This comment was minimized by the moderator on the site
Thanks a lot for formula =TEXT(A1,"mmmm")to convert date in text.
This comment was minimized by the moderator on the site
I entered the text formula but it did not work...help?
This comment was minimized by the moderator on the site
My goodness, it's working now....sorry!
This comment was minimized by the moderator on the site
need how to convert date(25-02-14) into month in excel. also while creting the pivot if have to date in a same month showing sam e month in two times in pivot.pls
This comment was minimized by the moderator on the site
Thank you, this saved me HOURS of time!!!!!
This comment was minimized by the moderator on the site
Thanks a lot :) Really helpful.
This comment was minimized by the moderator on the site
Good Job .... Great .....it solve my issues in seconds
This comment was minimized by the moderator on the site
thanks for the formula.. very nice one :-)
This comment was minimized by the moderator on the site
for weekday you may use =TEXT(A1,"[$-14409]dddd")and you get Friday displayed. No need that Kutools
This comment was minimized by the moderator on the site
or just =TEXT(WEEKDAY(A1),"dddd")
This comment was minimized by the moderator on the site
Hi using Excel 2007... entered =TEXT(A1,"mmmm") got error... corrected formula with =TEXT(A1;"mmmm") getting result 00!! if I change "mmmm" with "dddd" it displays the "day" properly. How I can I get it to display the "month"?..
This comment was minimized by the moderator on the site
There's an extra space hiding in your formula (try right before or after the closing parenthesis). The ";" should not work - the "," is the correct format for the formula.
This comment was minimized by the moderator on the site
[quote]Hi using Excel 2007... entered =TEXT(A1,"mmmm") got error... corrected formula with =TEXT(A1;"mmmm") getting result 00!! if I change "mmmm" with "dddd" it displays the "day" properly. How I can I get it to display the "month"?..By Charlie[/quote] [quote]There's an extra space hiding in your formula (try right before or after the closing parenthesis). The ";" should not work - the "," is the correct format for the formula.By Geno[/quote] Hello again, I've double checked the formula... no hidden spaces etc in it. In excel you can actually choose between "," and ";" as operative divider which in my case is ";" using it in the formula for day dddd works fine but mmmm does not return name of month! All I get is 00. I've tried on several computers with excel installed... seems to be a bug in the program.
This comment was minimized by the moderator on the site
Nice formula... working good
This comment was minimized by the moderator on the site
Thank you a lot....to show the weekday formula.
This comment was minimized by the moderator on the site
Thank you, working good.
This comment was minimized by the moderator on the site
Hi, How to create a formula for the flowing: 1- Cell A2 has full birthday date (Day, Month and Year) 2- I want Cell B to show "happy Birthday" message if Cell A2 is today's birthday date Thanks,
This comment was minimized by the moderator on the site
[quote]Hi, How to create a formula for the flowing: 1- Cell A2 has full birthday date (Day, Month and Year) 2- I want Cell B to show "happy Birthday" message if Cell A2 is today's birthday date Thanks,By Maher[/quote] Hi, Try this formula... =IF(C2=TODAY();"happy birthday";"") If it doesn't work replace ; with : also if you wish to leave cell B2 empty when birthday is not today then replace FALSE with "" in the formula.
This comment was minimized by the moderator on the site
Hi, 1- Type the date in A2 in the date format of your computer 2- Use formula '=IF(A2=TODAY();"Happy Birthday";FALSE) in the cell you want to show Happy Birthday(cell B2) you may need to change ; with : in the formula if it doesn't work. Also if you want to leave cell B2 empty when A2 is not today then replace FALSE with "".
This comment was minimized by the moderator on the site
Thanks. This was incredibly helpful!!!
This comment was minimized by the moderator on the site
My table came over with the date as 20160502, however I have to add 45 days to all dates so this format does not work, is there a way to convert it to 05/02/2016?
This comment was minimized by the moderator on the site
Hi Marilyn,
=DATE(LEFT(A1,4),MID(A1,5,2),RIGHT(A1,2)) this formula will change the string 20160502 to date in default date formatting.
This comment was minimized by the moderator on the site
When I use the formula in column K =CHOOSE(WEEKDAY(J4), "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday") then copy it down the column, any space in column J that is blank comes up with Saturday in column K. I need a way for if a cell is a blank in column J for it to stay blank in K as well.
This comment was minimized by the moderator on the site
[quote]When I use the formula in column K =CHOOSE(WEEKDAY(J4), "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday") then copy it down the column, any space in column J that is blank comes up with Saturday in column K. I need a way for if a cell is a blank in column J for it to stay blank in K as well.By Mike Delaney[/quote] Hi, try the following formula in K4... =if(J4="","",CHOOSE(WEEKDAY(J4), "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday")) When copied down in column K if cells in column J is empty it'll stay blank in column K.
There are no comments posted here yet
Load More
Leave your comments
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations