+ Reply to Thread
Results 1 to 5 of 5

Summing data across multiple criteria on multiple worksheets

  1. #1
    Forum Contributor
    Join Date
    04-04-2014
    Location
    Tetbury, England
    MS-Off Ver
    Excel 2010
    Posts
    254

    Summing data across multiple criteria on multiple worksheets

    Hello

    I would to sum data with 2 criteria across multiple worksheets.

    So far, I have this formula which works:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    But, I only want to sum those cells whereby the 'Account Code' is X and the 'Staff Member' is Y. So I've tried using this which results in #VALUE!:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    'ACL010:AHC010'!C$6:C$25 = Account Code
    'ACL010:AHC010'!D$6:D$25 = Staff Member

    Any ideas?

    Thanks
    Last edited by PDBartlett; 09-01-2015 at 10:53 AM.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,178

    Re: Summing data across multiple criteria on multiple worksheets

    You need use this approach ..


    =SUMPRODUCT(SUMIF(INDIRECT("'"&SheetList&"'!A2:A10"),D2,INDIRECT("'"&SheetList&"'!B2:B10")))

    Where "Sheetlist" is named range contain your sheet names

  3. #3
    Forum Contributor
    Join Date
    04-04-2014
    Location
    Tetbury, England
    MS-Off Ver
    Excel 2010
    Posts
    254

    Re: Summing data across multiple criteria on multiple worksheets

    That's worked thanks!

    But it's only using one criteria, how do I add another into it?

  4. #4
    Forum Contributor
    Join Date
    04-04-2014
    Location
    Tetbury, England
    MS-Off Ver
    Excel 2010
    Posts
    254

    Re: Summing data across multiple criteria on multiple worksheets

    Managed to get it to work with multiple criteria

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,178

    Re: Summing data across multiple criteria on multiple worksheets

    Well done!

+ 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. [SOLVED] Summing Data Based on multiple criteria that changes
    By aas72 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 08-14-2015, 05:18 PM
  2. Replies: 7
    Last Post: 05-24-2015, 02:47 PM
  3. Summing with Multiple Criteria over 3 Worksheets
    By Kooksmagooks in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-11-2013, 02:25 PM
  4. Extracting and summing similar data from multiple worksheets
    By haskenazi in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 01-22-2013, 11:34 PM
  5. Replies: 8
    Last Post: 10-27-2011, 05:43 PM
  6. Summing across multiple worksheets with criteria
    By HamnEgg in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-02-2008, 06:22 AM
  7. summing multiple worksheets with multiple criteria
    By spirodem in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-31-2005, 11:17 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