EXCEL Question: I have 5 cells that I need to distribute the sum 1,000 into. I need to do this in a specific order (the 5 cells each have a numerical value that I can can be used to order the distribution), and to a defined maximum for each cell. The outcome would look something like this:
Cell 1: receives 400 to reach its maximum.Cell 2: receives 150 to reach it's maximum.Cell 3: receives 50 to reach it's maximum.Cell 4: receives 200 to reach it's maximum.Cell 5: receives the remaining 200, but doesn't reach it's maximum.
I have 25+ sums that I need to distribute to 25+ groups of cells to defined maximums for each cell.
Thank you for your help.