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

Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.

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

Related tasks

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

Last reviewed: