Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 947
Default How to find the numbers that adds up to a fixed sum from a pool of

if given 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 and I need to find out


But if the given sum is in the same magnitude as the 130 numbers there
will only be very few of them included in the sum.


Hi. If interested:
If given the integer numbers 1,2,...130, then there are
4,654,670 combinations that total 130, and
486,796,713 that total 200.

The maximum count occurs at
130*((1 + 130)/4) = 4257.5 (ie two of them)

The total number of combinations that total 4,257 and 4,258 a
1,257,431,811,792,459,815,722,395,070,685,090,292

--
HTH :)
Dana DeLouis


"Lars-Åke Aspelin" wrote in message ...

On Mon, 28 Jul 2008 14:02:40 -0700, frank
wrote:


I have been given 130 numbers and I need to find out which of them can be
added up to a given number.
for example, if given 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 and i need to find out
which of them adds up to 33.
is there anything excel can do?
pls help


More information please.

What kind of numbers are we talking about here?
Real numbers? Integers? Positive?
What is the given number?
If the given sum is a big number, compared to the given numbers, there
will be very many combinations to test.
But if the given sum is in the same magnitude as the 130 numbers there
will only be very few of them included in the sum.

Lars-Åke
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 do search a list of numbers to find what adds up to a large # prissy Excel Discussion (Misc queries) 0 June 6th 06 02:48 AM
NEED A FORMULA THAT ADDS EVEN OR ODD ROW NUMBERS J Shamp Excel Worksheet Functions 1 February 10th 06 08:33 PM
Formula that only adds numbers that meet specific criteria Elizabeth Excel Discussion (Misc queries) 10 October 12th 05 11:38 PM
HOW CAN I ADDS UP INCHES NUMBERS? hp Excel Discussion (Misc queries) 2 July 20th 05 08:08 PM
Rounding a number to a multiple quantity that adds to a fixed total number wjlo Excel Worksheet Functions 1 November 9th 04 04:43 PM


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