+ Reply to Thread
Results 1 to 11 of 11

Is there a blank cell in column A where the corresponding cell in column C is also blank?

  1. #1
    Registered User
    Join Date
    09-12-2014
    Location
    3rd Rock From The Sun
    MS-Off Ver
    2013
    Posts
    9

    Is there a blank cell in column A where the corresponding cell in column C is also blank?

    I want to check a sheet for any blank cells in column A where there is also a blank cell in the same row but in column C. The result of the formula needs to be True or False. Example 1: If cell A3 is blank and cell C3 is blank then the result is True. Example 2: If cell A3 is blank and cell C3 is NOT blank then the result is False. If cell A3 is NOT blank and cell C3 is NOT blank then the result is True.

    I know there are differences in cells being empty of all data and being blank by way of ="". In this case the cells will actually be empty (no data, numbers, formulas, etc).

    Any ideas for accomplishing this? (via formula is preferred but I could go VBA if needed)

  2. #2
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Is there a blank cell in column A where the corresponding cell in column C is also bla

    How about
    for both to be blank:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and then add the second condition
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by kev_; 05-23-2017 at 09:44 AM.
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

  3. #3
    Registered User
    Join Date
    09-12-2014
    Location
    3rd Rock From The Sun
    MS-Off Ver
    2013
    Posts
    9

    Re: Is there a blank cell in column A where the corresponding cell in column C is also bla

    kev_, that is a start but I need to look for any cell in column A. So assume it will need to include an array?

  4. #4
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Is there a blank cell in column A where the corresponding cell in column C is also bla

    another way:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Is there a blank cell in column A where the corresponding cell in column C is also bla

    What exactly are you wanting?
    If you copy the formula down it gives the correct answer for every row

    Do you just want a one cell answer? If so what do you want the cell to tell you?

  6. #6
    Registered User
    Join Date
    09-12-2014
    Location
    3rd Rock From The Sun
    MS-Off Ver
    2013
    Posts
    9

    Re: Is there a blank cell in column A where the corresponding cell in column C is also bla

    Yes, i want a one cell answer. I'm going to use it for conditional formatting of that cell.

  7. #7
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Is there a blank cell in column A where the corresponding cell in column C is also bla

    So should the cell yield "TRUE" unless there is at least one row with a mismatch ie "blank in A with value in C" OR "value in A with blank in C"

  8. #8
    Registered User
    Join Date
    09-12-2014
    Location
    3rd Rock From The Sun
    MS-Off Ver
    2013
    Posts
    9

    Re: Is there a blank cell in column A where the corresponding cell in column C is also bla

    I basically don't care if:
    a) both are blank
    b) both are populated
    c) value in A with blank in C

    I need to identify "blank in A with value in C". The result in this could be either "True" or "False". I can deal with either condition as long as it is the opposite result of the a), b), and c) examples I just mentioned.

  9. #9
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Is there a blank cell in column A where the corresponding cell in column C is also bla

    An array formula is not required
    Amend the range if data starts below A2 and/or extends below row 10,000

    This formula returns FALSE if "Blank in A with value in C"
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    - CountIf counts the number of rows with both "a value in C" and "nothing in A"
    - "=0" compares result of CountIf with 0
    - if it matches, formula returns TRUE
    - if it does not match, formula returns FALSE (ie if one or more row meets the condition)
    Last edited by kev_; 05-23-2017 at 01:18 PM.

  10. #10
    Registered User
    Join Date
    09-12-2014
    Location
    3rd Rock From The Sun
    MS-Off Ver
    2013
    Posts
    9

    Re: Is there a blank cell in column A where the corresponding cell in column C is also bla

    kev_ , Thank you!!! That is working perfectly!!

  11. #11
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Is there a blank cell in column A where the corresponding cell in column C is also bla

    Excellent!
    Please mark the thread as Solved (thread tools, top of thread)

+ 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. First blank cell in the first blank column
    By CIB2007 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-16-2015, 08:21 PM
  2. Clear column D cell based on a blank formulated column A cell
    By jnbroek in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-18-2013, 11:05 AM
  3. Replies: 3
    Last Post: 08-20-2013, 10:39 AM
  4. [SOLVED] If Cell in column B blank then various cell are blank - vba tweek needed!!!
    By skyping in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-24-2013, 12:24 PM
  5. Replies: 0
    Last Post: 03-05-2013, 09:22 AM
  6. Find first blank cell in column if rightmost cell is non blank
    By Mothman in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 09-19-2010, 02:22 AM
  7. insert a blank column if a cell is blank...how?
    By bego in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-12-2007, 03:04 AM

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