+ Reply to Thread
Results 1 to 8 of 8

Divide List of Numbers Into Two Equal Sums

  1. #1
    Registered User
    Join Date
    08-23-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    6

    Divide List of Numbers Into Two Equal Sums

    I have a list of various numbers that I would like to have divided into two lists whose sums are as equal as possible. Can Excel do this for me?

  2. #2
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Divide List of Numbers Into Two Equal Sums

    How many items in the list?
    Gary's Student

  3. #3
    Registered User
    Join Date
    08-23-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Divide List of Numbers Into Two Equal Sums

    The list has 43 different numbers, each in their own row.

  4. #4
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: Divide List of Numbers Into Two Equal Sums

    i have done this maybe it can help you

    but i think its a bit grubby, im guessing there is a better way to do this (probably with a macro)

    Book1.xlsx

    (press F9 to update)
    The Importance of INDEX - A GUIDE TO INDEX'S OTHER USES
    <--- If a post helps hit the star

  5. #5
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: Divide List of Numbers Into Two Equal Sums

    ok im about to post up a better version (more acurate) but its very difficult to read and understand. i hope it helps a bit

  6. #6
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: Divide List of Numbers Into Two Equal Sums

    ok the second page shows how its more acurate i hope this makes things clearer (the first sheet has it all mashed in to 1 mega formula lol) i doubt even i could re follow it myself haha)

    have fun :P

    Book1.xlsx

  7. #7
    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: Divide List of Numbers Into Two Equal Sums

    One way, though not precise:

    Please Login or Register  to view this content.
    Sort the input numbers descending.

    In B2 and copy down, =SUM(B1, $A2 * (B1<C1))

    In C2 and copy down, =SUM(C1, $A2 * (B1>=C1))

    It can be done rigorously, but it's more complicated, and would be very time consuming for 43 numbers.
    Entia non sunt multiplicanda sine necessitate

  8. #8
    Valued Forum Contributor
    Join Date
    07-29-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2003/Excel 2010
    Posts
    534

    Re: Divide List of Numbers Into Two Equal Sums

    Using Solver led to this solution:
    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)

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