Find Today's data and give 5 day avarage

aletvdw

New Member
Joined
May 3, 2013
Messages
16
I want to have a look at my <nobr style="margin-top: 0px; color: rgb(20, 20, 20); font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 20px; background-color: rgb(252, 252, 255);">date</nobr> row for and find today's date, then I want to find the data 3 rows down corresponding with today's date

I then want to have the average of the last 5 days from the data in that row.

So if today is 20 September
I want to find 20 September in the top row say row a
Then I want to have a look at the data in row d for today data and get the average of that data for 15 -20 September
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
What is the range which houses the data including the top row of dates?

Hi have just started the spreadsheet 1 September with dates in row a data in b c and d and need the 5 day average of the data in d can be returned in row e.
will be doing this per year

I will use the formula in some of my old spread sheet for past years as well. but will sort those at a later stage
 
Upvote 0
Hi have just started the spreadsheet 1 September with dates in row a data in b c and d and need the 5 day average of the data in d can be returned in row e.
will be doing this per year

I will use the formula in some of my old spread sheet for past years as well. but will sort those at a later stage

In case I'm not clear about what I asked for: J1:P10, A1:M40, are examples of ranges. So I wanted to know your current range of data.
 
Upvote 0
In case I'm not clear about what I asked for: J1:P10, A1:M40, are examples of ranges. So I wanted to know your current range of data.

hi
just changed my rows and colums around to make it easier to read
I then tried this formula and now looks as if it is working

= AVERAGEIF($A$1:$AK$1, ">=" & (TODAY()-5), $A$3:$AK$3)

thanks for being willing to help much appreciated
 
Upvote 0

Forum statistics

Threads
1,215,652
Messages
6,126,041
Members
449,281
Latest member
redwine77

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