+ Reply to Thread
Results 1 to 4 of 4

Only COUNTBLANK('s) if another column is not blank...

  1. #1
    Registered User
    Join Date
    01-19-2012
    Location
    N.Ireland
    MS-Off Ver
    Excel 2010
    Posts
    7

    Only COUNTBLANK('s) if another column is not blank...

    Hope the title makes sense, I need to pick up blank cells where the same row in another column is not blank.

    For example the table below should result in 1 - as there is only 1 row that matches the criteria of have col 1 being not blank and col 2 being blank.

    SA1
    SA2 2
    1

    I was thinking a sumproduct might help but to no avail...
    Please Login or Register  to view this content.
    Also tried to no avail...
    Please Login or Register  to view this content.
    Last edited by stephen_; 06-21-2012 at 07:09 AM. Reason: add another formula

  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: Only COUNTBLANK('s) if another column is not blank...

    Hi and welcome to the forum

    One way is this.

    =SUMPRODUCT((A7:A56<>"")*(B7:B56=""))
    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
    Registered User
    Join Date
    01-19-2012
    Location
    N.Ireland
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Only COUNTBLANK('s) if another column is not blank...

    Fotis - many thanks for the help and welcome! (I've added to your reputation).

    Glad to see I was'nt a million miles off with the SUMPRODUCT, just making it too complicated!

    PS Is there any need to add {}? (always get confused with these)...

  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: Only COUNTBLANK('s) if another column is not blank...

    You are welcome.

    Thank you for your intention to add in my reputation(I don't see your name in my list), but this is not the important thing. Important is that you find your solution.

    Yes you had the correct logic.

    No you don't need {} in SUMPRODUCT. In fact IS an Array formula, but does not need {}.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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