+ Reply to Thread
Results 1 to 7 of 7

Help with sumifs formula across multiple tabs

  1. #1
    Registered User
    Join Date
    12-19-2017
    Location
    United States
    MS-Off Ver
    365
    Posts
    3

    Help with sumifs formula across multiple tabs

    I have several worksheets in a workbook that have data on them. I want to create a summary tab for those worksheets but I can't seem to figure it out.

    Each worksheet contains a date and amount for each lease per contract.
    I would like to be able to summarize this information for each month since the dates go across more than one month.

    For example, on the summary tab, I would like to be able to put 12/1/17 for the start date and 12/31/17 for the end date and capture the revenue data for the month. I attached an example workbook so maybe you can help??

    I want to do a sumproduct formula with a name range but I can't get it to work with the sumifs option.
    Attached Files Attached Files

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Help with sumifs formula across multiple tabs

    is this similar to that what you want?

    you can choose year or month or unit or all together like exemple
    Attached Files Attached Files

  3. #3
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Help with sumifs formula across multiple tabs

    Hello and welcome to the forum. You have a few options. Here are two:

    B5 =SUMIFS('Contract 1'!C:C,'Contract 1'!A:A,">="&B2,'Contract 1'!A:A,"<="&B3)+
    SUMIFS('Contract 2'!C:C,'Contract 2'!A:A,">="&B2,'Contract 2'!A:A,"<="&B3)+
    SUMIFS('Contract 3'!C:C,'Contract 3'!A:A,">="&B2,'Contract 3'!A:A,"<="&B3)

    B5 =SUMPRODUCT(SUMIFS(INDIRECT("'"&E2:E4&"'!C2:C100"),INDIRECT("'"&E2:E4&"'!A2:A100"),">="&B2,INDIRECT("'"&E2:E4&"'!A2:A100"),"<="&B3))
    where E2:E4 contains "Contract 1", "Contract 2, and "Contract 3" without the quotes.


    Change C to D, E, and F for B6, B7, and B8.
    Last edited by 63falcondude; 12-19-2017 at 10:13 PM.

  4. #4
    Registered User
    Join Date
    12-19-2017
    Location
    United States
    MS-Off Ver
    365
    Posts
    3

    Re: Help with sumifs formula across multiple tabs

    Yes! This is what I was thinking about but I couldn't get it to work. Thank you!!

    I would rather use the second option since there are a lot more tabs involved than just the 3 I used for an example (and we will be adding tabs and removing tabs as we go along).

    And thank you for welcoming me to the forum. I don't know why I waited so long to join.

  5. #5
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Help with sumifs formula across multiple tabs

    You're welcome. Happy to help.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  6. #6
    Registered User
    Join Date
    12-19-2017
    Location
    United States
    MS-Off Ver
    365
    Posts
    3

    Re: Help with sumifs formula across multiple tabs

    Sandy, thank you! I was looking at your option. I have never used queries before and it looks awesome! I use pivot tables a lot though...just didn't know queries existed. Can you explain how you did this? I may use it in the future. If it's too much, no worries.

  7. #7
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Help with sumifs formula across multiple tabs

    First: Microsoft Power Query for Excel (doesn't matter 2010/2013/2016 or 365 - all what you need is PowerQuery add-in or built-in)

    second in short:
    • Data - From Table (load each table into Workbook Queries)
    • Append queries (in this case 3 contracts)
    • Group by ... (and now depend of your choice)
    • Result load into the sheet

    example:
    Attached Files Attached Files
    Last edited by sandy666; 12-19-2017 at 10:57 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. [Please Help Me] Solving =SUMIFS or INDEX or MATCH Formula for Data Across (2) Tabs
    By ChrisNeedsHelp in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-10-2017, 05:40 PM
  2. Replies: 2
    Last Post: 11-10-2017, 03:12 PM
  3. Replies: 6
    Last Post: 10-11-2017, 04:57 PM
  4. Sumifs formula summing from all tabs/worksheet in the workbook
    By vba1234 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-08-2016, 05:18 PM
  5. [SOLVED] VBA code to merge multiple sheet with multiple tabs into one workbook in different tabs
    By Jagdev in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-06-2015, 07:42 AM
  6. Error in SUMIFS across multiple tabs
    By mavericky10 in forum Excel General
    Replies: 1
    Last Post: 01-07-2015, 09:19 AM
  7. Error in SUMIFS across multiple tabs
    By mavericky10 in forum Excel General
    Replies: 1
    Last Post: 01-05-2015, 04:15 PM

Tags for this Thread

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