+ Reply to Thread
Results 1 to 5 of 5

Conditional summing of items from multiple worksheets

  1. #1
    Registered User
    Join Date
    05-25-2016
    Location
    Hollywood, CA
    MS-Off Ver
    2016
    Posts
    79

    Conditional summing of items from multiple worksheets

    Is there an easy way to sum specific items from multiple worksheets - I've tried SUMIF and SUMIFS, but don't know what I'm doing wrong...
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,990

    Re: Conditional summing of items from multiple worksheets

    I don't think your maths is right, but try this:

    Please Login or Register  to view this content.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Conditional summing of items from multiple worksheets

    In "Total" Sheet in cell "B2" formula :
    =SUMIF(CW!$A$4:$A$15,A2,CW!$B$4:$B$15)+SUMIF(FHW!$A$4:$A$23,A2,FHW!$B$4:$B$23)+SUMIF(GJEC!$A$4:$A$31,A2,GJEC!$B$4:$B$31)+SUMIF(Koko!$A$4:$A$24,A2,Koko!$B$4:$B$24)


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,990

    Re: Conditional summing of items from multiple worksheets

    There is no need for the sheet reference in the first SUMIF because the formula is on the same sheet. Apart from this, your suggestion is identical to mine.

  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,216

    Re: Conditional summing of items from multiple worksheets

    Try

    =SUMPRODUCT(SUMIF(INDIRECT("'"&Sheets&"'!$A$2:$A$100"),A2,INDIRECT("'"&Sheets&"'!$B$2:$B$100")))

    Sheets is a named range with list of Tabs

    CW
    FHW
    GJEC
    KoKo

    Using SUMIF the ranges need to be aligned: otherwise you will get wrong results: make the criteris and sum ranges have same limits:

    e.g. A2:A30 and B2:B30
    Last edited by JohnTopley; 11-12-2016 at 08:32 AM.

+ 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. Summing Multiple Values of List Items
    By Billy Corman in forum Excel General
    Replies: 2
    Last Post: 11-11-2015, 08:28 PM
  2. Summing items in multiple columns
    By lmccaigue in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-08-2015, 12:35 PM
  3. Summing across multiple worksheets
    By atmullan in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-27-2014, 05:40 PM
  4. Summing multiple items based on a string in a cell
    By seanc72 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-27-2014, 05:14 AM
  5. Summing across multiple worksheets
    By AberdeenGDK in forum Excel General
    Replies: 9
    Last Post: 02-20-2012, 03:14 PM
  6. Conditional summing across multiple worksheets?
    By hastac in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-05-2009, 04:54 PM
  7. Summing multiple worksheets
    By WesProbus in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-21-2005, 10:09 AM

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