Excel 2003 need help with averages

Badlizz

New Member
Joined
Jun 2, 2014
Messages
5
Been struggling trying to come up with an average calculation that allows me to only sample the last 10 days, on a continuous basis.

I would like to add new data to my spreadsheet everyday and not have to re-write the average formula to only sample the last 10 days(or 7 days)

below is a sample of my data, in a1 I have =today() command and in a3 I have a formula that reduces date by 10 days.

any help would be appreciated. I have tried averageif averageifs - guess I just don't understand what I am doing wrong.
excelquestion_zpsbccb0da3.jpg


* edit: also if anyone can help me with my trending formula in the first row, it seems to only trend from high to low.
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
trying to adapt the numbers so that I can have it at the head of each column, now it creates a circular reference, and just tweaking the range from A:A to A6:A1000 isn't working, any thoughts ? the formula that he gives is
=AVERAGE(INDEX(A:A,MATCH(9.99999999999999E+307,A:A)-4):INDEX(A:A,MATCH(9.99999999999999E+307,A:A)))

<colgroup><col width="66"></colgroup><tbody>
</tbody>
 
Upvote 0
Could you do

=AVERAGEIF(A6:A100,">="&TODAY()-9,B6:B100)


I did -9 because the last 10 days includes today..right? Just change to 10 if you like.
 
Upvote 0
Change the range to something like B5:B1000 (if your data will go past row 1000 just increase it).
Excel Workbook
ABC
1
2Average426.9
3
4
5Ember
622-May400
723-May450
824-May375
925-May375
1026-May400
1127-May350
1228-May749
1329-May425
1430-May390
1531-May375
161-Jun380
17
Sheet
 
Upvote 0
I should have looked closer at your formula. You need to change cell reference to B:B for Ember, C:C for Ease, etc.
 
Upvote 0
thank you for your replies, since I am only doing the average of the last 10 days it doesn't matter if the array includes the formula, I was just being dumb when I made my formula, got it fixed now, thank you again :)
 
Upvote 0

Forum statistics

Threads
1,216,308
Messages
6,129,993
Members
449,550
Latest member
LML2892

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