+ Reply to Thread
Results 1 to 2 of 2

Summing Values accross multiple sheets

  1. #1
    Forum Contributor
    Join Date
    04-03-2009
    Location
    USA, California
    MS-Off Ver
    Excel 2007
    Posts
    385

    Summing Values accross multiple sheets

    Hi all I was wondering if it is possible to sum data in a sumif sort of fashion using data on multiple sheets in the same workbook, is this possible with a macro or a formula?

    For additional information, I have User names, how many cases they pulled for each day, how many hours they worked each day...all this information is in separate worksheets in the same workbook.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Summing Values accross multiple sheets

    Three dimensional SUMIF/COUNTIF is not trivial (pending requirements & layout), see the mcgimpsey overview of the various options:

    http://www.mcgimpsey.com/excel/threedsumif.html

    Note: should you opt for THREED / morefunc.xll ... the morefunc add-in can be "embedded" into a file and distributed (akin to an old toolbar) therefore it does not need to be installed individually on client machines.

    Generally speaking creating an identical table on each individual sheet that generates the requisite data for the summary is best - this way you can just sum common cells using a =SUM(Sheet1:Sheet10!A1) approach... far and away the simplest method available.

    Using the SUMPRODUCT / INDIRECT method will not be great performance wise given the SUMPRODUCT will be Volatile (given use of INDIRECT) so pending size of model this could lead to serious performance issues.

    Re: VBA - yes you could use a UDF but UDF's are generally slower than native formulae ... I would try the non-VBA methods first ... if these prove too complex or cumbersome then perhaps consider a UDF (but if going down the VBA route I'd just opt for Morefunc.xll)
    Last edited by DonkeyOte; 05-01-2009 at 05:19 AM.

+ 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