+ Reply to Thread
Results 1 to 3 of 3

Returning Top Values From Multiple Critera

  1. #1
    Registered User
    Join Date
    05-27-2010
    Location
    NYC
    MS-Off Ver
    Excel 2003
    Posts
    4

    Thumbs up Returning Top Values From Multiple Critera

    All - hope all is well,

    I was hoping someone could help me with the following problem. I have a very large spreadsheet (27k rows) that I would like to do the following:

    Return the largest values for given 2 critera, without creating other columns where I separate different "Businesses" (Such as Joe in NY)

    Example:

    Name Area Balance
    Joe NY 25000
    Joe NY 26000
    Joe NY 15000
    Miriam NC 2350
    Stacey FL 65223
    Peter VT 154313
    Todd CA 0
    Todd CA 15
    Todd CA 25
    Todd CA 65
    Stacey FL 9855
    Stacey FL 9595
    Peter VT 1
    Peter VT 958469

    Using the Large() function will return the largest accounts, but how can I return the top two largest for Joe NY, Stacey FL, (assuming there are100s for each)?

    Any help is greatly appreciated..
    Last edited by NBVC; 05-27-2010 at 03:48 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,902

    Re: Returning Top Values From Multiple Critera

    =LARGE(IF(A1:A100="Joe NY",B1:B100),1)

    =LARGE(IF(A1:A100="Joe NY",B1:B100),2)

    For largest and second larges account of Joe NY

    confim each with CTRL+SHIFT+ENTER not just ENTER
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    05-27-2010
    Location
    NYC
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Returning Top Values From Multiple Critera

    Ahh yes, control shift enter...thanks..
    Last edited by greyvdub; 05-27-2010 at 03:38 PM.

+ 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