Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default how to get excel to combine numbers to a given total

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default how to get excel to combine numbers to a given total

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
---------------
Jacob Skaria
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 293
Default how to get excel to combine numbers to a given total

Hi karlo,

See: http://www.tek-tips.com/viewthread.cfm?qid=1485698

--
Cheers
macropod
[MVP - Microsoft Word]


"karlo" wrote in message ...
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

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default how to get excel to combine numbers to a given total


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

karlo;271259 Wrote:
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



--
Simon Lloyd

Regards,
Simon Lloyd
'The Code Cage' (http://www.thecodecage.com)
------------------------------------------------------------------------
Simon Lloyd's Profile: http://www.thecodecage.com/forumz/member.php?userid=1
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=75584

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 690
Default how to get excel to combine numbers to a given total

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


Is 3+7+8 a solution also?

= = =
Dana DeLouis


karlo wrote:
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



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default how to get excel to combine numbers to a given total

On Mar 16, 8:03*am, Dana DeLouis wrote:
* Ex: 9, 12, 7, 4, 15, 8, 10, 3 * total needed 18
* Solution 8+10; 3+15

Is 3+7+8 a solution also?

= = =
Dana DeLouis



karlo wrote:
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- Hide quoted text -


- Show quoted text -


Hi Karlo, check this out:
http://www.geocities.com/excelmx/SumTarget.xls
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can Excel fill in numbers to equal a predetermined total? MomHudd New Users to Excel 1 February 13th 10 02:04 PM
how to get excel to combine numbers to a given total karlo Excel Discussion (Misc queries) 2 March 16th 09 01:02 PM
Combine 6 Worksheets to 1 Worksheet with total amounts Ms. D Excel Worksheet Functions 1 July 23rd 08 04:16 AM
Can excel find a sequence of numbers from a known total? efandango Excel Discussion (Misc queries) 16 February 15th 07 11:40 PM
Can excel find a sequence of numbers from a known total? efandango Excel Worksheet Functions 16 February 15th 07 11:40 PM


All times are GMT +1. The time now is 08:42 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"