0 of 62
Basics·Lesson 12 of 62Free

How to use COUNTA in Google Sheets

Count the rows

How COUNTA works

COUNTA counts cells that aren't empty, text or numbers. COUNT only counts numbers.

COUNTA(range)
Example on this data
=COUNTA(B2:B5)→4

Counts the reps listed in rows 2 to 5.

What you’ll do

You’ll count how many orders are in the table. Counting rows tells you how much data you’re working with, and it keeps working when rows are added.

Try it

Type =COUNTA(B2:B5) into K2 and press Enter. Watch what the sheet does.

The result will appear in K2.

K2
ABCDEFGHIJK
1OrderRepRegionProductUnitsPriceOrder dateShip date
21001AnaWestDesk32401/5/20261/9/2026
31002BoEastChair8851/12/20261/20/2026
41003CyWestLamp12301/19/20261/22/2026
51004DiNorthDesk22402/2/20262/13/2026
61005AnaWestChair5852/9/20262/12/2026
71006EveSouthShelf41202/16/20262/27/2026
81007BoEastLamp20303/2/20263/4/2026
91008CyWestShelf11203/9/20263/18/2026
101009DiNorthChair6853/16/20263/19/2026
111010EveSouthDesk72403/23/20264/1/2026
Ctrl+/ shows the shortcuts

The first 18 lessons are free. Pro unlocks the other 44, including a real-world scenario for every section and five closing projects.

See Pro, $49.99 once