---
title: "COUNTIFS in Google Sheets: practice exercises | ExcelSavvy"
description: "Practice COUNTIFS in Google Sheets: count the rows that meet several conditions, in exercises that are checked as you type."
canonical_url: "https://excelsavvy.com/sheets/practice/countifs"
meta:
  "og:description": "Practice COUNTIFS in Google Sheets: count the rows that meet several conditions, in exercises that are checked as you type."
  "og:image": "https://excelsavvy.com/_og/d/c_Page%2Ctitle_~Q09VTlRJRlMgaW4gR29vZ2xlIFNoZWV0czogcHJhY3RpY2UgZXhlcmNpc2Vz%2Cdescription_~UHJhY3RpY2UgQ09VTlRJRlMgaW4gR29vZ2xlIFNoZWV0czogY291bnQgdGhlIHJvd3MgdGhhdCBtZWV0IHNldmVyYWwgY29uZGl0aW9ucywgaW4gZXhlcmNpc2VzIHRoYXQgYXJlIGNoZWNrZWQgYXMgeW91IHR5cGUu%2Ceyebrow_Google%2BSheets%2Bpractice%2Bexercises%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiLCJDIiwiRSJdLCJyb3dzIjpbeyJuIjoxLCJjZWxscyI6WyJSZWdpb24iLCJQcm9kdWN0IiwiU2FsZXMiLCJOb3J0aCBvdmVyIDQwMCJdfSx7Im4iOjIsImNlbGxzIjpbIk5vcnRoIiwiU2hvZXMiLCI1MDAiLCIiXX0seyJuIjozLCJjZWxscyI6WyJTb3V0aCIsIlNob2VzIiwiMzAwIiwiIl19LHsibiI6NCwiY2VsbHMiOlsiTm9ydGgiLCJCYWdzIiwiMjUwIiwiIl19LHsibiI6NSwiY2VsbHMiOlsiTm9ydGgiLCJTaG9lcyIsIjQyMCIsIiJdfSx7Im4iOjYsImNlbGxzIjpbIlNvdXRoIiwiQmFncyIsIjE4MCIsIiJdfV0sInRhcmdldCI6WzEsM119fQ%2Cp_Ii9zaGVldHMvcHJhY3RpY2UvY291bnRpZnMi%2Cs_--Eci_ZwHrOdNYhA.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "COUNTIFS in Google Sheets: practice exercises | ExcelSavvy"
  "twitter:image": "https://excelsavvy.com/_og/d/c_Page%2Ctitle_~Q09VTlRJRlMgaW4gR29vZ2xlIFNoZWV0czogcHJhY3RpY2UgZXhlcmNpc2Vz%2Cdescription_~UHJhY3RpY2UgQ09VTlRJRlMgaW4gR29vZ2xlIFNoZWV0czogY291bnQgdGhlIHJvd3MgdGhhdCBtZWV0IHNldmVyYWwgY29uZGl0aW9ucywgaW4gZXhlcmNpc2VzIHRoYXQgYXJlIGNoZWNrZWQgYXMgeW91IHR5cGUu%2Ceyebrow_Google%2BSheets%2Bpractice%2Bexercises%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiLCJDIiwiRSJdLCJyb3dzIjpbeyJuIjoxLCJjZWxscyI6WyJSZWdpb24iLCJQcm9kdWN0IiwiU2FsZXMiLCJOb3J0aCBvdmVyIDQwMCJdfSx7Im4iOjIsImNlbGxzIjpbIk5vcnRoIiwiU2hvZXMiLCI1MDAiLCIiXX0seyJuIjozLCJjZWxscyI6WyJTb3V0aCIsIlNob2VzIiwiMzAwIiwiIl19LHsibiI6NCwiY2VsbHMiOlsiTm9ydGgiLCJCYWdzIiwiMjUwIiwiIl19LHsibiI6NSwiY2VsbHMiOlsiTm9ydGgiLCJTaG9lcyIsIjQyMCIsIiJdfSx7Im4iOjYsImNlbGxzIjpbIlNvdXRoIiwiQmFncyIsIjE4MCIsIiJdfV0sInRhcmdldCI6WzEsM119fQ%2Cp_Ii9zaGVldHMvcHJhY3RpY2UvY291bnRpZnMi%2Cs_--Eci_ZwHrOdNYhA.png"
---

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

# **COUNTIFS practice in Google Sheets**

COUNTIFS counts the rows where every condition holds. It takes pairs of range and criterion, in Google Sheets as in Excel, and every range must be the same size.

[**Start the first exercise**](https://excelsavvy.com/sheets/practice/countifs/countifs-two-conditions)

COUNTIFS(

## **How COUNTIFS works**

COUNTIFS counts the rows where every one of your conditions is met. It takes pairs of arguments: a range to test and a criterion, repeated for each condition. It works the same in Excel and Google Sheets.

`**=COUNTIFS(A2:A9,"North",C2:C9,">400")**` counts the North orders with sales over 400. To count numbers between two limits, use the same range twice: `**=COUNTIFS(B2:B8,">=18",B2:B8,"<=30")**` counts the people aged 18 to 30, both ages included. Put a limit in a cell by joining it to the operator, as in `**">="&F2**`.

Unlike SUMIFS there is no sum range, so the result is always a count of rows. All the ranges must be the same size. For a single condition COUNTIF is shorter. The exercises below cover two conditions, counting between two numbers, counting orders between two dates, and conditions taken from cells.

1. [**1****COUNTIFS with two conditions**In E2, use COUNTIFS to count the North orders with Sales over 400.](https://excelsavvy.com/sheets/practice/countifs/countifs-two-conditions)
2. [**2****Count between two numbers with COUNTIFS****Premium**In E2, use COUNTIFS to count the people in B2:B8 aged 18 to 30, both ages included. Use the same range twice, once for each limit.](https://excelsavvy.com/sheets/practice/countifs/countifs-between-two-numbers)
3. [**3****Count the orders between two dates****Premium**In F3, count the orders dated from F1 to F2, both days included. Use the date column twice in COUNTIFS and join each operator to its cell: ">="&F1 and "<="&F2.](https://excelsavvy.com/sheets/practice/countifs/countifs-between-two-dates)
4. [**4****COUNTIFS with the conditions in cells****Premium**In F3, count the reps from the region in F1 with sales of at least the amount in F2. Point at both cells: F1 as it is, and F2 joined to ">=".](https://excelsavvy.com/sheets/practice/countifs/countifs-criteria-from-cells)

## **Functions in this topic**

- [**COUNTIFS**](https://excelsavvy.com/sheets/functions/countifs)

## **Questions**

<details>

<summary>

### Can COUNTIFS count between two numbers in Google Sheets?

</summary>

Yes. Use the same range twice with two criteria, such as =COUNTIFS(B2:B10,"&gt;=10",B2:B10,"&lt;=20"), exactly as in Excel.

</details>

<details>

<summary>

### Can COUNTIFS use data from another sheet in Google Sheets?

</summary>

Yes, as long as the data is in the same spreadsheet. Put the sheet name and ! in front of the range, as in =COUNTIFS(Orders!A2:A100,"North"). If the name has spaces, put it in single quotes. All the ranges must still be the same size, even when they come from the same sheet.

</details>

```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/countifs#webpage","description":"Practice COUNTIFS in Google Sheets: count the rows that meet several conditions, in exercises that are checked as you type.","name":"COUNTIFS in Google Sheets: practice exercises","url":"https://excelsavvy.com/sheets/practice/countifs","@type":["WebPage","CollectionPage","FAQPage"],"breadcrumb":{"@id":"https://excelsavvy.com/sheets/practice/countifs#breadcrumb"},"isPartOf":{"@id":"https://excelsavvy.com/#website"},"mainEntity":[{"@id":"https://excelsavvy.com/sheets/practice/countifs#/schema/question/1"},{"@id":"https://excelsavvy.com/sheets/practice/countifs#/schema/question/2"}],"potentialAction":[{"@type":"ReadAction","target":["https://excelsavvy.com/sheets/practice/countifs"]}],"primaryImageOfPage":{"@id":"https://excelsavvy.com/#logo"}},{"@id":"https://excelsavvy.com/sheets/practice/countifs#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":"COUNTIFS in Google Sheets: practice exercises","position":3}]},{"@id":"https://excelsavvy.com/sheets/practice/countifs#/schema/question/1","@type":"Question","inLanguage":"en-US","name":"Can COUNTIFS count between two numbers in Google Sheets?","acceptedAnswer":{"@type":"Answer","text":"Yes. Use the same range twice with two criteria, such as =COUNTIFS(B2:B10,\">=10\",B2:B10,\"\u003C=20\"), exactly as in Excel."}},{"@id":"https://excelsavvy.com/sheets/practice/countifs#/schema/question/2","@type":"Question","inLanguage":"en-US","name":"Can COUNTIFS use data from another sheet in Google Sheets?","acceptedAnswer":{"@type":"Answer","text":"Yes, as long as the data is in the same spreadsheet. Put the sheet name and ! in front of the range, as in =COUNTIFS(Orders!A2:A100,\"North\"). If the name has spaces, put it in single quotes. All the ranges must still be the same size, even when they come from the same sheet."}},{"@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.
