In this article, we will learn about how to get the Average of numbers ignoring zero in Excel.
In simple words, Average of numbers is the ratio sum of the numbers to the total number of values in the data.
Average = Sum of values(numbers) / number of values(numbers)
AVERAGEIF function returns the average of the numbers which satisfies the condition.
Range : numbers or values
“<>0” : condition that the value equals to zero (0) will be ignored.
Let’s understand this function using it in an example.
First of all we need Average of the numbers including zeroes.
This formula will accept values except zero.
Use the formula:
A2:A21 : range
“<>0” : condition for ignoring zero values.
As you can see the difference in the values. The Average of the numbers ignoring zero is 43.4.
For Blank cells
One more thing that is to understand is the AVERAGE, AVERAGEIF & AVERAGEIFS function ignores blank cells (and cells that contain text values). So there is no need to filter results.
Hope you understood how to get the Average of numbers ignoring zero in Excel. Explore more articles on Excel mathematical functions here. Please feel free to state your query or feedback for the above article.
Here As you can see B1 has the Formula indicating A1 cell and Text in A1 is D1. So the function returns the value in the D1 cell which is 500.
You can use it in many forms as shown here
Here & operator is used for joining the text to get a full address of the cell. So A1 has D and 1 is added to D, get D1 cell ref.
You can directly refer to any cell.
Here D1 is directly supplied to get the return from D1 address.
You can use it with other functions to get the sum of the range given by cell reference.
Here Range is provided to Sum functions referring A2:A5 cell.
Hope you understood how to use Indirect function and referring cell in Excel. Explore more articles on Excel function here. Please feel free to state your query or feedback for the above article.
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.