+ Reply to Thread
Results 1 to 8 of 8

Find sum combination

  1. #1
    Registered User
    Join Date
    11-13-2022
    Location
    Amman - Jordan
    MS-Off Ver
    2016 Use at work 365 at Home
    Posts
    27

    Find sum combination

    Dear All

    I kindly request if possible to extend the range of my formula to 100 Rows
    instead of 8 Rows
    and most of our employee don't know how to use solver


    Please note that I am using Excel 365 but in the office some employees use Office 2016


    Many thanks in advance
    Attached Files Attached Files
    Last edited by Geo Jul; 07-13-2023 at 10:56 AM. Reason: to add my file

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,973

    Re: Find sum combination

    What formula?

    There are instructions at the top of the page explaining how to attach your sample workbook (yellow banner: HOW TO ATTACH YOUR SAMPLE WORKBOOK). Screenshots are of little practical use as we cannot manipulate them.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    11-13-2022
    Location
    Amman - Jordan
    MS-Off Ver
    2016 Use at work 365 at Home
    Posts
    27

    Re: Find sum combination

    Thank you for your remarks

  4. #4
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Find sum combination

    Hi
    you mean in the name manager?
    Go to Formula---> Name manager ----> 'Range 1' and replace
    =Sheet1!$A$2:$A$9 with
    =Sheet1!$A$2:$A$100

  5. #5
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,435

    Re: Find sum combination

    I am impressed with your formula which works very quickly up to about 13, 14 numbers.
    After that, response times start to add up.

    I will keep your algorithm. Hereby reputation on my part.

    VBA could be faster. I found a VBA solution for this on this site: http://www.tushar-mehta.com/excel/te...e_combinations

  6. #6
    Registered User
    Join Date
    11-13-2022
    Location
    Amman - Jordan
    MS-Off Ver
    2016 Use at work 365 at Home
    Posts
    27

    Re: Find sum combination

    Many thanks for your response I prefer a formula

  7. #7
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,435

    Re: Find sum combination

    Yes, I also do, I don't like VBA, but I think your formula is already pretty fast and I give you the best chance with VBA to speed it up significantly.

  8. #8
    Registered User
    Join Date
    11-13-2022
    Location
    Amman - Jordan
    MS-Off Ver
    2016 Use at work 365 at Home
    Posts
    27

    Re: Find sum combination

    I follow all your participation and solutions you are a genius

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to find best combination
    By fargeneral in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-13-2020, 02:43 AM
  2. Find corresponding combination with the maximum value.
    By Tyler1994 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-07-2020, 03:42 AM
  3. How to find the most combination?
    By charmaine143 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-19-2018, 05:12 AM
  4. Find the Combination of different Lenth
    By yasar in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-19-2013, 12:11 PM
  5. Find an optimal combination
    By Totoleheros in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 10-05-2010, 01:30 AM
  6. find best combination
    By orenw8 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-20-2010, 07:39 PM
  7. Combination of if and find function possible ?
    By wjviveen in forum Excel General
    Replies: 3
    Last Post: 08-29-2007, 10:42 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1