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
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
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?
 
Upvote 0
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")
 
Upvote 0
Solution

Forum statistics

Threads
1,214,402
Messages
6,119,304
Members
448,886
Latest member
GBCTeacher

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
Back
Top