I need to get the average of every 5th cell in column "C", so I'm using This Formula:
{=AVERAGE(IF((MOD(ROW(C$2:C$100)-1,5)=0)*(C$2:C$100),C$2:C$100))}
It seems to work exactly how I want it, unless a cell contains a value of 0. If the cell contains a value of 0, the formula doesn't count that cell in the average. How can I modify this formula to count all cells that have a value, even if that value is 0?
In testing this, I did just a normal average formula:
=Average(C6,C11,C16,...)
And I got the correct answer.
Thanks for any help.
{=AVERAGE(IF((MOD(ROW(C$2:C$100)-1,5)=0)*(C$2:C$100),C$2:C$100))}
It seems to work exactly how I want it, unless a cell contains a value of 0. If the cell contains a value of 0, the formula doesn't count that cell in the average. How can I modify this formula to count all cells that have a value, even if that value is 0?
In testing this, I did just a normal average formula:
=Average(C6,C11,C16,...)
And I got the correct answer.
Thanks for any help.