Hi all,
I have an average if formula that is working well, but I'd like to add the stipulation that the year of the even must be 2012. I searched online and say a similar request answered with a suggestion of using an array.
This is what I had that worked:
=AVERAGEIF(Data!AE:AE,A23,Data!BW:BW)
Where BW is the column that has the numbers to be averaged and AE is the column that has one stipulation (must be = to A23)
The array I tried is this:
=AVERAGE(IF((YEAR(Data!BR3:BR92)=2012)*(Data!AE3:AE92=A23),Data!BW3:BW92))
The year is in BR.
Can anyone tell why this isn't working?
Thanks.
Bookmarks