+ Reply to Thread
Results 1 to 5 of 5

SUMIFS with mutiple worksheets

  1. #1
    Registered User
    Join Date
    04-09-2013
    Location
    Costa Rica
    MS-Off Ver
    Excel 2010
    Posts
    59

    Question SUMIFS with mutiple worksheets

    Hello guys, I have been trying to use sumifs function on multiple worksheets without success, I have researching and trying to apply this formula, it is not working as well and also need to use more criteria (sumifs instead):

    =SUMPRODUCT(SUMIF(INDIRECT("'"&$A$16:$A$21&"'!D:D"),A3,INDIRECT("'"&$A$16:$A$21&"'!D:D")))

    where A16:A21 is the sheetlist range, D:D the relevant sum range in every sheet (A16:A21), and A3 (Paul actual cell value) is criteria Value #1, but it is located on column C:C on each sheet list. And not sure how to add it to formula, I mean I need it to convert it to a SUMIFS formula.

    Thanks very much!

  2. #2
    Forum Moderator daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,676

    Re: SUMIFS with mutiple worksheets

    Looks like you're almost there - this version should work with SUMIFS

    =SUMPRODUCT(SUMIFS(INDIRECT("'"&$A$16:$A$21&"'!D:D"),A3,INDIRECT("'"&$A$16:$A$21&"'!C:C")))

    add criteria as required
    Audere est facere

  3. #3
    Registered User
    Join Date
    04-09-2013
    Location
    Costa Rica
    MS-Off Ver
    Excel 2010
    Posts
    59

    Re: SUMIFS with mutiple worksheets

    Quote Originally Posted by daddylonglegs View Post
    Looks like you're almost there - this version should work with SUMIFS

    =SUMPRODUCT(SUMIFS(INDIRECT("'"&$A$16:$A$21&"'!D:D"),A3,INDIRECT("'"&$A$16:$A$21&"'!C:C")))

    add criteria as required
    Thanks daddylonglegs, but it is giving me the #VALUE error, not sure why!I see that D:D on first INDIRECT line does not match second INDIRECT line (C:C). Not sure if that might be the reason.

    Formula is telling me that A3 is the Criteria Range, I believe that might be one of the errors.
    Last edited by figo12; 11-07-2013 at 06:57 PM.

  4. #4
    Forum Moderator daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,676

    Re: SUMIFS with mutiple worksheets

    Apologies, I messed up the syntax, should be

    =SUMPRODUCT(SUMIFS(INDIRECT("'"&$A$16:$A$21&"'!D:D"),INDIRECT("'"&$A$16:$A$21&"'!C:C"),A3))

    That should be matching A3 against column C in each sheet and summing col D values when that matches

  5. #5
    Registered User
    Join Date
    04-09-2013
    Location
    Costa Rica
    MS-Off Ver
    Excel 2010
    Posts
    59

    Re: SUMIFS with mutiple worksheets

    Quote Originally Posted by daddylonglegs View Post
    Apologies, I messed up the syntax, should be

    =SUMPRODUCT(SUMIFS(INDIRECT("'"&$A$16:$A$21&"'!D:D"),INDIRECT("'"&$A$16:$A$21&"'!C:C"),A3))

    That should be matching A3 against column C in each sheet and summing col D values when that matches

    Thanks it works great!! Thanks again for everything and I will mark thread as solved!

+ 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. Peform same action on mutiple worksheets
    By dubbdan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-14-2013, 05:09 PM
  2. [SOLVED] Selecting and copying data from mutiple worksheets
    By Dirk_Bob in forum Excel General
    Replies: 0
    Last Post: 02-13-2006, 04:45 PM
  3. [SOLVED] can i.. do a COUNT through mutiple worksheets?
    By ninetynine in forum Excel General
    Replies: 2
    Last Post: 01-25-2006, 10:10 AM
  4. [SOLVED] creating mutiple worksheets
    By malvis in forum Excel General
    Replies: 1
    Last Post: 08-02-2005, 06:05 PM
  5. [SOLVED] printing mutiple worksheets on one page
    By reedsmf in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 04-02-2005, 04:07 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