Before submitting a form or row, confirm nothing’s missing. Compare how many required cells are filled to how many there are — a one-cell “complete?” check.
The example
A row checked for completeness.
| A | B | |
|---|---|---|
| 1 | Row | Complete? |
| 2 | all filled | TRUE |
| 3 | one blank | FALSE |
The formula
Count filled vs total:
How it works
Completeness is a count comparison:
COUNTA(range)counts the filled cells in the required range.COLUMNS(range)(or COUNT of cells) is the total required.- When they’re equal, nothing is blank — the row is complete.
- Equivalent:
=COUNTBLANK(B2:F2) = 0— zero blanks means done.
Drive a submit gate: wrap it in IF for a status — =IF(COUNTBLANK(required)=0, "Ready", "Missing fields") — and conditionally format incomplete rows so gaps are obvious before anyone submits.
Try it: interactive demo
Fields (one per line; blanks count as missing).
Variations
No blanks test
Equivalent:
Status label
Readable:
How many missing
Count gaps:
Pitfalls & errors
Spaces count as filled. A cell with only a space passes COUNTA — validate with TRIM if that matters.
Formula blanks. A cell returning "" counts as filled to COUNTA but may be “empty” to you.
Pick the right range. Include only the required cells, not optional ones.
Practice workbook
Frequently asked questions
How do I check that all required cells are filled in Excel?
How do I show a 'Missing fields' status?
Why does a row with a space show as complete?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class