I have this table of currency rates:

I would like to create a formula that receives the begin date and end date + currency, and in return will calculate the average for every month inside the range.
For example, if the currency is GBP, begin date is 15/09/2015 and end date is 20/11/2015, I would like to calculate averages for 30/09/2015 + 31/10/2015 + 30/11/2015.
I tried to solve it with a simple Average + Vlookup + Match functions, but it wouldn't get me the range of cells but only the edges of the range. I also thought of using AverageIF function, but I'm not sure how to combine between the criterias of date and currency.
Can you think of an easy way to solve that?
