Tell whether every cell in a range meets a condition.
Copy this formula
=IF(COUNTIF(B2:B10, "Yes")=COUNTA(B2:B10), "All", "Not all")Compare the count of matching cells to the count of filled cells — if they're equal, every cell matches. It's a quick all-pass / all-complete check for checklists and approvals.
=IF(COUNTIF(Tasks, "Done")=ROWS(Tasks), "Complete", "Pending")→PendingAll tasks done?
With AND over conditions
=AND(B2:B10>0)TRUE only if every cell is positive (array).
COUNTA adapts if some rows are blank, so the check stays correct as the list changes.
Need a formula for your own data?
Describe what you want in plain language and let ExcelGPT write, explain, and verify the formula — free to start, no plugin.