Do Not count iserror cells
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. -- Jeff |
Do Not count iserror cells
Try using IF(ISNA(Counta(.....)),"",counta(......))
"GoBucks" wrote: 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. -- Jeff |
Do Not count iserror cells
=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) "GoBucks" (DoNotSpam) wrote in message ... 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. -- Jeff |
Do Not count iserror cells
tried both replies without any luck.. thanks though.
-- Jeff "Bob Phillips" wrote: =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) "GoBucks" (DoNotSpam) wrote in message ... 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. -- Jeff |
Do Not count iserror cells
Bob, that did work after all! thanks.
-- Jeff "Bob Phillips" wrote: =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) "GoBucks" (DoNotSpam) wrote in message ... 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. -- Jeff |
All times are GMT +1. The time now is 11:24 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com