Do Not count iserror cells

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way to do a countif, or counta function and not have the formula
include the cells that return an error when they are blank. If the cell
returns an error it shows #NA, and is not considered blank when i do a counta
function.
 
=SUM(IF(NOT(ISERROR(A1:A10)),IF(A1:A10<>"",1,0)))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 
Bob, that did work after all! thanks.
--
Jeff


Bob Phillips said:
=SUM(IF(NOT(ISERROR(A1:A10)),IF(A1:A10<>"",1,0)))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 
Back
Top