OK here's what I'm trying to do. Lets say I have 25 items of different values and I have 15 slots. I want to place those items in those slots such that the sum of the values of items in each slot is minimized. It's kind of like the knapsack problem, but its a little different. Can you point me to the right algorithm? I need to write this into VBA code for my job, but I'm not sure how to proceed. Thanks in advance for your help!!