+ Reply to Thread
Results 1 to 6 of 6

Combination of sum macro?

  1. #1
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    440

    Combination of sum macro?

    Hi,

    Every year, I need to consolidate several amount and make sure which of them falls into a sum of an amount.
    I wonder if excel can find all the calculation in range A, and highlight those that equal to the cell D10 (example as per my attachment).

    Please if anyone can help with this.

    Thanks.Calculation.xlsx

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,920

    Re: Combination of sum macro?

    Here is a tutorial to help you.

    http://www.get-digital-help.com/2010...lver-in-excel/
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    440

    Re: Combination of sum macro?

    Yes, but this option is taking too long if my data is over 20 cells..? Any other alternative option?

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,920

    Re: Combination of sum macro?

    I ran it in the example you provided and it took about 15 seconds. Seems a lot quicker than doing it manually.

  5. #5
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    440

    Re: Combination of sum macro?

    Did you? Because I ran it too, however, it doesnt give me the right solution tho..

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,920

    Re: Combination of sum macro?

    Here is a picture of the results I got and a possible explanation of why it was not able to supply an explanation. Have you been able to solve it manually?
    Attached Images Attached Images

+ 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. Key combination won't run my macro.
    By Galvax in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-26-2012, 03:33 PM
  2. Macro for permutation and combination
    By anjanjb in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-27-2010, 06:22 PM
  3. Macro Scenario/Combination of letters
    By GCo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-20-2010, 11:37 AM
  4. Adding a new key combination to an existing Macro
    By nandy in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-07-2009, 04:47 PM
  5. combination macro
    By Crystal in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-20-2005, 04:05 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