how to get excel to combine numbers to a given total

K

karlo

I receive a list of numbers. I need to find
out which amounts will add up to a given total. How would I create a macro
to do this? Is there already an Excel function to do this that I have not
found? It would need to work with currency.

Ex: 9, 12, 7, 4, 15, 8, 10, 3 total needed 18
Solution 8+10; 3+15
 
J

Jacob Skaria

Hi Karlo

You can have a macro to do this to list all the possible combinations.

Do you have format in which the data is currently in.

If this post helps click Yes
 
S

Simon Lloyd

Do the figures appear in seperate cells?, do you want the the results i
seperate cells

karlo;271259 said:
I receive a list of numbers. I need to fin
out which amounts will add up to a given total. How would I create
macr
to do this? Is there already an Excel function to do this that I hav
no
found? It would need to work with currency

Ex: 9, 12, 7, 4, 15, 8, 10, 3 total needed 1
Solution 8+10; 3+1

--
Simon Lloy

Regards,
Simon Lloyd
'The Code Cage' (http://www.thecodecage.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top