Hi,
I have a problem I'm trying to solve. The real problem is a bit hard to describe but one way is to compare it to stones that are to be placed in bags (Bag 1, Bag 2, Bag 3). Lets say I have three stones, then all the ways I can spread them out in the three bags are as follows:
Bag 1 Bag 2 Bag 3
3 0 0
0 3 0
0 0 3
2 1 0
2 0 1
1 2 0
0 2 1
1 0 2
0 1 2
1 1 1
And this is pretty quick to do manually. But if I have 8 stones and 4 bags (or even more stones or more bags). Then this exercise is a bit more time consuming.
Is there a way to use Excel 2013 to calculate and show all the different way to divided the stones?
Thanks in advance
Vic
Bookmarks