Week number by month

texasalynn

Well-known Member
Joined
May 19, 2002
Messages
8,458
Is there a way to get the week number by month? I know there is the
weeknum() function but that is for the year.

I need to create a chart by week for each month, so need to first figure out how to indicate which week according to data.

Thanks . . . texasalynn
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Maybe this:

A2:A366 are 1/1/2005 through 12/31/2005
B2 =WEEKNUM(A2), with B2 filled down through B366
C2 = 1
C3 =IF(MONTH(A3)<>MONTH(A2),1,IF(B3=B2,C2,C2+1)), with C3 copied down through C366

Column C is weeknumber by month.
 
Upvote 0

Forum statistics

Threads
1,216,474
Messages
6,130,841
Members
449,598
Latest member
sunny_ksy

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