+ Reply to Thread
Results 1 to 5 of 5

How to count cells not in a continuous array

  1. #1
    Registered User
    Join Date
    09-16-2006
    Location
    Channelview, Tx
    MS-Off Ver
    2003
    Posts
    5

    How to count cells not in a continuous array

    How would I count specific cells in a column if they have a value other than zero or blank? The cells are scattered and not in consecutive order...like c6, c9, c11... No particular pattern.

    I want to arrive at a total ( quantity) by counting just those cells that do not equal zero.
    Thanks
    Mike.

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: How to count cells not in a continuous array

    Do you mean?

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: How to count cells not in a continuous array

    COUNTA()
    will count all non empty cells.
    Is this what you need or you need count cells with TEXT only?
    or
    =COUNTIF($C$3:$C$15,"<>0")
    If you are http://www.excelforum.com/image.php?type=sigpic&userid=125481&dateline=1392355029happy with the results, please add to the contributor's
    reputation by clicking the reputation icon (star icon).




    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.
    To undo, select Thread Tools-> Mark thread as Unsolved.
    http://www.excelaris.co.uk

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: How to count cells not in a continuous array

    Or..

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    09-16-2006
    Location
    Channelview, Tx
    MS-Off Ver
    2003
    Posts
    5

    Re: How to count cells not in a continuous array

    Well, I couldn't get any of y'alls suggestions to work.
    But this does work
    =COUNTIF(B13,"<>0")+COUNTIF(B15,"<>0")+COUNTIF(B17,"<>0")

    Note: The cells have a number, typically 0,1.5 or 2. Other cells in column B have values that are not related.

    This formula sums up the count to give me a quantity needed for those parts which are identical in size. Sometimes, one or more of the cells will have 0 in them if they are not applicable to this project.

    I would like the formula to be a little more elegant (simple) but just can't figure it out.
    Your thoughts appreciated.
    Thanks
    Mike

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Non continuous array
    By mikmonto in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-02-2013, 09:34 AM
  2. [SOLVED] Count continuous series
    By Dumy in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 08-04-2013, 08:24 AM
  3. Count data entry in continuous cells
    By Karen311261 in forum Excel General
    Replies: 2
    Last Post: 05-26-2010, 07:16 AM
  4. Replies: 9
    Last Post: 02-24-2010, 07:20 AM
  5. count up the occurences of non continuous value
    By koala in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-13-2005, 06:44 AM

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