+ Reply to Thread
Results 1 to 3 of 3

Not counting cells with a formula

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    07-29-2009
    Location
    Melbourne, Australia
    MS-Off Ver
    365
    Posts
    255

    Not counting cells with a formula

    If I have a formula in column B along the lines of =if(A1>5," ",A1) it will populate corresponding cells only if the value is 5 or less otherwise make it blank.

    If I want to count the cells in column B that are not blank =count() fails me because it counts the cell as populated b/c of the formula. Is there a workaround?

    Kind regards, MQ
    Last edited by pickslides; 01-29-2013 at 10:36 PM.
    Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind.

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,366

    Re: Not counting cells with a formula

    maybe
    =countif(B1:b10,">0")
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Not counting cells with a formula

    Based on your formula only numbers greater than 5 and spaces will be returned.

    So, the COUNT function should work. It will only count numeric values.

    Or, maybe that's the problem. The numbers you see may not be numeric numbers, they may be TEXT numbers.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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