+ Reply to Thread
Results 1 to 8 of 8

If formula with 3 conditions?

  1. #1
    Registered User
    Join Date
    02-03-2018
    Location
    Manchester, UK
    MS-Off Ver
    2013
    Posts
    76

    If formula with 3 conditions?

    Hi people,

    I think I'm having a brain freeze at the moment. This is bound to be really simple - I'm generating an aged debtors report and I need a formula to return one of three answers:

    Overdue
    Today Today
    Not Due

    If the number of days overdue is greater than 0, I need it to return '"Overdue." if the value is 0, to return "Due Today." If the value is minus, "Not Due."

    Can anybody provide me with a quick formula to show this please?

    Thanking you!

    Lee.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,421

    Re: If formula with 3 conditions?

    Try this:

    =IF(A1>0,"Overdue",IF(A1<0,"Not Due","Due Today"))
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    02-03-2018
    Location
    Manchester, UK
    MS-Off Ver
    2013
    Posts
    76

    Re: If formula with 3 conditions?

    And there we go - so simple.

    Thanks for the prompt reply - much appreciated.

    Lee.
    Last edited by AliGW; 04-05-2020 at 11:47 AM. Reason: Please don't quote unnecessarily!

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,421

    Re: If formula with 3 conditions?

    No worries.

  5. #5
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: If formula with 3 conditions?

    Hi Lee,
    If you want to use the Sign() function then this formula will also work for you. I don't know why Ali thinks you date is in A1.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    See the attached file below for more than one date:
    Book Due using Sign and Choose.xlsx
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,421

    Re: If formula with 3 conditions?

    Lee didn't say where it was, Marvin - why do you think it's in A2? If the specific cell isn't named, I always use A1 in sample formulae. Happy to learn if you think I've been getting it wrong all these years.

  7. #7
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: If formula with 3 conditions?

    @Ali,
    I just feel a workbook showing the problem and an answer is more informative than a formula that is unattached. Just like the yellow heading suggests. We all have our ideas on what is enough information for the OP to get an answer. I just didn't see how A1 was a part of the OP's problem without seeing a workbook on where the data lived. As both of us being in the teaching profession, I guess it is our own call on what is enough since there is no rule on that and we all work for free?

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,421

    Re: If formula with 3 conditions?

    Sorry, Marvin - I’m not understanding why my use of A1 as the cell containing the number of days is any different to your use of A2 in yours. You can’t give a suggested formula, which is what the OP asked for, without making cell references. If they haven’t provided a workbook, then it’s up to them to adapt it for their own set-up. I really didn’t feel the need to provide a demo worksheet myself for such a simple formula. If I were suggesting something more complex, such as a Power Query solution, then I would. Anyway, Lee is happy and does not appear to have misunderstood the formula I suggested, in fact he commented himself on its simplicity. I’m obviously missing something here.

+ 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. [SOLVED] Help for IF conditions with multiple Conditions (scenario more than 5 conditions)
    By meily_o26 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-16-2019, 02:13 AM
  2. Assistance with CountIF formula and additional formula conditions
    By solios in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-18-2016, 01:46 PM
  3. Replies: 2
    Last Post: 01-14-2016, 03:53 PM
  4. [SOLVED] Look UP formula for 2 and 3 conditions
    By Excel Dumbo in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-02-2013, 09:48 PM
  5. [SOLVED] How to add 2 conditions to a Formula or modify existing formula
    By Frank121977 in forum Excel General
    Replies: 9
    Last Post: 12-22-2012, 03:13 PM
  6. [SOLVED] Help with a formula with 4 If conditions
    By gokzee in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-13-2012, 04:26 AM
  7. Formula with conditions?
    By deb0and in forum Excel General
    Replies: 9
    Last Post: 05-18-2009, 06:32 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