Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
mj6987
 
Posts: n/a
Default Finding combinations that add up to X


Hello,
If I have a long list of numbers (both + and -) on a spreadsheet, is
there a way of finding possible combinations of two or more of these
numbers that add to to a certain figure?

Thanks v much,
Matthew


--
mj6987
------------------------------------------------------------------------
mj6987's Profile: http://www.excelforum.com/member.php...fo&userid=3526
View this thread: http://www.excelforum.com/showthread...hreadid=530831

  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Finding combinations that add up to X

See this post by Niek Otten a couple of days ago http://tinyurl.com/mngpm

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"mj6987" wrote in
message ...

Hello,
If I have a long list of numbers (both + and -) on a spreadsheet, is
there a way of finding possible combinations of two or more of these
numbers that add to to a certain figure?

Thanks v much,
Matthew


--
mj6987
------------------------------------------------------------------------
mj6987's Profile:

http://www.excelforum.com/member.php...fo&userid=3526
View this thread: http://www.excelforum.com/showthread...hreadid=530831



  #3   Report Post  
Posted to microsoft.public.excel.misc
 
Posts: n/a
Default Finding combinations that add up to X

Hello,

I suggest to look he http://michael-schwimmer.de/vba096.htm

It is a nice beautification of Mr. Excel's winning solution of his
challenge of the month (August 2002): http://www.mrexcel.com/pc09.shtml


And it seems to be quicker than the other solution (I tested with
Michael's example).

HTH,
Bernd

  #4   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Finding combinations that add up to X

That's because Harlan's solution is more generic than that, it finds all
combinations that will satisfy the sum, not just one.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

wrote in message
oups.com...
Hello,

I suggest to look he http://michael-schwimmer.de/vba096.htm

It is a nice beautification of Mr. Excel's winning solution of his
challenge of the month (August 2002): http://www.mrexcel.com/pc09.shtml


And it seems to be quicker than the other solution (I tested with
Michael's example).

HTH,
Bernd



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
how can i find all possible combinations nomi Excel Discussion (Misc queries) 3 February 13th 06 12:33 PM
Finding combinations to match a total Jack Sheet Excel Discussion (Misc queries) 2 January 21st 06 10:56 AM
Possible Combinations Please HELP!!! Excel Discussion (Misc queries) 1 January 6th 06 03:58 PM
Finding Duplicate Names from Different Lists... PokerZan Excel Discussion (Misc queries) 1 July 8th 05 09:58 AM
triadic combinations of words jayock02 Excel Worksheet Functions 1 June 19th 05 02:10 AM


All times are GMT +1. The time now is 08:03 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"