Here's the problem:
1 a column of NON-contiguous rows (sort/hide the rest).
2 Autosum and subtotal(109 or 9, work as expected.
2 Average doesn't work and neither does subtotal(101 or 1,...
The problem is that an average is the sum divided by the count.
But the count may NOT be augmented by any row/cell that contains a
zero !
For example: I have a column of 20 numbers whose total = 1,000
If all cells contained a positive value, the average would equal 50.
If 10 of the cells contain a ZERO ("0") then the average is now 100:
1,000 / 10 = 100.
Unfortunately, excel's functions (average or subtotal(109,...) still produce a result of 50 !
How do I get excel to produce the correct average of 100 for 20 cells whose sum of their contents = 1,000 but 10 of the cells have a zero value?
This is a productivity issue wherein cells that contain a zero means the employee was absent for any number of legit reasons. Thus the "average" I'm seeking is the average quantity of work performed on the days the employee was actually working.
BTW: the cells are in NON-contiguous rows.
1 a column of NON-contiguous rows (sort/hide the rest).
2 Autosum and subtotal(109 or 9, work as expected.
2 Average doesn't work and neither does subtotal(101 or 1,...
The problem is that an average is the sum divided by the count.
But the count may NOT be augmented by any row/cell that contains a
zero !
For example: I have a column of 20 numbers whose total = 1,000
If all cells contained a positive value, the average would equal 50.
If 10 of the cells contain a ZERO ("0") then the average is now 100:
1,000 / 10 = 100.
Unfortunately, excel's functions (average or subtotal(109,...) still produce a result of 50 !
How do I get excel to produce the correct average of 100 for 20 cells whose sum of their contents = 1,000 but 10 of the cells have a zero value?
This is a productivity issue wherein cells that contain a zero means the employee was absent for any number of legit reasons. Thus the "average" I'm seeking is the average quantity of work performed on the days the employee was actually working.
BTW: the cells are in NON-contiguous rows.