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?
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?
How many items in the list?
Gary's Student
The list has 43 different numbers, each in their own row.
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
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
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
One way, though not precise:
Sort the input numbers descending.Please Login or Register to view this content.
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
Using Solver led to this solution:
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks