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.
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
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
 
Upvote 0

Forum statistics

Threads
1,214,867
Messages
6,122,002
Members
449,059
Latest member
mtsheetz

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