+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    03-09-2010
    Location
    Tel Aviv, Israel
    MS-Off Ver
    Excel 2007
    Posts
    2

    Sum across sheets using row and column criteria

    hello all.

    i have a spreadsheet with 12 diffrent databases on 12 diffrent sheets. every database is set as a table in which the columns headers are names and at the right of every row sits a row critera. for example:

    james brian david
    5 10 6 days of work
    2 3 8 clients
    19 22 35 total hours of work


    every sheet has this table but for a diffrent month. and so, for every sheet the table is similar but the numbers are diffrent.

    i need to sum across sheets every time a cell is located in the cross "brian" and "total hours of work".

    i should also state that the location of "brian" isn't exactly the same in every sheet. each sheet "brian" is located in a diffrent column. so i can not do a simple sum across sheets but i have to do a criteria based sum.

    any idea will be appriciated.

    thanks in advance
    Last edited by urisimba; 03-09-2010 at 06:15 PM.

  2. #2
    Forum Moderator teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    2003 & 2010
    Posts
    10,045

    Re: Need to sum across sheets using row and column criteria

    Urisimba, welcome to the forum.

    I've moved your post to a question forum. Please take care to select the appropriate forum before you ask your next question.

    thanks
    teylyn
    Microsoft MVP - Excel
    At Excelforum, you can say "Thank you!" by clicking the icon below the post.

    Avoid pie charts with more than two data points. Why? See here (pdf, 559 kb). The only acceptable pie chart is here.

  3. #3
    Registered User
    Join Date
    03-23-2006
    Location
    Smithville, TN
    MS-Off Ver
    2003
    Posts
    12

    Re: Need to sum across sheets using row and column criteria

    Hello urisimba,

    I've put together a little demo workbook that might offer a solution. In the workbook, I have set up a sheet for January and February with a table of data on each. Each table contains a person's name who isn't in both tables.

    Anyway, I use the HLOOKUP function to get the desired value from each table. The retrieved values are summed after being checked for an error. This requires an array formula. Anyway, have a look and see if it has potential.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    03-09-2010
    Location
    Tel Aviv, Israel
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Sum across sheets using row and column criteria

    thanx a lot!

    i have to go to work now so i will check it out later. i will let you know how it went.

  5. #5
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,379

    Re: Sum across sheets using row and column criteria

    Conditional Summation in 3D is non-trivial

    For an overview of the basic options open to you see John McGimspey's page: http://www.mcgimpsey.com/excel/threedsumif.html

    Personally I favour conducting the calcs on each sheet and using 3D Sum.
    However, pending volume of data in each table and number of calcs being performed a Volatile SUMPRODUCT might not prove too oppressive in terms of performance.

    (A Multi Consolidation Pivot might also work).

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.2.0