+ Reply to Thread
Results 1 to 5 of 5

Macro to find sum after manually filtering the column

  1. #1
    Registered User
    Join Date
    06-02-2014
    Posts
    6

    Macro to find sum after manually filtering the column

    Hello excel experts,
    I am currently writing a macro that does a variety of things, one of these being that it automatically sums up columns I,J and K. The dilemma I have is that I need to be able to see the sum of the data in a cell at the bottom of the column, after manually filtering it according to what I want to see. Any help would be appreciated,
    Best regards,
    Bent
    Last edited by bent_dietrich; 06-06-2014 at 07:24 AM.

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Macro to find sum after manually filtering the column

    Why not just use a Subtotal formula?
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Registered User
    Join Date
    06-02-2014
    Posts
    6

    Re: Macro to find sum after manually filtering the column

    Hi Olly,
    Thank you for your quick reply. I am quite new to excel and macros, so I am not sure how to use a subtotal formula. If I have the data in column J and the data starts in row 7, how would I use this?
    Thanks again,
    Bent

  4. #4
    Registered User
    Join Date
    06-02-2014
    Posts
    6

    Re: Macro to find sum after manually filtering the column

    Hello Olly,
    Thanks you again, after doing a little googling I realzed that the subtotal formula was simple and exactly what I needed.
    Thanks for your help!

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Macro to find sum after manually filtering the column

    @bent_dietrich

    if your question in solved, will you mark it solved?
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

+ 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. Macro: filtering out min AND max value from a column
    By SteveR2743 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-17-2014, 11:17 AM
  2. macro for filtering A column and summing up respective cells in B column
    By rajkumarmp in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-27-2013, 11:12 AM
  3. [SOLVED] Need Help with Macro, filtering one column, and filldown value to last row of a new column
    By mDevel in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 11-08-2013, 01:04 PM
  4. Please help to find a Macro to for filtering and sorting based on two criteria
    By 1Melina in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-21-2013, 12:54 PM
  5. find duplicates for visible cells after filtering for a column
    By sravan.rathnam in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-12-2012, 06:41 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