---
title: "Count with a wildcard in Google Sheets | PracticeExcel"
description: "In D1, count the products in A2:A8 with the word Chair anywhere in the name. * stands for any text, so the criterion is \"*Chair*\"."
canonical_url: "https://practiceexcelonline.com/sheets/practice/countif/countif-wildcard-contains"
locale: en
meta:
  "og:description": "In D1, count the products in A2:A8 with the word Chair anywhere in the name. * stands for any text, so the criterion is \"*Chair*\"."
  "og:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_Count%2Bwith%2Ba%2Bwildcard%2Bin%2BGoogle%2BSheets%2Cdescription_~SW4gRDEsIGNvdW50IHRoZSBwcm9kdWN0cyBpbiBBMjpBOCB3aXRoIHRoZSB3b3JkIENoYWlyIGFueXdoZXJlIGluIHRoZSBuYW1lLiAqIHN0YW5kcyBmb3IgYW55IHRleHQsIHNvIHRoZSBjcml0ZXJpb24gaXMgIipDaGFpcioiLg%2Ceyebrow_COUNTIF%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkMiLCJEIl0sInJvd3MiOlt7Im4iOjEsImNlbGxzIjpbIlByb2R1Y3QiLCJDaGFpcnMiLCIiXX0seyJuIjoyLCJjZWxscyI6WyJPZmZpY2UgQ2hhaXIgUHJvIiwiIiwiIl19LHsibiI6MywiY2VsbHMiOlsiRGVzayBMYW1wIiwiIiwiIl19LHsibiI6NCwiY2VsbHMiOlsiS2lkcyBDaGFpciIsIiIsIiJdfSx7Im4iOjUsImNlbGxzIjpbIlN0YW5kaW5nIERlc2siLCIiLCIiXX0seyJuIjo2LCJjZWxscyI6WyJDaGFpciBDdXNoaW9uIiwiIiwiIl19XSwidGFyZ2V0IjpbMCwyXX19%2Cp_Ii9zaGVldHMvcHJhY3RpY2UvY291bnRpZi9jb3VudGlmLXdpbGRjYXJkLWNvbnRhaW5zIg%2Cs_41C_Of40I8PTXKbp.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Count with a wildcard in Google Sheets | PracticeExcel"
  "twitter:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_Count%2Bwith%2Ba%2Bwildcard%2Bin%2BGoogle%2BSheets%2Cdescription_~SW4gRDEsIGNvdW50IHRoZSBwcm9kdWN0cyBpbiBBMjpBOCB3aXRoIHRoZSB3b3JkIENoYWlyIGFueXdoZXJlIGluIHRoZSBuYW1lLiAqIHN0YW5kcyBmb3IgYW55IHRleHQsIHNvIHRoZSBjcml0ZXJpb24gaXMgIipDaGFpcioiLg%2Ceyebrow_COUNTIF%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkMiLCJEIl0sInJvd3MiOlt7Im4iOjEsImNlbGxzIjpbIlByb2R1Y3QiLCJDaGFpcnMiLCIiXX0seyJuIjoyLCJjZWxscyI6WyJPZmZpY2UgQ2hhaXIgUHJvIiwiIiwiIl19LHsibiI6MywiY2VsbHMiOlsiRGVzayBMYW1wIiwiIiwiIl19LHsibiI6NCwiY2VsbHMiOlsiS2lkcyBDaGFpciIsIiIsIiJdfSx7Im4iOjUsImNlbGxzIjpbIlN0YW5kaW5nIERlc2siLCIiLCIiXX0seyJuIjo2LCJjZWxscyI6WyJDaGFpciBDdXNoaW9uIiwiIiwiIl19XSwidGFyZ2V0IjpbMCwyXX19%2Cp_Ii9zaGVldHMvcHJhY3RpY2UvY291bnRpZi9jb3VudGlmLXdpbGRjYXJkLWNvbnRhaW5zIg%2Cs_41C_Of40I8PTXKbp.png"
---

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

# **Count with a wildcard**

**Premium**

In D1, count the products in A2:A8 with the word Chair anywhere in the name. \* stands for any text, so the criterion is "\*Chair\*".

D1fx

|  | A | B | C | D | E | F |
| --- | --- | --- | --- | --- | --- | --- |
| 1 | Product |  | Chairs |  |  | |
| 2 | Office Chair Pro |  |  |  |  | |
| 3 | Desk Lamp |  |  |  |  | |
| 4 | Kids Chair |  |  |  |  | |
| 5 | Standing Desk |  |  |  |  | |
| 6 | Chair Cushion |  |  |  |  | |
| 7 | Monitor Arm |  |  |  |  | |
| 8 | Gaming Chair |  |  |  |  | |
| 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-wildcard-contains)

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-wildcard-contains#webpage","@type":"WebPage","description":"In D1, count the products in A2:A8 with the word Chair anywhere in the name. * stands for any text, so the criterion is \"*Chair*\".","name":"Count with a wildcard in Google Sheets","url":"https://practiceexcelonline.com/sheets/practice/countif/countif-wildcard-contains","breadcrumb":{"@id":"https://practiceexcelonline.com/sheets/practice/countif/countif-wildcard-contains#breadcrumb"},"isPartOf":{"@id":"https://practiceexcelonline.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://practiceexcelonline.com/sheets/practice/countif/countif-wildcard-contains"]}],"primaryImageOfPage":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/sheets/practice/countif/countif-wildcard-contains#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 with a wildcard in Google Sheets","position":4}]},{"@id":"https://practiceexcelonline.com/sheets/practice/countif/countif-wildcard-contains#/schema/learning-resource/1","@type":"LearningResource","description":"In D1, count the products in A2:A8 with the word Chair anywhere in the name. * stands for any text, so the criterion is \"*Chair*\".","educationalLevel":"intermediate","isAccessibleForFree":false,"learningResourceType":"exercise","name":"Count with a wildcard","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.
