Hi.
I'm trying to find monthly geomean of the year 2008-2018 and dates are different. I found monthly arithmetic mean of returns by averageifs function by month, year criteria. however couldnt find geomean this way and any other way in these forum..It just calculates the mean of whole range and ignores the criterias, I guess. I have very large file so i wanted a function with less manual operations and click down entire area.
Is there any way to find geomean with year and month criteria?![]()
=IF(AND($A$2:$A$1254=YEAR(C2);$B$2:$B$1254=MONTH(C2));0;GEOMEAN($J$2:$J$1254)-1)
=GEOMEAN(IF(AND($A$2:$A$1254=YEAR(C2);$B$2:$B$1254=MONTH(C2));($J$2:$J$1254)-1) ctrl+shift+enter
'and' function doesnt work with range frormulas i guess. Then how to add multiple criteria? IFS didnt work or i missed something.
Bookmarks