FormulaCraft

How to count cells that start with a letter in Excel and Google Sheets

Excel & Google Sheets
=COUNTIF(A2:A6,"A*")

Verified example

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

Name
Alice
Bob
Amanda
Charlie
Aaron

=COUNTIF(A2:A6,"A*")3

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. 1Select the output cell.
  2. 2Type =COUNTIF( and select your range, e.g. A2:A6.
  3. 3Enter the criterion with the prefix followed by an asterisk: "A*" counts anything starting with 'A'.
  4. 4Close the parenthesis and press Enter.
  5. 5For a dynamic prefix stored in D1, use: =COUNTIF(A2:A6,D1&"*").

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 starting with a number?

Use =COUNTIF(A2:A6,"1*") for cells starting with 1, adjusting the digit as needed.

Can I count cells that start with any vowel?

Sum multiple COUNTIF calls: =COUNTIF(A2:A6,"A*")+COUNTIF(A2:A6,"E*")+COUNTIF(A2:A6,"I*")+COUNTIF(A2:A6,"O*")+COUNTIF(A2:A6,"U*").

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: