FormulaCraft

How to count cells with specific text in Excel and Google Sheets

Excel & Google Sheets
=COUNTIF(A2:A5, "Paid")

Verified example

Computed by a real spreadsheet engine on the sample data below.

Status
Paid
Unpaid
Paid
Pending

=COUNTIF(A2:A5, "Paid")2

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1A2:A5 is the range to scan.
  2. 2"Paid" is the text to match.
  3. 3COUNTIF returns how many cells equal Paid (here, 2).

Tips

Need it for your exact data?

Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.

Frequently asked

How do I count cells that contain text rather than exactly match it?

Use wildcards: =COUNTIF(A2:A100,"*paid*") counts any cell containing 'paid'.

Formulas used

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: