+ Reply to Thread
Results 1 to 21 of 21

Formula Help : IF(ISBLANKK) - Second part not working

  1. #1
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Formula Help : IF(ISBLANKK) - Second part not working

    .
    The following formula works great for E2 but fails to display "Incomplete" if F2 is blank.

    Please Login or Register  to view this content.
    The formula is in cell K2.

    Please help. Thank you.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Formula Help : IF(ISBLANKK) - Second part not working

    Maybe I'm misunderstanding, but it works fine for me:

    E
    F
    J
    K
    L
    2
    K2: =IF(J2="","",IF(ISBLANK(E2),"Incomplete",IF(ISBLANK(F2),"Incomplete","")))
    3
    x
    Incomplete
    4
    x
    5
    x
    x
    Incomplete
    6
    x
    7
    x
    x
    Incomplete
    8
    x
    x
    9
    x
    x
    x
    Last edited by shg; 01-13-2018 at 08:30 PM.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Formula Help : IF(ISBLANKK) - Second part not working

    Copied "as is" and it works

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612

    Re: Formula Help : IF(ISBLANKK) - Second part not working

    Is there a formula in F2?
    Ben Van Johnson

  5. #5
    Valued Forum Contributor Root_'s Avatar
    Join Date
    07-29-2017
    Location
    _
    MS-Off Ver
    2010+
    Posts
    485

    Re: Formula Help : IF(ISBLANKK) - Second part not working

    May be just

    =IF(J2="","",IF(E2="","Incomplete",IF(F2="","Incomplete","")))

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Formula Help : IF(ISBLANKK) - Second part not working

    ="" is empty string but not blank
    blank = null

  7. #7
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: Formula Help : IF(ISBLANKK) - Second part not working

    E2 and F2 each have date and time - no formulas.

    I've tried deleting cell K2 and even deleting all of Column K and starting over. For some reason the formula isn't working for F2.

    J2 has this formula :
    Please Login or Register  to view this content.
    Is this causing the issue ?

  8. #8
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: Formula Help : IF(ISBLANKK) - Second part not working

    .
    Root:

    Your formula gives the same result here ... F2 blank doesn't cause Incomplete to show.

  9. #9
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: Formula Help : IF(ISBLANKK) - Second part not working

    .
    Here is the workbook :
    Attached Files Attached Files

  10. #10
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Formula Help : IF(ISBLANKK) - Second part not working

    Due to the formula in J2, if F2 is blank, then J2 is blank ( "" ).
    Then the formula in H2 returns "" because =IF(J2="" is true.

  11. #11
    Valued Forum Contributor Root_'s Avatar
    Join Date
    07-29-2017
    Location
    _
    MS-Off Ver
    2010+
    Posts
    485

    Re: Formula Help : IF(ISBLANKK) - Second part not working

    Through a chain of formulas in your workbook, J2="" when F2="". Thus, no "Incomplete".

  12. #12
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: Formula Help : IF(ISBLANKK) - Second part not working

    .
    How do I edit the formula so K2 remains blank if there is nothing to 'compute' and still track if E2 or F2 is blank and show INCOMPLETE ?

  13. #13
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Formula Help : IF(ISBLANKK) - Second part not working

    The other formulas cause J2 to be a null string when F2 is blank, which triggers causes the first IF to evaluate true.

  14. #14
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Formula Help : IF(ISBLANKK) - Second part not working

    Evaluate formula in steps

    IF(""="","" ......

  15. #15
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Formula Help : IF(ISBLANKK) - Second part not working

    Maybe test F2 first...

  16. #16
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: Formula Help : IF(ISBLANKK) - Second part not working

    .
    This
    Please Login or Register  to view this content.
    results in the infamous #VALUE error.

    Tried changing around E2 and F2 (which gets tested first) ... no go.

  17. #17
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: Formula Help : IF(ISBLANKK) - Second part not working

    .
    This formula :
    Please Login or Register  to view this content.
    dragged down the column results in this :

    Excel 2007 32 bit
    E
    F
    G
    H
    I
    J
    K
    1
    First In
    Last out
    Production Time
    Attendance
    Break time
    Work time
    Comments
    2
    1/13/2018 8:00
    1/13/2018 17:00
    9:00:00
    1
    0:15:00
    8:45:00
    3
    1/13/2018 17:00
    1/14/2018 8:00
    15:00:00
    1
    0:30:00
    14:30:00
    4
    Incomplete
    5
    Incomplete
    6
    Incomplete
    7
    Incomplete
    8
    Incomplete
    9
    Incomplete
    10
    Incomplete


    That is the part I'm trying to avoid.

  18. #18
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Formula Help : IF(ISBLANKK) - Second part not working

    Try
    =IF(OR(E2="",F2=""),"Incomplete","")

  19. #19
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: Formula Help : IF(ISBLANKK) - Second part not working

    .
    This worked !
    Please Login or Register  to view this content.
    Does anyone see any potential issues with it ?

  20. #20
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Formula Help : IF(ISBLANKK) - Second part not working

    Ok, to prevent the incomplete filling the column..

    =IF(B2="","",IF(OR(E2="",F2=""),"Incomplete",""))

  21. #21
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: Formula Help : IF(ISBLANKK) - Second part not working

    .
    Jonmo1:

    Your last works great also !

+ 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. Format a part of a text working with only value not working with formula result
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-10-2017, 05:41 AM
  2. Formula to move part of a value to a new cell - part 2
    By forestavekids in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-28-2016, 12:34 PM
  3. SUMPRODUCT ELSE part not working
    By devonalex in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-17-2016, 04:07 PM
  4. Replies: 1
    Last Post: 01-03-2016, 11:48 PM
  5. Only part of macro working
    By JamieBlanco in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-21-2014, 12:48 PM
  6. Replies: 1
    Last Post: 05-27-2014, 02:40 PM
  7. 2nd part of formula not working
    By dbl in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-17-2005, 03: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