+ Reply to Thread
Results 1 to 5 of 5

IF rule with 4 possible outcomes

  1. #1
    Registered User
    Join Date
    07-25-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    2

    IF rule with 4 possible outcomes

    Hi All,

    Have been relying on this forum for a long time to answer excel related prayers...need to make a post to get the answer to this one though!

    I am using an IF to give me one of four possible outcomes based on ranges I have:

    A1<12 = "STRONG"
    11<A1<35 = "SATISFACTORY"
    34<A1<112 = "NEEDS IMPROVEMENT"
    111<A1 ="WEAK"

    I have a similar formula I use for 3 outcomes (below), but cant seem to get the fourth IF rule to nest.
    =IF(AND(A1>=59),"HIGH",IF(OR(A1<=9),"LOW","MEDIUM"))

    I think it should be something like the below but excel says there is too many arguments, and cant help fix it.
    IF(AND(A1<12),"STRONG",AND(IF(OR(11<A1<35),”SATISFACTORY”)),IF(OR(34<A1<112),”NEEDS IMPROVEMENT”)),"WEAK")

    Any help would be much appreciated!

    Cheers, Alex

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: IF rule with 4 possible outcomes

    Perhaps
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor CheshireCat's Avatar
    Join Date
    10-11-2011
    Location
    Victoria, Canada
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    258

    Re: IF rule with 4 possible outcomes

    How about:

    Please Login or Register  to view this content.

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: IF rule with 4 possible outcomes

    could you clarify those boundaries?
    but fyi you dont use and /or like you have
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    why the and/or
    it should be
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    in your second one
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    you seem to be seeing if a1 is<12 then "strong" but the next test is a1>11 so what would happen if a11 was 12?
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    might be it
    but if you understand lookup go with that
    Last edited by martindwilson; 07-25-2012 at 02:59 PM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  5. #5
    Registered User
    Join Date
    07-25-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: IF rule with 4 possible outcomes

    Pepe's LOOKUP worked perfectly- appreciate your quick response!

    Quote Originally Posted by Pepe Le Mokko View Post
    Perhaps
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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