How to count blank cells as zero when using AVERAGE in Excel?
When I average a range of data which includes some blank cells, it will auto calculate the data ignoring empty cells by using =AVERAGE(range). But in some cases, you may want to count the blank cells as zero when average the range of data as below screenshot shown, how can you solve it in Excel?
To count the blank cells as zero when averaging a range of data, you can do as below:
Select a blank cell that will place the result, type this formula =AVERAGE(0+A1:A10), then press Shift + Ctrl + Enter key to get to correct result. See screenshot:
1. Using =SUM(A1:A10)/10 and pressing the Enter key also can help you to count blanks as zeros when averaging.
2. In above formulas, A1:A10 is the range you want to calculate the average.
Best Office Productivity Tools
Supercharge Your Spreadsheets： Experience Efficiency Like Never Before with Kutools for Excel
Kutools for Excel boasts over 300 features, ensuring that what you need is just a click away...
Supports Office/Excel 2007-2021 & newer, including 365 | Available in 44 languages | Enjoy a full-featured 30-day free trial.
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!