michaelsmith559
Well-known Member
- Joined
- Oct 6, 2013
- Messages
- 881
- Office Version
- 2013
- 2007
I was reading searching for a solution to a problem I had and found the post linked above. I really liked the answer given in post #6 and would like help tweaking the code. When I ran the code the results started in row 2 and I would like the results starting in row 1. Also, at the end of the results in column A, there is a 1 below the results, can this be removed as well? Secondly, the results are put in across columns starting with the largest value in the first column and the smallest digit in the last column. Can this be reversed so that it puts the results starting with the lowest value to the highest value? And lastly, I think in post #9, Shg was calculated the results by giving the total number of combinations divided by the largest sum minus smallest sum + 1. Is there a way to calculate how many combinations there are for a given sum? Thanks for the help.
Mike
Mike