The tilde isn't the only sign you need to understand to truly get your head around Excel's inner workings. For example, the ...
In most counting scenarios in Excel, COUNTBLANK reliably counts blank cells, and COUNTA reliably counts populated cells.