Average In Excel Including Blank Cells

This post demonstrates how to calculate average of numbers in excel taking blank cells also into considerations.

For example, if we have 2 cells, one is empty and the other is 100, we want the average to be 50, rather than having a normal average of 100 as Normal average in excel does not consider blank values.

Below is an example showing both the normal average and average that takes blanks also into consideration.

The normal average in cell C2 is simple average formula with range A2:A7 i.e. 234+3432+324+4=3994 and divided by 4 which is 998.5 as correctly shown in the C2.




Now we will see here how to calculate the average of values taking blanks into consideration as shown in cell C4.

Enter the formula =SUMPRODUCT(AVERAGE(0+A2:A7)) in cell C4.

This formula forces the blank values to be converted to 0 before taking the average and hence we get the desired result 234+3432+324+4=3994 and divided by 6(4 values+2 blanks) which is 665.66 as correctly shown in the C4.




Hope this helped.

 

Share The Knowledge

Random Posts

  • RGB And HSL In Excel

    We could use customized color pellet in excel based on our RGB and HSL values. Some companies work with only […]

    Share The Knowledge
  • Divide A Number Into N Random Numbers In Excel

    split a number into N random numbers excel, divide a number into multiple random numbers in excel, divide a number into random numbers whose sum is equal to the number, random number sum should be same in excel

    Share The Knowledge
  • Find Occurrence Of Values In A Row In Excel

    In this post we will see how to find the occurrence of an item in a row. We require these […]

    Share The Knowledge
  • Delete/Remove Pivot Table In Excel

    Let’s see how to delete a pivot table in an excel sheet. Sometimes we want to delete the existing pivot […]

    Share The Knowledge

Leave a Reply