Using Counting #N/A

A

anandasim

Hi All,

I would like to count a range of cells, some with the typical #N/A cell
error condition. ISNA() requires a parameter within the brackets. How
do I use ISNA or similar within COUNTIF()?

Thanks
Ananda
 
J

Jerry W. Lewis

=SUMPRODUCT(--ISNA(range))

will count the number of cells in range that have the #N/A value.

Jerry
 
A

anandasim

Hi Jerry,
That was an interesting use of SUMPRODUCT. How on earth does it work?
ISNA(range) would return FALSE, then how does the -- work?
Intrigued
Ananda
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top