Hello all, i currently have this formula that averages the values from S50:AL999 if the finds CN21 in the range P50:P999.
i need this formula to take all the values that are not 0, there will be a max of 23 (cell reference CR21) values to average that are not 0, i need it to average all the values and add 0s until the total number isn't 23, if it goes over 23 values not 1s they need to averaged too.
is this possible?
=AVERAGE(FILTER($S$50:$AL$999,$P$50:$P$999=$CN21))
i need this formula to take all the values that are not 0, there will be a max of 23 (cell reference CR21) values to average that are not 0, i need it to average all the values and add 0s until the total number isn't 23, if it goes over 23 values not 1s they need to averaged too.
is this possible?
=AVERAGE(FILTER($S$50:$AL$999,$P$50:$P$999=$CN21))