Results 1 to 3 of 3

Thread: Dynamic Totals after Load To

  1. #1
    Neophyte OldCityCat's Avatar
    Join Date
    Apr 2017
    Location
    St Augustine FL
    Posts
    4
    Articles
    0
    Excel Version
    2016

    Dynamic Totals after Load To



    Register for a FREE account, and/
    or Log in to avoid these ads!

    Does any one know a way to add a total row and sum the same 1 or 2 columns after query has run and loaded?

    Thanks in advance for any and all suggestions

    OldCityCat

  2. #2
    Administrator AliGW's Avatar
    Join Date
    Nov 2015
    Location
    Ipswich, Suffolk, England
    Posts
    1,370
    Articles
    0
    Excel Version
    Office 365 Subscription
    What do you mean by "the same 1 or 2 columns"? You can add a totals line to the table - it should stay intact when you refresh the query and update.
    Ali
    Enthusiastic self-taught user of MS Excel!

  3. #3
    Administrator Ken Puls's Avatar
    Join Date
    Mar 2011
    Location
    Nanaimo, BC, Canada
    Posts
    2,355
    Articles
    56
    Blog Entries
    14
    Excel Version
    Excel Office 365 Insider
    I would agree with Ali here. Load the table to the worksheet, go to the Table Design tab and in the Table Style options group, check the "Total Row" box.

    Personally, I'd rather leave the output without totals, then feed that to a PivotTable as it's fully dynamic for new data at that point anyway.
    Ken Puls, FCPA, FCMA, MS MVP

    Learn to Master Your Data at the Power Query Academy (the world's most comprehensive online Power Query training), with my book M is for Data Monkey, or our new Power Query Recipe cards!

    Main Site: http://www.excelguru.ca -||- Blog: http://www.excelguru.ca/blog -||- Forums: http://www.excelguru.ca/forums
    Check out the Excelguru Facebook Fan Page -||- Follow Me on Twitter

    If you've been given VBA code (a macro) for your solution, but don't know where to put it, CLICK HERE.

Posting Permissions

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