+ Reply to Thread
Results 1 to 9 of 9

Multiple IF functions

  1. #1
    Registered User
    Join Date
    09-21-2022
    Location
    Hastings, UK
    MS-Off Ver
    2019
    Posts
    7

    Question Multiple IF functions

    Hi there,

    I have this formula "=IF(H9-NOW()<0,"OVERDUE",IF(H9<(NOW()+15),"DUE",IF(H9<(NOW()+90),"PLAN","NOT DUE")))" in I9, however I'm having trouble adding another IF function. I want to add that if J9 has any text in, that changes I9 to "Planned". Is this possible?

    Thanks!

  2. #2
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,428

    Re: Multiple IF functions

    What means "if J9 has any text in"? Is that if J9 not empty? Is that if J9 not a numeric value? Is that ???

  3. #3
    Registered User
    Join Date
    09-21-2022
    Location
    Hastings, UK
    MS-Off Ver
    2019
    Posts
    7

    Re: Multiple IF functions

    Basically J9 is a "Date Planned" column. However we don't use generic dd/mm/yy. We plan by weeks. So once J9 has any value or text in it. Sorry, didnt explain that too well.

  4. #4
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,428

    Re: Multiple IF functions

    I want to add that if J9 has any text in, that changes I9 to "Planned".
    Please try in I9: =IF(J9<>"";"Planned";IF(H9-NOW()<0,"OVERDUE",IF(H9<(NOW()+15),"DUE",IF(H9<(NOW()+90),"PLAN","NOT DUE"))))
    Last edited by HansDouwe; 09-21-2022 at 10:23 PM.

  5. #5
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,831

    Re: Multiple IF functions

    So you mean if J9 is not blank? Also, is that the last check you want to do? Meaning, if H9-Now()<0 AND J9 is blank, what do you want, "OVERDUE" or "Planned". If the later, you could do:

    =IF(H9-NOW()<0,"OVERDUE",IF(H9<(NOW()+15),"DUE",IF(H9<(NOW()+90),"PLAN",IF(J9<>"","Planned","NOT DUE"))))
    or, use IFS: (I'm writing this "free-hand" so I may have messed up on structure)
    =IFS(H9-NOW(),0,"OVERDUE",H9<(NOW()+15),"DUE",H9<(NOW()+90,"PLAN",J9<>"","Planned",TRUE,"NOT DUE")

    Also, if this isn't correct, it's best to add a sample file to your post.

  6. #6
    Registered User
    Join Date
    09-21-2022
    Location
    Hastings, UK
    MS-Off Ver
    2019
    Posts
    7

    Re: Multiple IF functions

    Test.xlsx

    Sorry not explaining this very well. Regardless of whether its due, not due, overdue or plan. As soon as J9 isn't blank I would like I9 to change to planned.
    Thanks.

  7. #7
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: Multiple IF functions

    I think all you need is this

    Please Login or Register  to view this content.
    Happy with my advice? Click on the * reputation button below

  8. #8
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,428

    Re: Multiple IF functions

    As soon as J9 isn't blank I would like I9 to change to planned.
    Answer is already given in Post #4

  9. #9
    Registered User
    Join Date
    09-21-2022
    Location
    Hastings, UK
    MS-Off Ver
    2019
    Posts
    7

    Re: Multiple IF functions

    Thanks everyone, all sorted now!

+ 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. Replies: 6
    Last Post: 03-17-2015, 01:35 AM
  2. Combining multiple functions>lookup/sum functions
    By mush106 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-22-2013, 07:47 AM
  3. [SOLVED] Help with multiple IF functions and possible lookup functions.
    By englishfellow in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 03-29-2013, 01:49 PM
  4. Replies: 4
    Last Post: 03-08-2013, 09:49 AM
  5. Replies: 4
    Last Post: 01-08-2013, 09:04 AM
  6. Multiple IF Functions or VLOOKUP functions
    By yinka00000 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-15-2012, 11:29 PM
  7. [SOLVED] multiple "if" functions depending on previous functions
    By andyr85 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-20-2012, 10: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