---
title: "Count everything except one value in Google Sheets | PracticeExcel"
description: "In E1, count the tickets in B2:B8 whose status is anything but Closed. \"Not equal to\" is <>, so the criterion is \"<>Closed\"."
canonical_url: "https://practiceexcelonline.com/sheets/practice/countif/countif-not-equal"
locale: en
meta:
  "og:description": "In E1, count the tickets in B2:B8 whose status is anything but Closed. \"Not equal to\" is <>, so the criterion is \"<>Closed\"."
  "og:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_Count%2Beverything%2Bexcept%2Bone%2Bvalue%2Bin%2BGoogle%2BSheets%2Cdescription_~SW4gRTEsIGNvdW50IHRoZSB0aWNrZXRzIGluIEIyOkI4IHdob3NlIHN0YXR1cyBpcyBhbnl0aGluZyBidXQgQ2xvc2VkLiAiTm90IGVxdWFsIHRvIiBpcyA8Piwgc28gdGhlIGNyaXRlcmlvbiBpcyAiPD5DbG9zZWQiLg%2Ceyebrow_COUNTIF%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiLCJEIiwiRSJdLCJyb3dzIjpbeyJuIjoxLCJjZWxscyI6WyJUaWNrZXQiLCJTdGF0dXMiLCJOb3QgY2xvc2VkIiwiIl19LHsibiI6MiwiY2VsbHMiOlsiVC0xMDEiLCJPcGVuIiwiIiwiIl19LHsibiI6MywiY2VsbHMiOlsiVC0xMDIiLCJDbG9zZWQiLCIiLCIiXX0seyJuIjo0LCJjZWxscyI6WyJULTEwMyIsIldhaXRpbmciLCIiLCIiXX0seyJuIjo1LCJjZWxscyI6WyJULTEwNCIsIkNsb3NlZCIsIiIsIiJdfSx7Im4iOjYsImNlbGxzIjpbIlQtMTA1IiwiT3BlbiIsIiIsIiJdfV0sInRhcmdldCI6WzAsM119fQ%2Cp_Ii9zaGVldHMvcHJhY3RpY2UvY291bnRpZi9jb3VudGlmLW5vdC1lcXVhbCI%2Cs_-HK7yFgLY33z8A8-.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Count everything except one value in Google Sheets | PracticeExcel"
  "twitter:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_Count%2Beverything%2Bexcept%2Bone%2Bvalue%2Bin%2BGoogle%2BSheets%2Cdescription_~SW4gRTEsIGNvdW50IHRoZSB0aWNrZXRzIGluIEIyOkI4IHdob3NlIHN0YXR1cyBpcyBhbnl0aGluZyBidXQgQ2xvc2VkLiAiTm90IGVxdWFsIHRvIiBpcyA8Piwgc28gdGhlIGNyaXRlcmlvbiBpcyAiPD5DbG9zZWQiLg%2Ceyebrow_COUNTIF%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiLCJEIiwiRSJdLCJyb3dzIjpbeyJuIjoxLCJjZWxscyI6WyJUaWNrZXQiLCJTdGF0dXMiLCJOb3QgY2xvc2VkIiwiIl19LHsibiI6MiwiY2VsbHMiOlsiVC0xMDEiLCJPcGVuIiwiIiwiIl19LHsibiI6MywiY2VsbHMiOlsiVC0xMDIiLCJDbG9zZWQiLCIiLCIiXX0seyJuIjo0LCJjZWxscyI6WyJULTEwMyIsIldhaXRpbmciLCIiLCIiXX0seyJuIjo1LCJjZWxscyI6WyJULTEwNCIsIkNsb3NlZCIsIiIsIiJdfSx7Im4iOjYsImNlbGxzIjpbIlQtMTA1IiwiT3BlbiIsIiIsIiJdfV0sInRhcmdldCI6WzAsM119fQ%2Cp_Ii9zaGVldHMvcHJhY3RpY2UvY291bnRpZi9jb3VudGlmLW5vdC1lcXVhbCI%2Cs_-HK7yFgLY33z8A8-.png"
---

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

# **Count everything except one value**

**Premium**

In E1, count the tickets in B2:B8 whose status is anything but Closed. "Not equal to" is <>, so the criterion is "<>Closed".

E1fx

|  | A | B | C | D | E | F |
| --- | --- | --- | --- | --- | --- | --- |
| 1 | Ticket | Status |  | Not closed |  | |
| 2 | T-101 | Open |  |  |  | |
| 3 | T-102 | Closed |  |  |  | |
| 4 | T-103 | Waiting |  |  |  | |
| 5 | T-104 | Closed |  |  |  | |
| 6 | T-105 | Open |  |  |  | |
| 7 | T-106 | Closed |  |  |  | |
| 8 | T-107 | In progress |  |  |  | |
| 9 |  |  |  |  |  | |

**Premium lesson**

## **Unlock COUNTIF 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:**SUMIF****SUMIFS**

[**See plans, from $5/month**](https://practiceexcelonline.com/pricing) [**Already premium? Sign in**](https://practiceexcelonline.com/login?next=/sheets/practice/countif/countif-not-equal)

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/sheets/practice/countif/countif-not-equal#webpage","@type":"WebPage","description":"In E1, count the tickets in B2:B8 whose status is anything but Closed. \"Not equal to\" is \u003C>, so the criterion is \"\u003C>Closed\".","name":"Count everything except one value in Google Sheets","url":"https://practiceexcelonline.com/sheets/practice/countif/countif-not-equal","breadcrumb":{"@id":"https://practiceexcelonline.com/sheets/practice/countif/countif-not-equal#breadcrumb"},"isPartOf":{"@id":"https://practiceexcelonline.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://practiceexcelonline.com/sheets/practice/countif/countif-not-equal"]}],"primaryImageOfPage":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/sheets/practice/countif/countif-not-equal#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://practiceexcelonline.com","position":1},{"@type":"ListItem","name":"Google Sheets practice exercises","item":"https://practiceexcelonline.com/sheets","position":2},{"@type":"ListItem","name":"COUNTIF","item":"https://practiceexcelonline.com/sheets/practice/countif","position":3},{"@type":"ListItem","name":"Count everything except one value in Google Sheets","position":4}]},{"@id":"https://practiceexcelonline.com/sheets/practice/countif/countif-not-equal#/schema/learning-resource/1","@type":"LearningResource","description":"In E1, count the tickets in B2:B8 whose status is anything but Closed. \"Not equal to\" is \u003C>, so the criterion is \"\u003C>Closed\".","educationalLevel":"beginner","isAccessibleForFree":false,"learningResourceType":"exercise","name":"Count everything except one value","teaches":"COUNTIF"},{"@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.
