+ Reply to Thread
Results 1 to 6 of 6

TOP 5 based on multiple criteria

  1. #1
    Registered User
    Join Date
    02-21-2013
    Location
    New Jersey
    MS-Off Ver
    Excel 2010
    Posts
    3

    TOP 5 based on multiple criteria

    I've seen several LARGE queries and have tried with little luck to take this formula to the next level.

    Basically I have a few different Tabs, and I'm trying to get the TOP 5 Sales Reps based on each region.

    For example

    REP REGION REVENUE
    Sam NORE $1,000,000
    Tina NORE $2,000,000
    Tommy SOUE $1,000,000
    Brian SOUE $3,000,000
    Chuck NORE $2,000,000

    So I would expect a result of the below when NORE is my filter criteria.

    Tina
    Chuck
    Sam

    But, I can't find out how to modify the current formula I have which can take into account the regional data.

    Here is what I have now, which works well to give me the TOP X Sales Reps overall.

    =INDEX('Sales Data'!A:A,MATCH(LARGE('Sales Data'!G:G,ROW(A1)-ROW(A$1)+1),'Sales Data'!G:G,FALSE))

    Other notes, Sales Rep will always be a unique value (no duplicates in the list)

    I appreciate any assistance provided.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: TOP 5 based on multiple criteria

    Maybe you can add all data on one sheet.

    Then pivot table will help you to count / sum the values.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Valued Forum Contributor
    Join Date
    02-05-2013
    Location
    Jakarta, Indonesia
    MS-Off Ver
    Excel 2013
    Posts
    571

    Re: TOP 5 based on multiple criteria

    Please see the attachment


    Regards,
    SDCh
    Attached Files Attached Files
    Click (*) if you received helpful response.

    Regards,
    David

  4. #4
    Registered User
    Join Date
    02-21-2013
    Location
    New Jersey
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: TOP 5 based on multiple criteria

    Ok, I know I'm making it more difficult, since a Pivot Table would get me the data, however...

    Basically, I have 1 tab as my dashboard, and on that tab there is a dropdown with regions to be selected, the dashboard has a whole bunch of data that is spliced out to the specific region that is selected in the dropdown.

    This data is dynamically provided by sifting through all the raw data that I have listed on other tabs. So, as Sales Reps make sales, the data is automatically summed up/calculated, and is transparent to the userbase (Sales Reps). I have had issues where they modify data, or break a pivot table, and I have to go back in because the did something. The dashboard and ALL tabs are locked and protected so that they can't touch it, and 1/2 of them won't bother to learn how, or even want to create a pivot table.

    Is there anyway to get the same results without a Pivot Table? NO, is a completely acceptable answer.

  5. #5
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: TOP 5 based on multiple criteria

    Hi chitonj

    Try the INDEX & AGGREGATE:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Regards Kevin


    Merged Cells (They are the work of the devil!!!)

  6. #6
    Registered User
    Join Date
    02-21-2013
    Location
    New Jersey
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: TOP 5 based on multiple criteria

    Thanks, I'll give this a shot, never worked with AGGREGATE.

+ 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