I am working on a spreadsheet where I need to determine the average of 12 cells.
=AVERAGE(E19:E30)
The contents of these 12 cells (worksheet A) are pulled from another worksheet (B), and if worksheet B does not have data in each of the 12 cells, the blank cells display a zero in the corresponding cell of worksheet A.
This poses a problem for the formula above as it averages 12 data points regardless of how many data points are entered into worksheet B. If there are only 6 data points, I need the average of the 6 data points, not 6 data points plus 6 zeros.
Anyone have ideas on how to resolve this?
=AVERAGE(E19:E30)
The contents of these 12 cells (worksheet A) are pulled from another worksheet (B), and if worksheet B does not have data in each of the 12 cells, the blank cells display a zero in the corresponding cell of worksheet A.
This poses a problem for the formula above as it averages 12 data points regardless of how many data points are entered into worksheet B. If there are only 6 data points, I need the average of the 6 data points, not 6 data points plus 6 zeros.
Anyone have ideas on how to resolve this?