Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 53
Default 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

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default 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



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default 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




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default 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




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Subtotals by count PineRest Excel Discussion (Misc queries) 1 May 10th 06 05:09 PM
Count consecutive dates only [email protected] Excel Discussion (Misc queries) 0 May 4th 06 03:58 PM
Count Position of Filtered TEXT cells in a column Sam via OfficeKB.com Excel Worksheet Functions 8 May 18th 05 04:23 AM
Count Position of Filtered TEXT cells in a column Sam via OfficeKB.com Excel Worksheet Functions 0 May 15th 05 08:14 PM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM


All times are GMT +1. The time now is 09:11 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"