+ Reply to Thread
Results 1 to 8 of 8

Nested IF`s and Blank cells

  1. #1
    Registered User
    Join Date
    12-07-2012
    Location
    Romania
    MS-Off Ver
    Excel 2010
    Posts
    5

    Question Nested IF`s and Blank cells

    Hi, I need help on a formula ( in F column ) that can tell me if the materials are on delay or not.

    Written down i see it like this :
    if E3>D3+6="delay",else"ok", if E3>C3+6="delay",else"ok", if E3>B3+6="delay",else "ok"

    This is clear but now i`m having the other situations where i have no info ( blanks ) in C3 or D3 , that i have no ideea how to deal it.
    ex. if D3 is blank do the if E3>C3+6="delay",else"ok" and if C3 is blank do the if E3>B3+6="delay",else "ok" and if E3 is blank do the
    if today()>D3+6="delay",else"ok" or if D3 is blank do the if today()>C3+6="delay",else"ok" or if C3 is blank too , do the if today()>C3+6="delay",else"ok"


    okdelay.jpg


    i hope i explained my problem enough soo i can get some help.
    i did before the nested if-s but not with isblank and with soo many conditions.
    i`m not sure even if it can be done or not .

    thanks in advance.

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Nested IF`s and Blank cells

    =IF(IF(E3="",TODAY(),E3)>MAX(A3:D3)+6,"Delay","OK")
    Try this
    if it is not working attach a sample file with desired result
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Registered User
    Join Date
    12-07-2012
    Location
    Romania
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Nested IF`s and Blank cells

    i need to explain more,

    first i receive the dates in C , dates in D are the latest infos soo those count. in case i don`t have dates in D i`ll use dates in C, if C is without dates too , i`ll use the dates in B .

    Ex. E3 = 21.02.2015 , the D3+6 is grather than E3 soo ok. C3 is not counting anymore because i have a date in D3.
    case 2 : E4 = 28.02.2015 , D4+6 is smaller than D4 soo delayed. C3 is blank , not counting.
    case 3 : E5 = 15.02.2015, C5+6 is grather than E5 soo ok .D5 is blank that`s why we are using C5 .

    6 are the days that the goods are on the way to us via road transportation.




    it seems that i did a major mistake in my first post/request regarding who is grather and who is smaller, i`m very sorry about that .


    Here are the corrected ones :


    Written down i see it like this :
    if E3<D3+6="delay",else"ok", if E3<C3+6="delay",else"ok", if E3<B3+6="delay",else "ok"

    This is clear but now i`m having the other situations where i have no info ( blanks ) in C3 or D3 , that i have no ideea how to deal it.
    ex. if D3 is blank do the if E3<C3+6="delay",else"ok" and if C3 is blank do the if E3<B3+6="delay",else "ok" and if E3 is blank do the
    if today()>D3+6="delay",else"ok" or if D3 is blank do the if today()>C3+6="delay",else"ok" or if C3 is blank too , do the if today()>C3+6="delay",else"ok"

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Nested IF`s and Blank cells

    It is better if you attach sample excel file

  5. #5
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Nested IF`s and Blank cells

    Then try
    =IF(IF(E3="",TODAY(),E3)>LOOKUP(10^6,A3:D3)+6,"Delay","OK")

  6. #6
    Registered User
    Join Date
    12-07-2012
    Location
    Romania
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Nested IF`s and Blank cells

    please find attached file with the sample, in the last column ( where the formula should operate i`ve put the right answers )
    OK_DELAY_.xlsx

    thanks again.

  7. #7
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Nested IF`s and Blank cells

    F3=IF(IF(E3="",TODAY(),E3)>LOOKUP(10^6,A3:D3)+6,"Delay","OK")
    try the above and copy towards down
    similar to post no .5

  8. #8
    Registered User
    Join Date
    12-07-2012
    Location
    Romania
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Nested IF`s and Blank cells

    Works just fine , except the case when i have only a date in B3, in the other fields i have none.

    ex. B3=15.02.2013 it will show me delay - in fact that`s not true , because today is not past 15.02.

+ 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. Nested IF Statements for Blank Cell
    By missyboox22 in forum Excel General
    Replies: 3
    Last Post: 01-07-2015, 01:01 PM
  2. Nested If statements. I wanted blank/empty cells to not show 0
    By fleetwood417 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-19-2013, 11:09 AM
  3. Advanced filter with blank cells / Dynamic named range with blank cells
    By Jason_2112 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-15-2010, 12:06 PM
  4. Nested IF checking non blank cells
    By brentandrews in forum Excel General
    Replies: 2
    Last Post: 12-21-2009, 10:18 AM
  5. Nested IF Statement-, it should be blank.
    By FM1 in forum Excel General
    Replies: 5
    Last Post: 02-10-2009, 07:01 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