---
title: "Leave zeros out of an average | PracticeExcel"
description: "Practice AVERAGEIF in a live spreadsheet: average a column and leave the zeros out."
canonical_url: "https://practiceexcelonline.com/practice/averageif/average-without-zeros"
locale: en
meta:
  "og:description": "Practice AVERAGEIF in a live spreadsheet: average a column and leave the zeros out."
  "og:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_Leave%2Bzeros%2Bout%2Bof%2Ban%2Baverage%2Cdescription_~UHJhY3RpY2UgQVZFUkFHRUlGIGluIGEgbGl2ZSBzcHJlYWRzaGVldDogYXZlcmFnZSBhIGNvbHVtbiBhbmQgbGVhdmUgdGhlIHplcm9zIG91dC4%2Ceyebrow_AVERAGEIF%2Band%2BAVERAGEIFS%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiLCJEIiwiRSJdLCJyb3dzIjpbeyJuIjoxLCJjZWxscyI6WyJEYXkiLCJTYWxlcyIsIkF2Zy4gb3BlbiBkYXkiLCIiXX0seyJuIjoyLCJjZWxscyI6WyJNb25kYXkiLCIwIiwiIiwiIl19LHsibiI6MywiY2VsbHMiOlsiVHVlc2RheSIsIjg0MCIsIiIsIiJdfSx7Im4iOjQsImNlbGxzIjpbIldlZG5lc2RheSIsIjc2MCIsIiIsIiJdfSx7Im4iOjUsImNlbGxzIjpbIlRodXJzZGF5IiwiOTEwIiwiIiwiIl19LHsibiI6NiwiY2VsbHMiOlsiRnJpZGF5IiwiMTEyMCIsIiIsIiJdfV0sInRhcmdldCI6WzAsM119fQ%2Cp_Ii9wcmFjdGljZS9hdmVyYWdlaWYvYXZlcmFnZS13aXRob3V0LXplcm9zIg%2Cs_1327Ybf7_qEHltNJ.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Leave zeros out of an average | PracticeExcel"
  "twitter:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_Leave%2Bzeros%2Bout%2Bof%2Ban%2Baverage%2Cdescription_~UHJhY3RpY2UgQVZFUkFHRUlGIGluIGEgbGl2ZSBzcHJlYWRzaGVldDogYXZlcmFnZSBhIGNvbHVtbiBhbmQgbGVhdmUgdGhlIHplcm9zIG91dC4%2Ceyebrow_AVERAGEIF%2Band%2BAVERAGEIFS%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiLCJEIiwiRSJdLCJyb3dzIjpbeyJuIjoxLCJjZWxscyI6WyJEYXkiLCJTYWxlcyIsIkF2Zy4gb3BlbiBkYXkiLCIiXX0seyJuIjoyLCJjZWxscyI6WyJNb25kYXkiLCIwIiwiIiwiIl19LHsibiI6MywiY2VsbHMiOlsiVHVlc2RheSIsIjg0MCIsIiIsIiJdfSx7Im4iOjQsImNlbGxzIjpbIldlZG5lc2RheSIsIjc2MCIsIiIsIiJdfSx7Im4iOjUsImNlbGxzIjpbIlRodXJzZGF5IiwiOTEwIiwiIiwiIl19LHsibiI6NiwiY2VsbHMiOlsiRnJpZGF5IiwiMTEyMCIsIiIsIiJdfV0sInRhcmdldCI6WzAsM119fQ%2Cp_Ii9wcmFjdGljZS9hdmVyYWdlaWYvYXZlcmFnZS13aXRob3V0LXplcm9zIg%2Cs_1327Ybf7_qEHltNJ.png"
---

> Index of every page on this site: [llms.txt](https://practiceexcelonline.com/llms.txt)

# **Leave zeros out of an average**

**Premium**

The store is closed on Mondays and Sundays and records 0 sales. In E1, find the average sales of the days it was open: AVERAGEIF with the condition ">0".

E1fx

|  | A | B | C | D | E | F |
| --- | --- | --- | --- | --- | --- | --- |
| 1 | Day | Sales |  | Avg. open day |  | |
| 2 | Monday | 0 |  |  |  | |
| 3 | Tuesday | 840 |  |  |  | |
| 4 | Wednesday | 760 |  |  |  | |
| 5 | Thursday | 910 |  |  |  | |
| 6 | Friday | 1120 |  |  |  | |
| 7 | Saturday | 1370 |  |  |  | |
| 8 | Sunday | 0 |  |  |  | |
| 9 |  |  |  |  |  | |

**Premium lesson**

## **Unlock AVERAGEIF and AVERAGEIFS and every other lesson**

This is a premium lesson. Premium lets you solve it and every other lesson, take the timed mock tests, and earn certificates you can share on LinkedIn.

Next with premium:**SUMIFS****COUNTIFS**

It comes up in this mock test: [**Excel assessment (Indeed format)**](https://practiceexcelonline.com/tests/indeed-excel-assessment)

[**See plans, from $5/month**](https://practiceexcelonline.com/pricing) [**Already premium? Sign in**](https://practiceexcelonline.com/login?next=/practice/averageif/average-without-zeros)

Need help?

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://practiceexcelonline.com/#identity","@type":"Organization","name":"PracticeExcel","url":"https://practiceexcelonline.com/","logo":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/#website","@type":"WebSite","inLanguage":"en-US","name":"PracticeExcel","url":"https://practiceexcelonline.com/","alternateName":["Practice Excel Online","PracticeExcelOnline.com"],"publisher":{"@id":"https://practiceexcelonline.com/#identity"},"workTranslation":{"@id":"https://excelopgaver.dk/#website"}},{"@id":"https://practiceexcelonline.com/practice/averageif/average-without-zeros#webpage","description":"Practice AVERAGEIF in a live spreadsheet: average a column and leave the zeros out.","name":"Leave zeros out of an average","url":"https://practiceexcelonline.com/practice/averageif/average-without-zeros","@type":["WebPage","FAQPage"],"breadcrumb":{"@id":"https://practiceexcelonline.com/practice/averageif/average-without-zeros#breadcrumb"},"isPartOf":{"@id":"https://practiceexcelonline.com/#website"},"mainEntity":[{"@id":"https://practiceexcelonline.com/practice/averageif/average-without-zeros#/schema/question/1"}],"potentialAction":[{"@type":"ReadAction","target":["https://practiceexcelonline.com/practice/averageif/average-without-zeros"]}],"primaryImageOfPage":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/practice/averageif/average-without-zeros#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://practiceexcelonline.com","position":1},{"@type":"ListItem","name":"Excel practice exercises","item":"https://practiceexcelonline.com/practice","position":2},{"@type":"ListItem","name":"AVERAGEIF and AVERAGEIFS","item":"https://practiceexcelonline.com/practice/averageif","position":3},{"@type":"ListItem","name":"Leave zeros out of an average","position":4}]},{"@id":"https://practiceexcelonline.com/practice/averageif/average-without-zeros#/schema/question/1","@type":"Question","inLanguage":"en-US","name":"How do I average without zeros in Excel?","acceptedAnswer":{"@type":"Answer","text":"=AVERAGEIF(B2:B8,\">0\") averages only the values above zero. Use \"\u003C>0\" to keep negative numbers."}},{"@id":"https://practiceexcelonline.com/practice/averageif/average-without-zeros#/schema/learning-resource/1","@type":"LearningResource","description":"Practice AVERAGEIF in a live spreadsheet: average a column and leave the zeros out.","educationalLevel":"beginner","isAccessibleForFree":false,"learningResourceType":"exercise","name":"Leave zeros out of an average","teaches":"AVERAGEIF and AVERAGEIFS"},{"@id":"https://practiceexcelonline.com/#logo","@type":"ImageObject","caption":"PracticeExcel","contentUrl":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png","inLanguage":"en-US","url":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png"}]}
```

## Sitemap

See the full [sitemap](https://practiceexcelonline.com/sitemap.md) for all pages.
