+ Reply to Thread
Results 1 to 14 of 14

Need to know if a cell is blank if a certain condition is met.

  1. #1
    Registered User
    Join Date
    07-16-2013
    Location
    Sweden
    MS-Off Ver
    Excel 2010
    Posts
    36

    Need to know if a cell is blank if a certain condition is met.

    Hi
    It feels like this should be really simple to do but i dont know how.
    If i have a condition that is met in column a, column c should be multiplied with column d.
    Some time d is blank and that is what i need a formula to tell me. If the condition in column a is met but the cell in d is blank.

    I got a big spreadsheet, so i attached an exampel. The exampel is just an exampel but it based on the same principle.

    I appreciate any help I can get.
    Attached Files Attached Files

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Need to know if a cell is blank if a certain condition is met.

    Hey!

    Put this is Cell F3 and Drag Down

    =IF(AND(A3="C",D3=""),"Condition Met","Condition Not Met")

    Deep
    Cheers!
    Deep Dave

  3. #3
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Need to know if a cell is blank if a certain condition is met.

    And Forgot to mention, change the "Condition Met","Condition Not Met" to what ever you want..

  4. #4
    Registered User
    Join Date
    07-16-2013
    Location
    Sweden
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: Need to know if a cell is blank if a certain condition is met.

    Thanks for the answear but i realize i made a small misstake when i made the exampel file.
    I need it to be in one cell, because i will have a few different conditions, each on a new row, and cant do any help column.
    And it isnt the same columns for everyone so i cant just look for blanks in a certain column, because almost all columns should have a majority blank cell.
    I dont know if this made it any clearer what i need?

  5. #5
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Need to know if a cell is blank if a certain condition is met.

    Actually, I dont quite understand what you are trying to explain..

  6. #6
    Registered User
    Join Date
    07-16-2013
    Location
    Sweden
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: Need to know if a cell is blank if a certain condition is met.

    I canīt use a help column.
    In the real spreadsheet there is loads of data that varies and that will be copy pasted in. This formula will be in another sheet with other formulas around it checking/controlling other things from the data. So i need this to be done in 1 cell, where it present if we need to do something with the indata or if it is correct.
    did that make it any more understandable?

  7. #7
    Registered User
    Join Date
    05-14-2013
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2003/2010
    Posts
    17

    Re: Need to know if a cell is blank if a certain condition is met.

    There are a few things I am little confused about, first, where do you want the formula to be? Do you want just the first blank cell? or all cells?

    After looking at your worksheet, would conditional formatting work for you? I would us something like:

    Please Login or Register  to view this content.
    Where 'a' would be the condition that needed to be met!

    Check this out, and let me know when it works for you!

  8. #8
    Registered User
    Join Date
    07-16-2013
    Location
    Sweden
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: Need to know if a cell is blank if a certain condition is met.

    I am making a new exampel spread sheet. posting it as soon as i can.
    Dreambringer, no.

  9. #9
    Registered User
    Join Date
    07-16-2013
    Location
    Sweden
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: Need to know if a cell is blank if a certain condition is met.

    Lets see if this makes it easier to understand what I need. It is under result in the check column I need this formula.

    Might add i am not allowed to use VBA

    And this is still a simplicifaction of it, with alot more calculations happening, but i got a column with a row for each criteria i need to check.
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    05-14-2013
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2003/2010
    Posts
    17

    Re: Need to know if a cell is blank if a certain condition is met.

    So if we are to understand you correctly, In G4, IF A4 = C AND D4 = 0 THEN you want to display a TRUE/FALSE value?

  11. #11
    Registered User
    Join Date
    07-16-2013
    Location
    Sweden
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: Need to know if a cell is blank if a certain condition is met.

    Yes thats correct, with the exception that if any cell in A = C and got a blank or zero in D i want to display true or false.

    Edit: Noticed that I actually have the problem also on row 15 and 26 aswell, not only on row 4 in the data column. I only need the formula to tell me there is a problem i do not need it to say anything about how many places or where.
    Last edited by Jowel; 08-01-2013 at 04:11 AM.

  12. #12
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Need to know if a cell is blank if a certain condition is met.

    Here!

    Put this in G4.

    =AND(A4="C",D4=0)

    Cheers!

    Deep

  13. #13
    Registered User
    Join Date
    07-16-2013
    Location
    Sweden
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: Need to know if a cell is blank if a certain condition is met.

    The problem with that formula is that it requiers that I know where I have the problem. What i want to know is wether or not there is any where a C in the A column with a blank cell in the D column.

  14. #14
    Registered User
    Join Date
    07-16-2013
    Location
    Sweden
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: Need to know if a cell is blank if a certain condition is met.

    Solved it by using:
    =IF((SUMIFS(Data!C:C;Data!A:A;"c";Data!D:D;""))>0;"Bad";"Ok")

+ 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. Excel 2007 : IF condition for a blank cell
    By kenwatch in forum Excel General
    Replies: 3
    Last Post: 04-10-2010, 10:25 AM
  2. Copy data from one cell to another if a blank condition is true
    By gadjit in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-08-2009, 08:17 AM
  3. if condition for blank cell values
    By Burke in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-05-2008, 07:05 PM
  4. Keep cell blank if condition is false in IF function
    By ruthslaughter in forum Excel General
    Replies: 2
    Last Post: 11-23-2005, 09:20 AM
  5. [SOLVED] leave a cell blank-condition is not fulfilled
    By nicolas in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-02-2005, 09:05 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