Easy steps to get week, day and month from date in excel

July 22, 2022
1.6K Views
0

A free Office suite fully compatible with Microsoft Office

Free Download

When you are working with data which contain lots of date, you might need to extract month from date in excel. Even you might need to know day number or week number from date.

Excel knows which components of the date you entered relate to the month, year, and date. Thus, you can extract all the particular parts of your choice from the date. Be it name of the day, number of the day, number of the week, month, year, etc.

Here in the stepwise tutorial on how to you can use excel to get month from date, week or day number from date in excel. All the tutorial provided are compatible with 2016/2019 versions.

How to use excel to get month from date

We can get month name from date using the text function. Before we get into the tutorial, you should know about formats in which you can display month.

  1. m – represents month name in one digit (9 and 12)

  2. mm – represents month name in two digit (09 and 12)

  3. mmm – represents month name in short form (sep and dec)

  4. mmmm - represents month name in full (September and december)

You can follow this stepwise tutorial in excel to get month from date.

  1. Write the date from which you want to get month in a column

  1. Select the cell where you want to display month

  2. Write the formula: =TEXT(A2,mmmm), where A2 is the cell containing date and mmmm is the format of your choice.

  1. Press enter and this should display the monthfrom date.

How to get week number from date in excel

  1. Write the date from which you want to get week number in a column.

  1. Select the cell where you want to display week number.

3. Write the formula: =WEEKNUM(A2), where A2 is the cell containing date.

  1. Press enter and this should display the week number from the date.

Note that the week number corresponds to the week of the year and not the week of the month.

How to get day number from date

  1. Write the date from which you want to get day number in a column.

2. Select the cell where you want to display day number.

  1. Write the formula: =A2-DATE(YEAR(A2),1,0), where A2 is the cell containing date.

  1. Press enter and this should display the day number from the date.

Note that the day number corresponds to the day of the year and not the month. But if you want to get the day number of the month, simply use the formula: =DAY(A2) instead of the one mentioned above and this will give you the day number of the month.

Did you learn about how to use excel to get month, day number, week number from date? You can follow WPS Academy to learn more features of Word Document, Excel Spreadsheets and PowerPoint Slides.

Also, WPS office can be used across various platforms such as windows, mac, iPhone etc. WPS office works without internet as well so you don’t need to be online for using excel spreadsheet.

You can also download WPS Office to edit the word documents, excel, PowerPoint for free of cost. Download now! And get an easy and enjoyable working experience.