+ Reply to Thread
Results 1 to 7 of 7

using Large() and Max() without replacement from a list

  1. #1
    Registered User
    Join Date
    07-13-2011
    Location
    St. George, Utah
    MS-Off Ver
    Excel 2010
    Posts
    37

    using Large() and Max() without replacement from a list

    I have a list of names, and certain values associated with each name (location, region, total revenue).

    Want to pull Max revenue value overall, then pull the max revenue by location, which will exclude the overall number, (example, if location is ATL for overall revenue, then the second highest ATL value should be chosen for the highest ATL).

    After that tier ranking, I want to pull the next highest on the list by region within each center. So each tier down from overall>by location>by region should exclude any names already selected for the next tier up.

    Any help is much appreciated.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: using Large() and Max() without replacement from a list

    Hi

    Have a look on attachment.

    Is this what you looking?
    Attached Files Attached Files
    To help you by my post? it would be nice to click on to say "Thank you".
    If you are happy with a solution to your problem?
    Click Thread Tools above your first post,
    select "Mark your thread as Solved".

  3. #3
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: using Large() and Max() without replacement from a list

    Here is a beginning of solution for the top overall and the top by center.
    Still working on the top by region which is more complicated for me though.
    It uses the original data from column A to G
    Attached Files Attached Files
    Pierre Leclerc
    _______________________________________________________

    If you like the help you got,
    Click on the STAR "Add reputation" icon at the bottom.

  4. #4
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: using Large() and Max() without replacement from a list

    This looks like it works. Some challenges there with special cases. For instance, king wins stg should he still be listed as winner in stg natnl since he's the only one there?

    I ended up with two sheets with slightly different formulas, I hope one of them is alright.

    Version 2 main formula looks like this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    These are array formulas and need to be entered with Ctrl+Shift+Enter.
    Attached Files Attached Files
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  5. #5
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: using Large() and Max() without replacement from a list

    Here is I think) a final and complete solution to your problem.
    Sometimes, there is not enough data so the LARGE function return a #NUM value.
    As previously, all formula work with original data at column A to G
    Regards
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    07-13-2011
    Location
    St. George, Utah
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: using Large() and Max() without replacement from a list

    It's perfect! Thank you so much. It does exactly what I was hoping. I love living in a world full of people smarter than me. Thanks again!!

  7. #7
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: using Large() and Max() without replacement from a list

    Good efforts by micope21 and p24leclerc but using full columns with array formulas is maybe a little too brave. I got the impression that my laptop really struggled with the recalc.
    Just replace the full columns in the formulas with an adequate range and it will be fine.

+ 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