Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in


How to average for cells with values only (exclude 0 or blank cells) in Excel?

Average function is quite useful for our daily works in Excel. This article will talk about how to calculate the average for cells with values only (excluding blank cells) in Excel easily.

Average with Ignoring/excluding blank cells with formula

Average for cells with values only (exclude blank cells) with Kutools for Excel (only 1 step)

Sum/Count/Average visible cells only in a specified range with ignoring hidden or filtered cells/rows/columns

The normally SUM/Count/Average function will count all cells in the specified range on matter cells are hidden/filtered or not. While the Subtotal function can only sum/count/average with ignoring hidden rows. However, Kutools for Excel SUMVISIBLE/COUNTVISIBLE/AVERAGEVISIBLE functions will easily calculate the specified range with ignoring any hidden cells, rows, or columns. Full Feature Free Trial 60-day!

ad sum count average visible cells only

The Average function will ignore the truly blank cells automatically. However, if you have disabled the option of Show a zero in cells that have zero value in Excel Options dialog box (clicking File > Options > Advanced > Display options for this worksheet), some blank cells may have zero values in Excel. In this case, the Average function will not exclude these blank cells with zero values. See below screen shot:


Actually we can exclude the cells with zeros to solve this problem. For example, you want to average the Range A1:D13 with ignoring/excluding blank cells and zeros, you can apply the formula =AVERAGEIF(A1:D13,"<>0") as below screenshot shown:

Microsoft Excel can automatically average selected cells and show calculated results in the Status bar. If we can select only nonblank cells in a range, we can get the average of this range excluding blank cells. Kutools for Excel's Select Nonblank Cells utility can help you get it done at once.

Kutools for Excel - Combines more than 300 Advanced Functions and Tools for Microsoft Excel

Select the range where you want to average excluding blank cells, and click the Kutools > Select > Select Un blank Cells.

doc average ignore blank zero 01

Now only cells with values are selected in the specified range, and you will get the average excluding blank cells in the Status bar as below screenshot shown:

Kutools for Excel - Includes more than 300 handy Excel tools. Full feature free trial 60-day, no credit card required! Get it now!

In this Video, the Kutools tab and the Kutools Plus tab are added by Kutools for Excel. If need it, please click here to have a 60-day free trial without limitation!

Recommended Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 71%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 82% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.