Select data range between two dates (From Dropdown) then average

Elfiraon

New Member
Joined
Sep 10, 2014
Messages
31


Right now I have two cells that are drop-down (light green) in which I can choose date intervals. What I would like to be able to grab a set of data under the “Value” column using the date interval then take the average. Say my most recent date is “9/4/2014” and the other date is “9/2/2014”. I want to take the average from the data set “9, 10, and 20”, and return the value in the yellow cell.
All help appreciated! Cheers!
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Welcome to the board. Try using the AVERAGEIFS function. Something like this assuming date ranges in A2 and B2 and table in A4:B8.

=AVERAGEIFS(B5:B8,A5:A8,"<="&A2,A5:A8,">="&B2)
 
Upvote 0

Forum statistics

Threads
1,214,788
Messages
6,121,603
Members
449,038
Latest member
Arbind kumar

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