+ Reply to Thread
Results 1 to 7 of 7

Is there a function that counts the number of non-blank cells in a range?

Hybrid View

  1. #1
    Registered User
    Join Date
    07-04-2012
    Location
    Portland, Oregon
    MS-Off Ver
    Excel 2003
    Posts
    6

    Is there a function that counts the number of non-blank cells in a range?

    Is there a function that counts the number of non-blank cells in a range?
    Last edited by Cutter; 07-22-2012 at 11:13 AM. Reason: Corrected title

  2. #2
    Valued Forum Contributor tlafferty's Avatar
    Join Date
    04-08-2011
    Location
    United States, Tacoma, WA
    MS-Off Ver
    Excel 2010, Excel 2013 Customer Preview
    Posts
    1,112

    Re: Is there a function that counts the number of non-black cells in a range?

    Look into count for numbers or counta for text.
    If your question has been satisfactorily addressed, please consider marking it solved. Click the Thread Tools dropdown and select Mark thread as solved.
    Also, you might want to add to the user's reputation by clicking the star icon in the lower left corner of the post with the answer- it's why we do what we do...

    Thomas Lafferty
    Analyst/Programmer

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Is there a function that counts the number of non-black cells in a range?

    black cells? or blank cells?
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Registered User
    Join Date
    07-04-2012
    Location
    Portland, Oregon
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Is there a function that counts the number of non-black cells in a range?

    Sorry, meant tos ay "non-blank" cells.

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Is there a function that counts the number of non-black cells in a range?

    depends on the blank,if it is really blank then counta,if not and the blank is the result of a formula then use sumproduct
    see results of col a attached
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    07-04-2012
    Location
    Portland, Oregon
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Is there a function that counts the number of non-blank cells in a range?

    I used countblank and then worked backwords (subtracting the result of countblank from the number of valid colums, and then adding that to the current address to calculate the next) to calculate hex addresses. Had I known of counta, I would've used it instead, since I could just add the result of counta to the current address to calculate the next.

    Does countblank work in Excel, as well as Gnumeric (is it cross-platform)? How about counta?

    Do they both work with ranges (A1:A10) in Excel?

    I think I have everything I need to use spreadsheets to generate an IPS patch. If I can find out more about disc images and the PPF format, then I can generate PPF patches too.
    Attached Files Attached Files

  7. #7
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Is there a function that counts the number of non-blank cells in a range?

    Gnumeric ? well i do know of it .best you google count/counta gnumeric

    http://bit.ly/NO2aKY
    Last edited by martindwilson; 07-23-2012 at 04:37 AM.

+ 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