Skip to main content

How to get month from week number and year in Excel?

If you have two columns in Excel, one contains year numbers, the other contains week numbers, just shown as below, how can you get the months directly from them in the next column?

doc-get-month-from-week-number-1 doc-arrow doc-get-month-from-week-number-2

Get month from week number and year in Excel


arrow blue right bubble Get month from week number and year in Excel

In Excel, there are both formulas can get month from given week number and year.

Click the cell that you want to get month and type this formula =CHOOSE(MONTH(DATE(A2,1,B2*7-2)-WEEKDAY(DATE(B2,1,3))),"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December") into it, then press Enter key to get the result, and then drag auto fill to fill the cells needed this formula. Now, you will get the month.

doc-get-month-from-week-number-2

If you just need to get the month as Arabic number, you can use this formula =MONTH(DATE(A2,1,B2*7-2)-WEEKDAY(DATE(B2,1,3))).

doc-get-month-from-week-number-3

Tip: In the above formulas, A2 indicates the year cell, B2 is the week number cell.


Relative Articles:

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions…
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

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...

Description


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!
Comments (10)
Rated 5 out of 5 · 1 ratings
This comment was minimized by the moderator on the site
Hi,

What formula is there to covert weekly (begining of the week) sales data by Sku # in to monthly data by Sku #
This comment was minimized by the moderator on the site
=MONTH(DATE(A2,1,B2*7-2)-WEEKDAY(DATE(A2,1,3))) - small correction - it would be A2 instead of B2 for the 2nd Date function
This comment was minimized by the moderator on the site
=MONTH(DATE(A2,1,B2*7-2)-WEEKDAY(DATE(A2,1,3))) - small correction, it would be A2 and not B2
This comment was minimized by the moderator on the site
1st use:Start Date of the week Monday =MAX(DATE(A2,1,1),DATE(A2,1,1)-WEEKDAY(DATE(A2,1,1),2)+(B2-1)*7+1)
Start Date of the week Sunday =MAX(DATE(A2,1,1),DATE(A2,1,1)-WEEKDAY(DATE(A2,1,1),2)+(B2-1)*7)
2nd use in new column:
Month
=TEXT(C2,"mmm")
This comment was minimized by the moderator on the site
Hi,

Does anyone know how to get WW-YYYY?


Thanks
This comment was minimized by the moderator on the site
=Concatenate(TEXT(DateCell,"YYYY"),"-",TEXT(ISOWEEKNUM(Datecell,"00")))

flop the text for the orientation desired
Rated 5 out of 5
This comment was minimized by the moderator on the site
Hello Wrong result

" =MONTH(DATE(A2,1,B2*7-2)-WEEKDAY(DATE(B2,1,3)))." ????????????????

a2 = 2018 b2=1 month = 12 ??????????
This comment was minimized by the moderator on the site
=MONTH(DATE(A2,1,B2*7-2)-WEEKDAY(DATE(A2,1,3)))
This comment was minimized by the moderator on the site
Works Great!

=MES(FECHA(B3,1,C3*7-2)-DIASEM((FECHA(C3,1,3))))

B3=2015
C3=1
MES=12
This comment was minimized by the moderator on the site
very useful. Thanks!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
Rate this post:
0   Characters
Suggested Locations