+ Reply to Thread
Results 1 to 7 of 7

Sumif to Consolidate from Multiple Worksheets

  1. #1
    Forum Contributor
    Join Date
    09-19-2003
    Posts
    226

    Sumif to Consolidate from Multiple Worksheets

    Hi Y'all

    I've attached a file that contains seven worksheets. Worksheets 2 to 6 contain daily revenues for 6 days. I need to consolidate the revenues onto Worksheet 1 using the sumif formula. The sumif formulas I have linked to the Worksheet "Day One Backlog". This is easy. I need to link the sumif formula to all the Worksheets that will give me the total revenues on Worksheet "HotelmappingReport" for each account.

    What do you suggest?

    Thanks

    Patish
    Attached Files Attached Files
    Patish

  2. #2
    Valued Forum Contributor
    Join Date
    11-22-2014
    Location
    Arizona, USA
    MS-Off Ver
    Office 365
    Posts
    973

    Re: Sumif to Consolidate from Multiple Worksheets

    Before I take a look there is a SUMIFS this allows multiple criteria, Not to confuse this is not what you need but I recommend utilizing this always instead of sumif.

    Now to get them all, being that you understand how to get one sheet, simply finish the sumifs or if you wish sumif formula, then add + and go again...

    So it should look like this, =SUMIFS(SUMRANGE,CriteriaRange,Criteria)+SUMIFS(SumRange,CriteriaRange,Criteria)+etc... each sumifs is for each tab. Again, have not looked but is it possible to have all of this data on one tab? Is there information within the table for each tab that would dictate which set it comes from?

    I will take a look but I have faith that you can do what you asked just by adding + and writing in the next sum formula

    So I took a look and apparently this didn't post so adding - You do seem to have account numbers in there which means that the data is going to be unique for consolidation. The only thing you are missing is a date and that is something you as the operator could add in when pasting in the source data! If you do this then you can put it all in one sheet and shorten up the formula... Really up to you but I think that you have got this with what I stated above ...

    + is your answer, Joint 2 or more formulas with a +
    -If you think you are done, Start over - ELeGault

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Sumif to Consolidate from Multiple Worksheets

    Hi there, Patish. I have done two things. Firstly, on Sheet1 (which you can hide) I have created a dynamic list of sheet names (up to 20). Then on the Master Sheet, I used a SUMPRODUCT-SUMIFS combination to do the multi-sheet total for you.

    I checked the answers for one Food and one Beverage combination (dark brown and dark blue shading). It seems to be correct.

    OK?
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  4. #4
    Forum Contributor
    Join Date
    09-19-2003
    Posts
    226

    Re: Sumif to Consolidate from Multiple Worksheets

    G'day EleGault and Glen. Appreciate your responses. EleGault, I realised that one option would be to do as you suggested, but I just felt it was too cumbersome. Thanks anyway. Glenn, I'm going to need the weekend to sit through understanding your suggestion. I'll let you know how it works for me.

    Thanks

    Patish

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Sumif to Consolidate from Multiple Worksheets

    OK...I'm confident that it is correct. You need to check that i have copied the formula into ONLY those cells where it should have been pasted. Copying/pasting the formula to finish your sheet was done in a bit of a rush.

    Let me know how you get on....

  6. #6
    Forum Contributor
    Join Date
    09-19-2003
    Posts
    226

    Thumbs up Re: Sumif to Consolidate from Multiple Worksheets

    I stand in awe!

    Many thanks and much appreciated, Glen.

    Patish

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Sumif to Consolidate from Multiple Worksheets

    You're welome & thanks...

+ 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. Consolidate multiple worksheets into one
    By raeray38501 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 08-21-2014, 10:21 AM
  2. [SOLVED] Consolidate all data in multiple worksheets of multiple workbooks in one Master file.
    By adil.master in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-23-2014, 09:59 PM
  3. consolidate multiple worksheets
    By Mbutler132000 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-26-2010, 06:10 AM
  4. Consolidate Multiple Worksheets
    By DGA2008 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-09-2009, 09:03 AM
  5. Consolidate Multiple Worksheets Into One
    By DGA2008 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-29-2009, 05:49 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