So I'm attempting to do a vlookup that averages all the values between two dates.
On Sheet 1 in A1 I have June 1 2012 and A4 I have June 5 2012. In another sheet I have the dates June 1-30 in cells A5-A35 with the data in cells B5-B35 corresponding with the date.
I need help creating a formula that would do a vlookup of all values between June 1 and June 5 or whatever dates I put into A1 and A4 on Sheet 1, so that it would look up the B column values in Sheet 2 of June1-5 and average them out.
I was currently doing it for one day using the formula =VLOOKUP($A$1,WEST!$A$5:$M$35,3,FALSE) but I need to do a month to date value.
Any suggestions?
Bookmarks