greykitten
Member
Hello,
A recent Chandoo post on formula forensics asked the question of how to write a formula that will average the last 3 values larger than zero.
(http://chandoo.org/wp/2013/10/03/formula-forensics-no-035-average-the-last-3-values-greater-than-0/
I followed the sample file and tried extending the array to the last 5 values with: =AVERAGEIFS($B$3:F3,$B$2:F2,LARGE(IF($B$3:F3>0,$B$2:F2),{1,2,3,4,5})) but it gave me a DIV/0! error. Anyone know why?
Also, why do the instructions say to press F2 and then F9? Nothing happened when I did that in the sample file.
A recent Chandoo post on formula forensics asked the question of how to write a formula that will average the last 3 values larger than zero.
(http://chandoo.org/wp/2013/10/03/formula-forensics-no-035-average-the-last-3-values-greater-than-0/
I followed the sample file and tried extending the array to the last 5 values with: =AVERAGEIFS($B$3:F3,$B$2:F2,LARGE(IF($B$3:F3>0,$B$2:F2),{1,2,3,4,5})) but it gave me a DIV/0! error. Anyone know why?
Also, why do the instructions say to press F2 and then F9? Nothing happened when I did that in the sample file.