+ Reply to Thread
Results 1 to 7 of 7

Sum different columns from multiple worksheets..multi variable

Hybrid View

  1. #1
    Registered User
    Join Date
    11-20-2013
    Location
    Alberta, Canada
    MS-Off Ver
    2007
    Posts
    11

    Sum different columns from multiple worksheets..multi variable

    OK... so I have ten worksheets with various names (i.e. office, welders, drivers, etc). Each has a list of different tickets /requirements, and their expiry dates. I have each column's expiry dates counted and summed up across the top (i.e expiring in 30 days, 60 days). Some of the columns are universal to all the sheets, like 'drivers licence'... but this is not always in the same column (may be D in 'office', but G in 'welders').

    What can I write (probably in VBA) that can search out all the 'drivers expiry' across all the sheets, and sum it up?
    I know this is going to be multi-stage, with something to find the text string, then an offset to find the appropriate results cell, return that value, repeat across the worksheets, then sum all the returned values. I'm just struggling with the syntax of this , so any help would be much appreciated.

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Sum different columns from multiple worksheets..multi variable

    Can you submit a copy of your workbook?

  3. #3
    Registered User
    Join Date
    11-20-2013
    Location
    Alberta, Canada
    MS-Off Ver
    2007
    Posts
    11

    Re: Sum different columns from multiple worksheets..multi variable

    I can upload the template sheet, that is then adjusted depending on the group... some of the columns are removed depending on what each group needs. The actual book has 10 of these, not all having the same columns. What I need is a way to sum up the expiry information for each column that expires, across all the sheets.

    templatetickettracker.xlsm

  4. #4
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Sum different columns from multiple worksheets..multi variable

    Issues:

    1. It would help if you actually submitted some artificial data with your workbook. Not just a blank template.

    2. Your template sheet is set to have dates in the "Drivers Abstract Expiry" section (which is the section I think you want summed). How do you sum dates?

    3. Where do you want to "sum it up" at?

    Keep in mind that I know nothing about your sheet so things that make sense to you, will not make sense to me.

  5. #5
    Registered User
    Join Date
    11-20-2013
    Location
    Alberta, Canada
    MS-Off Ver
    2007
    Posts
    11

    Re: Sum different columns from multiple worksheets..multi variable

    Ok.. here's an filled in version of the template, with the stats page at the beginning, 'start' and 'end' sheets are hidden. It's the numbers above the column headings that I need to sum up, across the sheets, for each heading.

    templatetickettracker.xlsm

  6. #6
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Sum different columns from multiple worksheets..multi variable

    Your second attachment does not have anything filled in, nor are there hidden sheets, like you indicated.

    Summing the 0's for the columns in rows 1,2, & 3, is easy but you failed to indicate where you wanted the summed number to go.

    I wish you the best of luck finding a solution to your problem.

  7. #7
    Registered User
    Join Date
    11-20-2013
    Location
    Alberta, Canada
    MS-Off Ver
    2007
    Posts
    11

    Re: Sum different columns from multiple worksheets..multi variable

    I'm not sure what happened to the template, I did have the information in it... it must not have uploaded properly. I've re-named it, and am uploading a version that has the stats page, and some information filled in.

    templatetickettracker2.xlsm

+ 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. return multiple similar data on multi variable search
    By patrodgers in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-25-2012, 09:38 AM
  2. return multiple similar data on multi variable search
    By patrodgers in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 05-24-2012, 04:56 PM
  3. Replies: 4
    Last Post: 01-14-2011, 09:30 PM
  4. Multi-series, multi-variable Balloon graph.
    By Excel-Grapher in forum Excel General
    Replies: 7
    Last Post: 09-21-2010, 05:42 PM
  5. Unhide Rows and Columns in multi worksheets
    By technix in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-11-2009, 02:25 PM

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