Hi, is there an function which will sum up specified number of random cells from group of cells in order to match specific number?
For example: group of numbers in 5 cells - 1 2 3 4 5 Combine (sum) any TWO to GET value of 5!
Hi, is there an function which will sum up specified number of random cells from group of cells in order to match specific number?
For example: group of numbers in 5 cells - 1 2 3 4 5 Combine (sum) any TWO to GET value of 5!
Last edited by tomo; 12-07-2010 at 02:41 PM.
This code does the trick;
Simply put the list of numbers in a column with the amount of combination's you want at the top (0 for all) then the target number below that followed by all of the numbers underneath, then highlight the cells and run the code.![]()
Please Login or Register to view this content.
Last edited by Aliw267; 12-07-2010 at 04:53 PM.
Aliw267,
Please note:
Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code. Posting code without them makes your code hard to read and difficult to be copied for testing. Highlight your code and click the # at the top of your post window. For more information about these and other tags, found here
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks