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?
Select Nonblank Cells（quickly select non-blank cells from a selection or whole sheet.）
- Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
- More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
- Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
- Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
- Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
- Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
- More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.
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.
You are guest
or post as a guest, but your post won't be published automatically.
- To post as a guest, your comment is unpublished.· 1 years agoThanks so much. It is a relevant and simple solution to our issue. I believe a similar process may be used for Standard deviation. Though I have to check it