+ Reply to Thread
Results 1 to 6 of 6

Nesting IF OR statements

  1. #1
    Registered User
    Join Date
    07-10-2012
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    21

    Nesting IF OR statements

    Here is the formula that I tried to use:
    IF((OR(LARGE(EF5:EF95,2)=EE184,LARGE(EF5:EF95,2)=EE188,LARGE(EF5:EF95,2)=EE189)),LARGE(EF5:EF95,3),(IF((OR(LARGE(EF5:EF95,3)=EE184,LARGE(EF5:EF95,3)=EE188,LARGE(EF5:EF95,3)=EE189),LARGE(EF5:EF95,4),LARGE(EF5:EF95,2)))

    It didn't work....

    What I am trying to say is:
    IF EE185 (the second highest number in range EF5:EF95) is the same as EE184, EE188, or EE189 then EE185 needs to be the third highest number in range EF5:EF95.
    IF EE185 is the same as EE184, EE188 or EE189 then EE185 needs to be the fourth highest number in range EF5:EF95

    Any help?

    Thank you!

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Nesting IF OR statements

    IF EE185 (the second highest number in range EF5:EF95) is the same as EE184, EE188, or EE189 then EE185 needs to be the third highest number in range EF5:EF95.
    IF EE185 is the same as EE184, EE188 or EE189 then EE185 needs to be the fourth highest number in range EF5:EF95
    Is this a typo, first you say you want it to be the THIRD highest, then you say you want it to be the FOURTH highest.
    It cant be both, you need to specify clearly what you want.
    Further, I dont even see EE185 mentioned in your original formula.
    Please elaborate.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Nesting IF OR statements

    If a certain cell contains the 2nd highest value in a range, without changing anything, how would you want it to become the 3rd...or 4th...value in that same range?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    07-10-2012
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    21

    Re: Nesting IF OR statements

    Maybe if I explain the entire issue it will help:
    I need to place players in order of highest points earned. Range EF5:EF95 being the list of points earned.
    1st place in bracket A (EE184)
    1st place in bracket B (EE188)
    1st place in bracket C (EE189)
    Wildcard (EE185)

    EE185 is where I was trying to use the afore mentioned formula. The wildcard is the next highest points in all brackets combined once the 1st place players have been placed.

    So EE185 needs to be the next highest points in range EF5:EF95 but cannont be the same as the ones listed in cells EE184, EE188 or EE189.

  5. #5
    Registered User
    Join Date
    04-23-2013
    Location
    Delhi,India
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Nesting IF OR statements

    can u give me a sample worksheet.

  6. #6
    Registered User
    Join Date
    07-10-2012
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    21

    Re: Nesting IF OR statements

    Sample attached- thanks for looking into this- I have to figure it out before friday. I really appreciate any help at all!
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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