+ Reply to Thread
Results 1 to 6 of 6

Do Not count iserror cells

Hybrid View

  1. #1
    GoBucks
    Guest

    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. #2
    Rajula
    Guest

    RE: 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. #3
    Bob Phillips
    Guest

    Re: 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" <[email protected](DoNotSpam)> wrote in message
    news:[email protected]...
    > 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. #4
    GoBucks
    Guest

    Re: 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" <[email protected](DoNotSpam)> wrote in message
    > news:[email protected]...
    > > 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. #5
    GoBucks
    Guest

    Re: 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" <[email protected](DoNotSpam)> wrote in message
    > news:[email protected]...
    > > 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

    >
    >
    >


  6. #6
    Registered User
    Join Date
    08-25-2016
    Location
    New York
    MS-Off Ver
    2016
    Posts
    1

    Re: Do Not count iserror cells

    There is better solution to this where you can use SUMPRODUCT to avoid using Ctrl+Shift+Enter.

    =SUMPRODUCT(--NOT(ISERR(A1:A20)))

    You can see it in Formula Explorer at https://www.sheetzoom.com/xlstools/0jssy4

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1