I have a column of 1500 numbers. I want find a combination of numbers in that column that equal a number in a specific cell. There may be two numbers in the column that equal that number if added up or more numbers. How can I do this.
Thanks
I have a column of 1500 numbers. I want find a combination of numbers in that column that equal a number in a specific cell. There may be two numbers in the column that equal that number if added up or more numbers. How can I do this.
Thanks
Should be able to accomplish this using the "=SEARCH" function.
http://office.microsoft.com/en-us/ex...in=HP010342656
Hi,
There are several sites that offer potential solutions to this. It mainly boils down to a choice between VBA code or using the Solver.
This site http://www.k2e.com/tech-update/tips/...specific-value uses the Solver methodology
Richard Buttrey
RIP - d. 06/10/2022
If any of the responses have helped then please consider rating them by clicking the small star iconbelow the post.
Thanks for the input and some great tools that I will use later but I am looking for something different. Example:
Column A
1
2
3
4
5
6
7
8
9
10
and b1 has 20. Is there a VB that will identify all formulas possible out of column A to total B1 (20)
Hi,
So are you now changing your original requirement. Originally you said you wanted 'a' combination of numbers. Now you say you want 'all' combinations.
Hi,
I've found the following very helpful
http://www.tushar-mehta.com/excel/te.../match_values/
Cheers
-----------------------------------------------------
At Excelforum, you can say "Thank you!" by clicking the star icon ("Add Reputation") below the post.
Please, mark your thread [SOLVED] if you received your answer.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks