+ Reply to Thread
Results 1 to 4 of 4

Need syntax assistance - How to count if one column is blank and one column is not blank

  1. #1
    Registered User
    Join Date
    01-17-2014
    Location
    Fenton Missouri
    MS-Off Ver
    Excel 2007
    Posts
    54

    Need syntax assistance - How to count if one column is blank and one column is not blank

    I am trying to figure out a formula that performs the following

    Count the amount of cells that are blank in column A if column B is not blank

    (If a cell in column A is blank and the cell next to it in column B is blank, then do not count.)
    (If a cell in column A is blank and the cell next to it in column B is NOT blank, then count it)
    Last edited by meppwc; 04-19-2017 at 09:21 AM. Reason: To comply with forum rules

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,907

    Re: Need syntax assistance - How to count if one column is blank and one column is not bla

    Try this:

    =COUNTIFS(A:A,"",B:B,"<>")
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    01-17-2014
    Location
    Fenton Missouri
    MS-Off Ver
    Excel 2007
    Posts
    54

    Re: Need syntax assistance - How to count if one column is blank and one column is not bla

    Thank you Ali..........this formula worked, and my apologies to you and the forum members for having to edit the title of my post.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,907

    Re: Need syntax assistance - How to count if one column is blank and one column is not bla

    Not a problem - thank you for changing the thread title.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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] Vlookup and sumif formula assist
    By sintek in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-24-2015, 03:04 AM
  2. PLease assist with a formula
    By nightcrawler-jay in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-22-2010, 03:56 AM
  3. Formula Assist
    By [email protected] in forum Excel General
    Replies: 3
    Last Post: 06-06-2006, 07:37 PM
  4. Replies: 1
    Last Post: 01-15-2006, 11:50 PM
  5. [SOLVED] Making Array Formula, please assist!
    By Macinslaw in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-11-2005, 05:05 PM
  6. If formula- hoping someone can assist
    By Ntisch in forum Excel - New Users/Basics
    Replies: 9
    Last Post: 07-26-2005, 06:05 PM

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