+ Reply to Thread
Results 1 to 2 of 2

Sumif multiple worksheets

Hybrid View

  1. #1
    Registered User
    Join Date
    02-22-2016
    Location
    oregon
    MS-Off Ver
    excel 2013
    Posts
    15

    Sumif multiple worksheets

    I am hoping to sum all b2 cells in multiple worksheets, but only if the worksheet contains the text "*404*"

    so far i have =sum(feb_404:Totals!,b2)

    That sums all the b2's on not just the worksheets that contain the text 404 in them. any ideas on how to fix?

  2. #2
    Forum Expert
    Join Date
    11-26-2013
    Location
    Colac, Victoria, Australia
    MS-Off Ver
    Excel 2016
    Posts
    1,309

    Re: Sumif multiple worksheets

    On a new sheet, you will need to create a list of the sheets you are summing from. (say in range A1:A4)

    Then use this formula: =SUMPRODUCT(SUMIF(INDIRECT("'"&A1:A4&"'!B1"),"*404*",INDIRECT("'"&A1:A4&"'!B2")))

    It should give you the result you want. It assumes you have the *404* text in B1!

    I hope this helps, please let me know!

    Regards,

    David


    - Please click on the *Add Reputation button at the bottom of helpful responses.

    Please mark your thread as SOLVED:
    - Click Thread Tools above your first post, select "Mark your thread as Solved".

    Last edited by David A Coop; 02-22-2016 at 10:16 PM.

+ 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] using SUMIF over multiple worksheets
    By adutchbrew in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-10-2016, 10:38 AM
  2. SUMIF Across Multiple Worksheets
    By davidgh01 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-06-2013, 11:25 AM
  3. How to use SumIf over multiple worksheets??
    By MARKSTRO in forum Excel General
    Replies: 16
    Last Post: 01-12-2012, 02:02 PM
  4. Multiple calculations in one SUMIF formula across multiple worksheets
    By necht_angel in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-15-2011, 05:30 AM
  5. Sumproduct/sumif/indirect across multiple workbooks, worksheets, multiple criteria
    By robgardner15 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-08-2011, 02:35 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