Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi there,
I regularly need to search through a lists of numbers to find a combination that will equal a specified number ... is there a function that can help me? For example, in the following list of numbers, I need to find the numbers, or cells that equal 120. 31 18 18 26 26 18 26 34 34 21 69 30 98 36 51 22 29 49 63 38 39 20 22 22 20 22 57 58 One solution is: (this may not be the first solution a function would return, just the first one I found through trial and error) 26 26 26 22 20 If the function can not find a combination equal to my specified number of 120, then, I would like the function to return the combination of numbers that is as close to 120 without going over. In fact, and now I'm probably asking for the impossible, I would like to see the greatest number of combinations adding up to 120 without any number being used more than once. Anyone know how this can be accomplished in Excel? I would hugely appreciate your help and suggestions. -- Cheers, Cheryl |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find the numbers used in a range | Excel Worksheet Functions | |||
find the numbers that are used in a range | Excel Discussion (Misc queries) | |||
Find the MAX number in range, then find... | Excel Discussion (Misc queries) | |||
How to find a range of numbers? | Excel Worksheet Functions | |||
find numbers in a range that add to a specific value | Excel Discussion (Misc queries) |