# Example 23 = 8+6+7+2 23 = 7+6+3+6+1 23 = 10+8+1+2+2 I need to be able to break down all combinations that add up to a 2 digit sum Any help is appreciated.  Thank you.

Posted on

I thought I may have been too brief in describing  my problem. Thank you for your answer Neela.  I may have put this in the wrong place.  I was hoping for a way for a computer (hopefully excel can do it) to be able to break down, ALL possible combinations of figures that add up to a 2 digit sum number (1- 99) .. (The two digit number being the answer of the sum of numbers that make it up). Yes, working backwards from the answer.     To illustrate further the examples together with the above examples :

23=5+5+7+6

23=5+6+6+6

56=10+10+5+5+7+3+2+8+6

56=5+5+5+5+2+3+2+3+7+3+2+8+6

12=6+6

12=3+3+3+3

12=1+2+1+2+1+2+1+2

12=9+3

12=7+5

12=8+4

12=4+4+2+2

I know that the list can be extensive, that's why I've only used samples to show what I'm trying to achieve and why I need a computer to do the work for me.    I apologise for my lack of having the right terminology to explain myself.  Thank you for your effort.