+ Reply to Thread
Results 1 to 5 of 5

Sum across sheets with condition

  1. #1
    Valued Forum Contributor
    Join Date
    04-13-2011
    Location
    Ottawa, Canada
    MS-Off Ver
    365
    Posts
    1,067

    Sum across sheets with condition

    Hello,

    I'm trying to sum across several sheets with condition.

    May I know how to do it?

    For example, I have sheets that setup as 'Start', 'Sheet1', 'Sheet2', ... ... , 'Sheet99', 'Sheet100', 'Stop'.

    Usually, a simple formula below will sum the whole sheets that's from 'Start' to 'Stop' of cell A1.

    Please Login or Register  to view this content.
    My question now is, if I want to sum ONLY IF a condition is met, how do I go about doing it?

    I tried the formula below and it's giving me #VALUE! error

    Please Login or Register  to view this content.
    By the way, I'm TOTALLY AVOIDING using the Indirect function. Reason being, upper level management would like to see something, and by removing the 'Sheet x' where x is 1 to 100 outside of 'Start' or 'Stop', they're able to see the calculated values instantly. If I were to use INDIRECT function, that means that for sheets that are removed outside of the range of 'Start' to 'Stop' sheet, it'll still get's calculated
    Last edited by dluhut; 08-22-2016 at 06:13 PM.

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Sum across sheets with condition

    Not possible without using the INDIRECT function.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,819

    Re: Sum across sheets with condition

    The SUMIF() function does not support 3D references, so you need a different approach to do conditional sums.

    Are you willing to use helper cells (gasp!)? I have frequently thought that the easiest way to do a conditional 3D sum is to have a conditional sum on each tab, then use a simple sum function with the 3D reference on the summary tab.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  4. #4
    Valued Forum Contributor
    Join Date
    04-13-2011
    Location
    Ottawa, Canada
    MS-Off Ver
    365
    Posts
    1,067

    Re: Sum across sheets with condition

    Thanks for the reply.

    How would the helper cells be like? Can you give a general idea?

  5. #5
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,819

    Re: Sum across sheets with condition

    It should look very similar to the SUMIF() function you posted (without the tab names for the 3D reference): =SUMIF($AD$17:$AD$1000,$A42,$AA$17:$AA$1000)

+ 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] Copy between sheets based on condition
    By justmatt in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-17-2014, 03:39 PM
  2. [SOLVED] hyperlink 2 sheets by condition
    By nicu in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 12-19-2013, 06:24 AM
  3. [SOLVED] Hyperlink 2 sheets by condition
    By nicu in forum Excel General
    Replies: 1
    Last Post: 12-19-2013, 05:01 AM
  4. Merging 2 sheets based on a condition
    By bhavv in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-06-2012, 05:08 PM
  5. sum multiple sheets based on condition
    By Mile029 in forum Excel General
    Replies: 2
    Last Post: 05-25-2011, 04:59 PM
  6. Replies: 12
    Last Post: 03-17-2011, 11:45 AM
  7. Excel 2007 : Average across sheets with condition
    By SMP1 in forum Excel General
    Replies: 0
    Last Post: 02-19-2010, 08:27 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