+ Reply to Thread
Results 1 to 4 of 4

Use SUMIF or SUMPRODUCT across multiple sheets using a single cell to match criteria

  1. #1
    Registered User
    Join Date
    05-18-2016
    Location
    Denver, CO
    MS-Off Ver
    2010
    Posts
    2

    Use SUMIF or SUMPRODUCT across multiple sheets using a single cell to match criteria

    Hi,

    I'm trying to sum across multiple sheets based on a single cell used as an identifier at the top of each particular sheet. I've attached a sample workbook. The formula would go in cells A3:L3 of tabs "Company Y Consol" and "Company Z Consol," based on the identifying "Y" or "Z" in cells A1 of each workbook. Therefore, each month for Company Y would return a value of "16," and each month for Company Z would return a value of "100."

    I can create an extra tab that includes all of the tab names to be used in the formula with "'"&(TABNAMELIST)

    Thank you for your help.
    Attached Files Attached Files

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Use SUMIF or SUMPRODUCT across multiple sheets using a single cell to match criteria

    As the book is laid out you can use simple fixed formulas like Company Y Console Jan = 'Company Y Sheet A'!A3' + 'Company Y Sheet B'!A3.

    Is there more to it that that? Instead of Sheets A and B can there be a varying number of sheets? Also do you want a generic Console meaning Whatever you put into Cell A1 determines which Company Sheets A, B, C ... etc. to look at.

    All this assumes you have a strict naming convention that links sheets to companies.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Registered User
    Join Date
    05-18-2016
    Location
    Denver, CO
    MS-Off Ver
    2010
    Posts
    2

    Re: Use SUMIF or SUMPRODUCT across multiple sheets using a single cell to match criteria

    Thanks for responding!

    Yep it's a bit more complicated as your guesses state:

    1. Yes, I want to be able to add and remove sheets fluidly.
    2. Yes, unsure what generic console means but I would like to be able to create additional sheets and by changing cell A1 to either "Y" or "X" (or addt'l companies down the line) it will automatically be summed into the relevant consolidating company sheet.

    I'm hoping it could be done by creating an extra tab list a list of sheet names: Company X Sheet A, Company X Sheet B, Company X Sheet C... then when a new tab is added you simply add the sheet name to the list. Then, using some sort of sumif/sumproduct or index/match function with the list as a reference it will automatically pull the sheets into the consolidating summary. That's how I envision it working but I can't seem to get the mechanics down myself.

  4. #4
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Use SUMIF or SUMPRODUCT across multiple sheets using a single cell to match criteria

    Try this
    In A4, then drag across
    Please Login or Register  to view this content.
    In A3, then drag horizontal
    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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. match single cell across multiple sheets?
    By JMB10101 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-13-2016, 01:23 PM
  2. Replies: 5
    Last Post: 02-06-2015, 08:44 PM
  3. [SOLVED] index match and sumproduct or sumif on multiple criteria
    By tabkaz in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-02-2014, 06:20 AM
  4. [SOLVED] Excel - Returning multiple values in a single cell that match criteria
    By amazinz2006 in forum Excel General
    Replies: 13
    Last Post: 01-25-2014, 09:35 PM
  5. Replies: 2
    Last Post: 01-23-2013, 06:25 AM
  6. Replies: 0
    Last Post: 08-17-2012, 02:02 PM
  7. Replies: 5
    Last Post: 04-20-2012, 08:54 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