# Question: Sum product weekly averages?

#### collegeitdept

##### Board Regular
Can someone please help me modify this sum product average formula (currently for months) - to calculate weekly averages?

=SUM(IF(FREQUENCY(IF((ROUNDUP(MONTH(\$A\$2:\$A\$100)/3,0)=MID(AG\$4,2,1)+0)*(YEAR(\$A\$2:\$A\$100)=VALUE(RIGHT(AG\$4,4)))*(\$C\$2:\$C\$100=AG\$5),MONTH(\$A\$2:\$A\$100)),{1,2,3,4,5,6,7,8,9 ,10,11,12}),1))

Weekly data file:

https://dl.dropboxusercontent.com/u/...20average.xlsx

Thanks!

### Excel Facts

Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

#### collegeitdept

##### Board Regular

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

### Forum statistics

1,168,173
Messages
5,857,777
Members
431,897
Latest member
IntelligentCan1517

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