+ Reply to Thread
Results 1 to 6 of 6

Allocation based on Rank

  1. #1
    Registered User
    Join Date
    03-02-2011
    Location
    Vancouver, Canada
    MS-Off Ver
    Excel 2010
    Posts
    15

    Allocation based on Rank

    Hi,

    I need to allocate a resource based on ranking of records in a spreadsheet:

    Product Limit Rank Allocation
    200-25 40 9
    200-27 50 9
    200-30 60 4 60
    200-33 45 3 45
    200-35 32 5 10
    200-37 11 6
    200-40 20 11
    200-43 10 11
    200-46 80 2 80
    200-50 70 6
    200-52 23 6
    200-55 15 1 15
    210

    This is what I need it to look like - an allocation of 210 between the highest ranked products. The last one that gets the resource is product 200-35 (and it only gets 10 because there is no more left to allocate). How can I do this through formula?

    TIA.
    Attached Files Attached Files
    Last edited by ValGlad; 03-02-2011 at 07:59 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Allocation based on Rank

    Welcome to the forum.

    Like this?

    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    03-02-2011
    Location
    Vancouver, Canada
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: Allocation based on Rank

    Sorry, forgot to mention - ranking can not be sorted.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Allocation based on Rank

    D2 and down,

    =MAX(0, MIN(B2, 210-SUMIF($C$2:$C$13, "<" & C2, $B$2:$B$13)))

  5. #5
    Registered User
    Join Date
    03-02-2011
    Location
    Vancouver, Canada
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: Allocation based on Rank

    Shg - thanks very much! Problem's solved.

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Allocation based on Rank

    Great -- would you please mark the 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)

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