+ Reply to Thread
Results 1 to 3 of 3

How to equally distribute items to people based on the value of the item???

  1. #1
    Registered User
    Join Date
    01-05-2017
    Location
    USA
    MS-Off Ver
    OFFICE 2013
    Posts
    1

    How to equally distribute items to people based on the value of the item???

    hello,

    i am trying to distribute items to people based on the value of the item.

    example: of how i would manually distribute the item to the people.

    PEOPLE:
    bob
    joe
    steve

    ITEM LIST
    item 1: 10 points - BOB
    item 2: 5 points -STEVE
    item 3: 5 points -STEVE
    item 4: 3 points -JOE
    item 5: 4 points -JOE
    total: 27 points

    is there a way to make excel automatically assign the names of the people to the items and get them equally distributed as possible, its doesn't have to distributed perfectly.


    thanks.

  2. #2
    Valued Forum Contributor spitfireblue's Avatar
    Join Date
    01-29-2015
    Location
    Adelaide, Australia
    MS-Off Ver
    2007,2010,2016
    Posts
    611

    Re: How to equally distribute items to people based on the value of the item???

    Hi,

    You can do it with a macro like the attached.
    Attached Files Attached Files
    Regards,
    Stephen

    If you feel someone has helped you please thank them and click on the star on their post to add reputation.
    Please ensure that you use code tags where relevant, and mark solved threads as solved.
    Most of all please be respectful and understanding of others.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: How to equally distribute items to people based on the value of the item???

    Try

    Formula in F2

    =MIN(SUM($B$2:$B$6)-SUM($F$1:$F1),ROUNDUP(SUM($B$2:$B$6)/SUMPRODUCT(1/COUNTIF($C$2:$C$6,$C$2:$C$6)),0))
    Attached Files Attached Files

+ 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] How to distribute equally among individuals
    By winner656 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 05-25-2022, 03:30 PM
  2. Distribute Agents Equally Based on Team
    By Sanjaykar in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-15-2016, 10:18 AM
  3. [SOLVED] Distribute assignments equally to employees
    By kunal Shah in forum Excel General
    Replies: 17
    Last Post: 10-09-2015, 03:54 PM
  4. Distribute prize money based on ranking - not equally
    By jlheath01 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-26-2014, 07:56 AM
  5. Distribute no of account and amount equally to callers
    By Apple Ling in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-24-2014, 06:34 AM
  6. Replies: 8
    Last Post: 05-21-2014, 07:51 AM
  7. distribute names equally in front of numbers
    By rahulbawkar2006 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-20-2011, 06:18 AM

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