Hello friends,
I need a excel macro to perform the following task..Please advise how this can be done..
User will provide 5 to 50 data values which is a variable ( like 4.30, 5.55, 2.75,, 8.35, 9.27,3.45,10.25,7.27,1.23,1.36,2.31,1.83,3.71,1.12,1.45,2.27,2.36,3.24,0.84 ,1.54,2.23,2.43,3.19,0.77, 1.62 etc ) and user will also give number of groups to be sorted and is also variable ( for instance say 5 )..
Objective is get the number of group of datas ( 5 in this example ) whose sum is as close as possible and all the given data values to be used.. Group may contain any number of data values ( for instance, 3 or 4 or 6 or 1 etc)
Thanks in advance..