# organizing yearly week number by months

#### gcmanke2

##### New Member
Hello-
I'm looking to create a summary table that organizes my running data by weeks and months. In a separate log, I record my daily running miles, pace, etc. The summary table I wish to create is organized as illustrated below - 5 (potential) weeks and 12 months.

I'm looking for an equation that calculates the week number (1 - 52) based on the month and week number (in a month). For months that don't have 5 weeks, it should return a blank.

My plan is to use this equation to execute a sumif() function in each cell below that uses the yearly week number as a criteria to select the days to sum. Hopefully that makes sense.

For 2017, the summary table showing how the yearly week numbers are allocated by month looks like this:

 week Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec 1 1 5 9 14 18 23 27 31 36 40 44 49 2 2 6 10 15 19 24 28 32 37 41 45 50 3 3 7 11 16 20 25 29 33 38 42 46 51 4 4 8 12 17 21 26 30 34 39 43 47 52 5 13 22 35 48

<tbody>
</tbody>

For subsequent years, the months with 5 weeks will vary.

### Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

thank you.

Replies
7
Views
766
Replies
3
Views
546
Replies
5
Views
152
Replies
2
Views
104
Replies
3
Views
561

1,127,734
Messages
5,626,576
Members
416,192
Latest member
steinach

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

### Which adblocker are you using?

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

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