+ Reply to Thread
Results 1 to 4 of 4

Write summary based on variable data

  1. #1
    Forum Contributor mccrimmon's Avatar
    Join Date
    02-19-2004
    Location
    Scotland
    MS-Off Ver
    2003
    Posts
    249

    Write summary based on variable data

    I have a spreadsheet which I get on a daily basis.

    This spreadsheet has a list of accounts, currencies and values.

    Basically I want to create a summary on the Summary sheet, which lists all combinations of accounts, currencies and the sum of the value.

    I know I could achieve this via a pivot table, however, was wondering how I would achieve the attached example summary sheet by VBA code?

    Some days I might only have one account. Other days I may have hundreds. The same applies to currencies.

    Thanks in advance
    Attached Files Attached Files
    McCrimmon

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Write summary based on variable data

    Hi

    Many ways, but here's one.

    Please Login or Register  to view this content.
    rylo

  3. #3
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Write summary based on variable data

    Hi mccrimmon

    Here's another
    Please Login or Register  to view this content.
    John
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  4. #4
    Forum Contributor mccrimmon's Avatar
    Join Date
    02-19-2004
    Location
    Scotland
    MS-Off Ver
    2003
    Posts
    249

    Re: Write summary based on variable data

    Thanks for the solutions.
    Much appreciated.

    I have one final question.

    How would I bring further data into the equation to show a comparison between current and previous data.

    Again, I know I could achieve this via a pivot table and then a concatenated vlookup, however, was hoping to learn to code this up aswell.

    Sample is attached.

    Thanks again.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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