Need Formula

ruthm8611

New Member
Joined
Apr 20, 2007
Messages
49
I have a spreadsheet as follows:

Column A
Submission Date

Column B
Rating

I want to avg the rating numbers by week. Can anyone provide a formula that will list the daily dates by week and average the rating given?

Info to help.

DATE RATING
4/1/13 2
4/6/13 1
4/12/13 5
4/23/13 4

I need the formula to calculate the average of rating by week.

Thank you in advance for any assistance.
 

Some videos you may like

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

jamtay317

Well-known Member
Joined
Mar 6, 2013
Messages
769
DateRateing4/1/20134/8/20134/15/20134/22/20134/29/2013
4/8/201353341
4/24/20135
4/2/20135
4/10/20131
4/25/20134
4/22/20132
4/12/20131
4/30/20131
4/8/20134
4/7/20131
4/6/20135
4/6/20132
4/6/20131
4/7/20132

<tbody>
</tbody>

Code:
=IFERROR(ROUND(SUMPRODUCT(--($A$2:$A$15>=C1)*((C1+6)>=$A$2:$A$15)*($B$2:$B$15))/SUMPRODUCT(--($A$2:$A$15>=C1)*((C1+6)>=$A$2:$A$15)),0),"")

try this
 

Watch MrExcel Video

Forum statistics

Threads
1,122,567
Messages
5,596,908
Members
414,110
Latest member
docops

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