+ Reply to Thread
Results 1 to 6 of 6

LARGE Function with multiple conditions

  1. #1
    Forum Contributor
    Join Date
    02-08-2005
    MS-Off Ver
    Microsoft 365
    Posts
    810

    LARGE Function with multiple conditions

    Hi,

    I have created a function as follows:

    {=LARGE((IF(AY:AY<>”AAA”,I:I,””)),1)}

    This is to return the largest value in column I for any item in AY:AY that isn’t called “AAA”. I used LARGE() because I also want to extract the 2nd, 3rd etc largest values from column I.

    This works fine but when I tried to include the condition to also not consider in the ranking any item in AY:AY that’s called “BBB”, using an OR condition, the formula failed.

    Can someone please suggest how I can amend my formula.

    Thanks!

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: LARGE Function with multiple conditions

    I don't think you can use OR() or AND() in array formulas. Perhaps try something like:

    =LARGE(IF(AY:AY<>"AAA",I:I,0)*IF(AY:AY<>"BBB",1,0),1)

    (still as an array formula)

  3. #3
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: LARGE Function with multiple conditions

    Or this.....

    Please Login or Register  to view this content.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: LARGE Function with multiple conditions

    Ouch! Entire columns referenced in an array formula is a disaster waiting to happen!
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  5. #5
    Forum Contributor
    Join Date
    02-08-2005
    MS-Off Ver
    Microsoft 365
    Posts
    810

    Re: LARGE Function with multiple conditions

    Thank you all!

    XOR LX - point taken, thank you

    Regards

  6. #6
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: LARGE Function with multiple conditions

    You're welcome. Thanks for the feedback.
    If that takes care of your question, please mark your thread as Solved.

+ 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] multiple conditions to count large amount of data by Type, month & activity type
    By norfolk_lass in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-03-2014, 12:54 PM
  2. [SOLVED] LARGE Function with multiple criteria
    By andrewc in forum Excel General
    Replies: 3
    Last Post: 03-11-2014, 07:57 AM
  3. =Large Function - Multiple numbers
    By afriedman in forum Excel General
    Replies: 7
    Last Post: 03-22-2012, 04:06 PM
  4. LARGE IF function checking on multiple range area?
    By cveetan in forum Excel General
    Replies: 2
    Last Post: 03-04-2012, 12:28 PM
  5. Large Function with Multiple Ranges
    By TYork in forum Excel General
    Replies: 6
    Last Post: 02-01-2010, 02:54 PM

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