What's the simplest or preferred Excel formula to count ALL cells in a range, whether blank or not?
Let's say I have a column of cells, some blank and some non-blank. I want a formula displaying "x/y", where x = # of non-blank cells and y= total # of cells.
I found that this will work, but I was wondering if I really need to sum two functions to get "y"?
=COUNTA($L$9:$L13) & "/" & COUNTA($L$9:$L13) + COUNTBLANK($L$9:$L13)
displays 4/5
(for my data where 4 of the 5 cells are non-blank)
Use AutoSum by selecting a range of cells that contains at least one numeric value. Then on the Formulas tab, click AutoSum > Count Numbers.
Instead of COUNTA($L$9:$L13) + COUNTBLANK($L$9:$L13)
, you can use:
=ROWS($L$9:$L13)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With