Week number and year in the same cell, convert into month text

Glenn2290

New Member
Joined
Dec 21, 2020
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hello,

I'm new here, so sorry if this question is already asked. I tried to look it up in the forum but couldn't find it.

In cell A1, I have my week numbers and year, shown like this: "01 2020". I would like to add a column (B1) named "months" and work with a formula so in that cel will come "January".
My question is, which formula do I need to use ;)

Thx
Glenn
 

Some videos you may like

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.

Glenn2290

New Member
Joined
Dec 21, 2020
Messages
2
Office Version
  1. 365
Platform
  1. Windows
The formula that I use now is: =TEXT(DATE(RIGHT(A1;1);1;1)-WEEKDAY(DATE(RIGHT(A1;1);1;1);2)+1+7*(LEFT(A1;2)-1);"mmmm")
But the result is not exactly accurate. Week 36 for example is a split week. Monday is still July and from Tuesday it is August. Is there a solution for split weeks?
 

afonsomira

Board Regular
Joined
Aug 11, 2020
Messages
62
Office Version
  1. 365
Platform
  1. Windows
Hello try this formula in B2 if the week and Year start on A2
Formula: =CHOOSE(MONTH(DATE(RIGHT(A2,4),1,LEFT(A2,2)*7-2)-WEEKDAY(DATE(LEFT(A2,2),1,3))),"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December")
 
Solution

Watch MrExcel Video

Forum statistics

Threads
1,127,941
Messages
5,627,738
Members
416,271
Latest member
Bolweavil

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top