+ Reply to Thread
Results 1 to 7 of 7

Array formula help across multiple tabs

  1. #1
    Registered User
    Join Date
    04-03-2009
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2003
    Posts
    17

    Array formula help across multiple tabs

    Hi all,
    First time poster, long time user of the site. I'm stuck with a formula and want to see if someone here can crack it. I've attached an example.

    What I'm trying to do is populate a table on tab 1, summing sales figures for different markets and different weeks. The data sheet on tab 2 is the 'raw' data from which the table (tab 1) is to populate from.

    I've tried a Sumif array formula, which only gets me so far (ie: I can get it to populate for 2 variables, but I'm missing part of the formula to look up the 3rd variable).

    Help on this one would be greatly appreciated as I'm stumped.
    Thanks,
    Attached Files Attached Files
    Last edited by Fatnslow; 04-05-2009 at 10:22 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Array formula help across multiple tabs

    In B3, =SUMPRODUCT( (Data!$C$2:$C$17 = Table!$A3) * (Data!$D$2:$D$17 = Table!B$2) * Data!$E$2:$E$17)

    Then copy across and down.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    04-03-2009
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Array formula help across multiple tabs

    Thankyou so very much shg!

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Array formula help across multiple tabs

    You’re welcome. Would you please mark the thread as Solved?

    Click the Edit button on your first post in the thread

    Click Go Advanced, select [SOLVED] from the Prefix dropdown, then click Save Changes

  5. #5
    Registered User
    Join Date
    04-03-2009
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Array formula help across multiple tabs

    Thanks to shg for solving my formula error, I now have another problem with this file.

    If I 'delete' the data sheet and insert some new data in tab 2, the table in tab 1 returns a #REF error.

    Does anyone know how to fix this issue? Am I missing something from the original formula?

    Thanks again,

  6. #6
    Forum Contributor
    Join Date
    03-31-2009
    Location
    Childers QLD, Australia
    MS-Off Ver
    Excel 2003, 2007 & 2013
    Posts
    128

    Re: Array formula help across multiple tabs

    Hi,

    It appears that you deleted all data lines, that is why you got the REF.

    You can select the DATA and delete the values.

    The formula's will only remain in tack if you still have a reference point.

    Cheers

    Tony

  7. #7
    Registered User
    Join Date
    04-03-2009
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Array formula help across multiple tabs

    OK, adding another variable here into the equation.

    Thanks to all those who have replyied.

    I've added a 'column' on the data sheet (tab 2) as a 'product'. I now want to populate the table in tab 1 to take this new variable into account. Will this just be a quick 'rejig' of the formula given to me by shg?

    New file is attached.

    Thanks again,
    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)

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