+ Reply to Thread
Results 1 to 3 of 3

Count non-blank cells with condition

  1. #1
    Registered User
    Join Date
    08-02-2010
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    55

    Question Count non-blank cells with condition

    Hi everyone!

    Its me again. I'd like to count the cells that have criteria like this:
    1. have "[+]" symbol in Column A AND
    2. it is non-blank cell in Column C.

    For example, if user click "[+]" symbol but not enter any item in Column C, the value in D5 should not increase. (You may look at the attachment for better understanding.)

    I have tried using COUNTBLANK and COUNTA but it looks like not suitable with this case.

    Any help is highly appreciated!
    Thanks!
    Attached Files Attached Files
    Last edited by isabella; 08-11-2010 at 04:04 AM.

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,444

    Re: Count non-blank cells with condition

    Hi,

    How about something along these lines

    =SUMPRODUCT((A13:A105="[+]")*(NOT(ISBLANK(C13:C105))))
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Registered User
    Join Date
    08-02-2010
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    55

    Thumbs up Re: Count non-blank cells with condition

    Thanks sweep!

    It's really help. I appreciate it!

+ 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