COUNTIF Generator

Count the rows that meet a condition, with the quotes and operators done for you.

Pick the range to test, a condition (equals, greater than, not equal…) and the value, and get a COUNTIFS formula with the criteria written correctly: text quoted, comparisons like ">100" in quotes, and cell references joined with &. COUNTIFS also works with one condition and lets you add more later.

Price
Free
Your data
Never sent
Runs
In your browser

or drag it here

· up to 50 MB · processed locally, never uploaded

Files stay on your device

What it does well

  • Comparisons written as ">100" or ">="&G1 automatically
  • Text criteria quoted and inner quotes escaped
  • Wildcards * and ? work in text criteria
  • Comma or semicolon separators

How to use COUNTIF Generator

  1. 1

    Enter the range to test, such as C2:C500.

  2. 2

    Choose the comparison and type the value, a word, a number or a cell such as G1.

  3. 3

    Press Generate and copy the formula.

Common problems and fixes

The count is 0 for a number condition.

The numbers are stored as text. A comparison like ">100" never matches text. Convert the column with the Number Formatter or Data Cleaner.

Frequently asked questions

More formulas tools

Describe what you need in plain English and get a working formula, or paste an existing one to see it explained and audited step by step.

Browse Formulas