---
title: "Count everything except one value in Google Sheets"
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://excelsavvy.com/sheets/practice/countif/countif-not-equal"
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://excelsavvy.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"
  "twitter:image": "https://excelsavvy.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://excelsavvy.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**

**Your first month for $9.50 **~~$19~~

50% off your first month when you join today.

[**Get your first month for $9.50**](https://excelsavvy.com/signup?next=/pricing?plan=monthly%26go=1%26offer=FIRSTMONTH)

Then $19/month. Cancel any time, and get a full refund within 14 days if it isn't for you.

[**See all plans, from $5/month**](https://excelsavvy.com/pricing)

[**Already premium? Sign in**](https://excelsavvy.com/login?next=/sheets/practice/countif/countif-not-equal)

Need help?

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://excelsavvy.com/#identity","@type":"Organization","name":"ExcelSavvy","url":"https://excelsavvy.com/","logo":{"@id":"https://excelsavvy.com/#logo"}},{"@id":"https://excelsavvy.com/#website","@type":"WebSite","inLanguage":"en-US","name":"ExcelSavvy","url":"https://excelsavvy.com/","alternateName":["Excel Savvy","ExcelSavvy.com","PracticeExcel","Practice Excel Online"],"publisher":{"@id":"https://excelsavvy.com/#identity"},"workTranslation":[{"@id":"https://excelopgaver.dk/#website"},{"@id":"https://excelpraxis.de/#website"}]},{"@id":"https://excelsavvy.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://excelsavvy.com/sheets/practice/countif/countif-not-equal","breadcrumb":{"@id":"https://excelsavvy.com/sheets/practice/countif/countif-not-equal#breadcrumb"},"isPartOf":{"@id":"https://excelsavvy.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://excelsavvy.com/sheets/practice/countif/countif-not-equal"]}],"primaryImageOfPage":{"@id":"https://excelsavvy.com/#logo"}},{"@id":"https://excelsavvy.com/sheets/practice/countif/countif-not-equal#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://excelsavvy.com","position":1},{"@type":"ListItem","name":"Google Sheets practice exercises","item":"https://excelsavvy.com/sheets","position":2},{"@type":"ListItem","name":"COUNTIF","item":"https://excelsavvy.com/sheets/practice/countif","position":3},{"@type":"ListItem","name":"Count everything except one value in Google Sheets","position":4}]},{"@id":"https://excelsavvy.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://excelsavvy.com/#logo","@type":"ImageObject","caption":"ExcelSavvy","contentUrl":"https://excelsavvy.com/brand/practiceexcel/icon-512.png?v=3","inLanguage":"en-US","url":"https://excelsavvy.com/brand/practiceexcel/icon-512.png?v=3"}]}
```

## Sitemap

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