+ Reply to Thread
Results 1 to 3 of 3

Summing columns of variable range in multiple tabs and collating them into a master sheet

  1. #1
    Registered User
    Join Date
    08-07-2014
    Location
    London, England
    MS-Off Ver
    Excel 2013
    Posts
    2

    Summing columns of variable range in multiple tabs and collating them into a master sheet

    Good Morning,

    I am a VBA newbie, so please bear with me if this is painfully simple.

    I have used VBA to mass import CSV files into separate tabs within a single work book. The number of files imported, and therefore tabs, is variable, but typically between 10 and 25. What I am trying to do, and failing horrifically, is sum the same two columns (of variable range, so using a loop until there is nothing in the previous column?) in each tab individually, and then collate the output of the sum in separate columns in a master tab.

    Any help would be greatly appreciated.

    Regards,
    Clown

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Summing columns of variable range in multiple tabs and collating them into a master sh

    Can you attach a sample file? Show which two columns you want to sum (perhaps maybe two or three sheets), and how you want the results to be entered in the master tab.

  3. #3
    Registered User
    Join Date
    08-07-2014
    Location
    London, England
    MS-Off Ver
    Excel 2013
    Posts
    2

    Re: Summing columns of variable range in multiple tabs and collating them into a master sh

    Please find attached an example of two exported CSVs and the desired output.

    Many thanks,

    Clown
    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)

Similar Threads

  1. Summing variable values across variable sheets in multiple columns
    By rdelosh74 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-27-2014, 02:16 PM
  2. Group multiple sheet tabs into one master tab !
    By sonu1975 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-11-2014, 01:48 AM
  3. Collating Tabs into One Sheet
    By MikeBoyd in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-12-2013, 08:03 PM
  4. [SOLVED] Copy range from multiple sheets, into a master sheet and moving over by variable col range
    By g1eagle in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-23-2012, 01:36 PM
  5. Summing a variable range of columns
    By Richard Buttrey in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03: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