---
title: "COUNT, COUNTA and COUNTBLANK practice: 3 exercises with answers"
description: "Practice COUNT, COUNTA and COUNTBLANK in Excel: count numbers, filled-in cells and empty ones in a live spreadsheet that checks each formula."
canonical_url: "https://excelsavvy.com/practice/count"
meta:
  "og:description": "Practice COUNT, COUNTA and COUNTBLANK in Excel: count numbers, filled-in cells and empty ones in a live spreadsheet that checks each formula."
  "og:image": "https://excelsavvy.com/_og/d/c_Page%2Ctitle_~Q09VTlQsIENPVU5UQSBhbmQgQ09VTlRCTEFOSyBwcmFjdGljZTogMyBleGVyY2lzZXMgd2l0aCBhbnN3ZXJz%2Cdescription_~UHJhY3RpY2UgQ09VTlQsIENPVU5UQSBhbmQgQ09VTlRCTEFOSyBpbiBFeGNlbDogY291bnQgbnVtYmVycywgZmlsbGVkLWluIGNlbGxzIGFuZCBlbXB0eSBvbmVzIGluIGEgbGl2ZSBzcHJlYWRzaGVldCB0aGF0IGNoZWNrcyBlYWNoIGZvcm11bGEu%2Ceyebrow_Excel%2Bpractice%2Bexercises%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiXSwicm93cyI6W3sibiI6MSwiY2VsbHMiOlsiT3JkZXIiLCJVbml0cyJdfSx7Im4iOjIsImNlbGxzIjpbIkEtMTAxIiwiNCJdfSx7Im4iOjMsImNlbGxzIjpbIkEtMTAyIiwibi9hIl19LHsibiI6NCwiY2VsbHMiOlsiQS0xMDMiLCI3Il19LHsibiI6NSwiY2VsbHMiOlsiQS0xMDQiLCIyIl19LHsibiI6OCwiY2VsbHMiOlsiIiwiIl19XSwidGFyZ2V0IjpbNSwxXX19%2Cp_Ii9wcmFjdGljZS9jb3VudCI%2Cs_SBkn5T-lcfRPRH31.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "COUNT, COUNTA and COUNTBLANK practice: 3 exercises with answers"
  "twitter:image": "https://excelsavvy.com/_og/d/c_Page%2Ctitle_~Q09VTlQsIENPVU5UQSBhbmQgQ09VTlRCTEFOSyBwcmFjdGljZTogMyBleGVyY2lzZXMgd2l0aCBhbnN3ZXJz%2Cdescription_~UHJhY3RpY2UgQ09VTlQsIENPVU5UQSBhbmQgQ09VTlRCTEFOSyBpbiBFeGNlbDogY291bnQgbnVtYmVycywgZmlsbGVkLWluIGNlbGxzIGFuZCBlbXB0eSBvbmVzIGluIGEgbGl2ZSBzcHJlYWRzaGVldCB0aGF0IGNoZWNrcyBlYWNoIGZvcm11bGEu%2Ceyebrow_Excel%2Bpractice%2Bexercises%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiXSwicm93cyI6W3sibiI6MSwiY2VsbHMiOlsiT3JkZXIiLCJVbml0cyJdfSx7Im4iOjIsImNlbGxzIjpbIkEtMTAxIiwiNCJdfSx7Im4iOjMsImNlbGxzIjpbIkEtMTAyIiwibi9hIl19LHsibiI6NCwiY2VsbHMiOlsiQS0xMDMiLCI3Il19LHsibiI6NSwiY2VsbHMiOlsiQS0xMDQiLCIyIl19LHsibiI6OCwiY2VsbHMiOlsiIiwiIl19XSwidGFyZ2V0IjpbNSwxXX19%2Cp_Ii9wcmFjdGljZS9jb3VudCI%2Cs_SBkn5T-lcfRPRH31.png"
---

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

# **COUNT, COUNTA and COUNTBLANK practice exercises**

Count cells: COUNT counts numbers, COUNTA counts anything that is not empty, and COUNTBLANK counts the gaps.

[**Start the first exercise**](https://excelsavvy.com/practice/count/count-numbers)

COUNT(COUNTA(COUNTBLANK(

## **How COUNT, COUNTA and COUNTBLANK work**

Excel has three basic counting functions, and each one counts something different. COUNT counts the cells that hold a number (dates and times count as numbers too). COUNTA counts every cell that is not empty, whatever is in it. COUNTBLANK counts the empty ones. All three take a range.

Say B2:B7 holds a list of orders where some rows have a note instead of a number. `**=COUNT(B2:B7)**` tells you how many have a number of units. `**=COUNTA(B2:B7)**` counts every row that has anything in it, notes included. `**=COUNTBLANK(B2:B7)**` counts the rows with nothing at all.

The most common mix-up is using COUNT on text. It ignores names, emails and notes, so it returns 0 for a column of text. Use COUNTA there. Numbers stored as text trip people up too, because COUNT skips them while COUNTA counts them. To count only the cells that meet a condition, you need COUNTIF instead. The exercises below cover counting numbers, filled-in cells and empty cells.

1. [**1****Count numbers with COUNT**Some orders have a note instead of a number. In B8, use COUNT to count how many orders in B2:B7 have a number of units.](https://excelsavvy.com/practice/count/count-numbers)
2. [**2****Count filled-in cells with COUNTA**In E2, use COUNTA to count how many people in B2:B7 have given an email address.](https://excelsavvy.com/practice/count/counta-non-empty-cells)
3. [**3****Count empty cells with COUNTBLANK**In E2, use COUNTBLANK to count how many phone numbers are missing in B2:B7.](https://excelsavvy.com/practice/count/countblank-empty-cells)

## **Functions in this topic**

- [**COUNT**](https://excelsavvy.com/functions/count)
- [**COUNTA**](https://excelsavvy.com/functions/counta)
- [**COUNTBLANK**](https://excelsavvy.com/functions/countblank)

## **Read the guide**

- [**How to clean data in Excel with formulas**](https://excelsavvy.com/learn/clean-data-in-excel)

## **Questions**

<details>

<summary>

### How do I count cells with a condition in Excel?

</summary>

Use COUNTIF for one condition: =COUNTIF(B2:B10,"North") counts the cells in B2:B10 that say North. Numbers work with operators, like =COUNTIF(B2:B10,"&gt;100"). For two or more conditions at once, use COUNTIFS, which takes a range and a criterion for each condition.

</details>

<details>

<summary>

### Why does COUNT return 0 when I can see numbers?

</summary>

The numbers are most likely stored as text, and COUNT only counts real numbers. They sit on the left side of the cell and often show a green triangle. Convert them to numbers, or use COUNTA if all you need is the number of filled-in cells.

</details>

<details>

<summary>

### Why does COUNTA count cells that look empty?

</summary>

A cell with a formula that returns "" or a single space is not empty, so COUNTA counts it. To count only cells that show something, use =SUMPRODUCT(--(LEN(B2:B10)&gt;0)). It counts the cells whose content has at least one character. A lone space still counts, so clean those out first.

</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/practice/count#webpage","description":"Practice COUNT, COUNTA and COUNTBLANK in Excel: count numbers, filled-in cells and empty ones in a live spreadsheet that checks each formula.","name":"COUNT, COUNTA and COUNTBLANK practice: 3 exercises with answers","url":"https://excelsavvy.com/practice/count","@type":["WebPage","CollectionPage","FAQPage"],"breadcrumb":{"@id":"https://excelsavvy.com/practice/count#breadcrumb"},"isPartOf":{"@id":"https://excelsavvy.com/#website"},"mainEntity":[{"@id":"https://excelsavvy.com/practice/count#/schema/question/1"},{"@id":"https://excelsavvy.com/practice/count#/schema/question/2"},{"@id":"https://excelsavvy.com/practice/count#/schema/question/3"}],"potentialAction":[{"@type":"ReadAction","target":["https://excelsavvy.com/practice/count"]}],"primaryImageOfPage":{"@id":"https://excelsavvy.com/#logo"}},{"@id":"https://excelsavvy.com/practice/count#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://excelsavvy.com","position":1},{"@type":"ListItem","name":"Excel practice exercises","item":"https://excelsavvy.com/practice","position":2},{"@type":"ListItem","name":"COUNT, COUNTA and COUNTBLANK practice: 3 exercises with answers","position":3}]},{"@id":"https://excelsavvy.com/practice/count#/schema/question/1","@type":"Question","inLanguage":"en-US","name":"How do I count cells with a condition in Excel?","acceptedAnswer":{"@type":"Answer","text":"Use COUNTIF for one condition: =COUNTIF(B2:B10,\"North\") counts the cells in B2:B10 that say North. Numbers work with operators, like =COUNTIF(B2:B10,\">100\"). For two or more conditions at once, use COUNTIFS, which takes a range and a criterion for each condition."}},{"@id":"https://excelsavvy.com/practice/count#/schema/question/2","@type":"Question","inLanguage":"en-US","name":"Why does COUNT return 0 when I can see numbers?","acceptedAnswer":{"@type":"Answer","text":"The numbers are most likely stored as text, and COUNT only counts real numbers. They sit on the left side of the cell and often show a green triangle. Convert them to numbers, or use COUNTA if all you need is the number of filled-in cells."}},{"@id":"https://excelsavvy.com/practice/count#/schema/question/3","@type":"Question","inLanguage":"en-US","name":"Why does COUNTA count cells that look empty?","acceptedAnswer":{"@type":"Answer","text":"A cell with a formula that returns \"\" or a single space is not empty, so COUNTA counts it. To count only cells that show something, use =SUMPRODUCT(--(LEN(B2:B10)>0)). It counts the cells whose content has at least one character. A lone space still counts, so clean those out first."}},{"@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.
