Forum Discussion
JKPieterse
Silver Contributor
Check out the AVERAGEIFS function. Suppose your min and max dates are in F1 and F2:
=AVERAGEIFS($B$2:$B$100,$A$2:$A$100,"<="&$F$1,$A$2:$A$100,">="&$F$2)
=AVERAGEIFS($B$2:$B$100,$A$2:$A$100,"<="&$F$1,$A$2:$A$100,">="&$F$2)
Kurt Turley
Feb 16, 2018Copper Contributor
Thank you. I just had to switch the lesser than/equal and greater than/equal symbols and it worked.