Count Empty Cells In Excel

BY STANLEY ZAROWIN

Q. I’m puzzled. I use the COUNT function to determine how many cells in a worksheet contain numbers and the COUNTA function to tally the empty cells. But when I compare the two results to double-check my answer, it never comes out right. It’s like there are phantom cells. Is this an Excel bug?

A. I’m afraid you’ve missed some subtleties of Excel’s COUNT function. You’re obviously unaware that Excel is counting cells with zero values as empty. You can change the program’s default, though, so it doesn’t do that. Here’s how: Go to Tools , Options , View and uncheck Zero values on the bottom of the Options screen (see screenshot below).

RESOURCES

Keeping you informed and prepared amid the coronavirus outbreak

We’re gathering the latest news stories along with relevant columns, tips, podcasts, and videos on this page, along with curated items from our archives to help with uncertainty and disruption.

VIDEO

Excel walk-through: Sparklines

Want to liven up your spreadsheets with some color and graphical elements? Kelly L. Williams, CPA, Ph.D., shows how to use Excel sparklines, which illustrate data trends and patterns via small charts that fit in a single Excel cell.