+ Reply to Thread
Results 1 to 10 of 10

Summing Multiple sheets (indirect formula)

  1. #1
    Valued Forum Contributor
    Join Date
    04-21-2005
    Location
    Southern England
    MS-Off Ver
    Excel for Office 365
    Posts
    1,689

    Summing Multiple sheets (indirect formula)

    Hi,
    I have a summary sheet with the following formula

    Please Login or Register  to view this content.
    The ‘1:3’ is the sheet range I want it to sum. This however changes as there could be at times over 100 sheets in which I need it to sum.

    Can anyone suggest a formula which I could use where somewhere in the summary sheet I input the sheets I want it to sum e.g. “1:3” and the formula would then sum all sheets in this range.

    The problem I have with the current formula is when I delete all sheets e.g. sheets “1”, “2” and “3” and then recreate them all the formulas on the summary sheet return #REF.

    I have attached an example...
    Attached Files Attached Files
    Last edited by pauldaddyadams; 03-16-2012 at 05:08 AM.

  2. #2
    Forum Contributor WinteE's Avatar
    Join Date
    04-07-2007
    Location
    Netherlands
    Posts
    544

    Re: Summing Multiple sheets (indirect formula)

    Add two new sheets 'First' and 'Last' to your workbook. Position the sheets you want to sum together between this new sheets.
    With the formula =SUM(First:Last!F8) you can sum cell F8.

    See the attached file.Sum multiple sheets.xls
    Just keep it simple !


    http://www.excelguide.eu
    In English as well as in Dutch

  3. #3
    Valued Forum Contributor
    Join Date
    04-21-2005
    Location
    Southern England
    MS-Off Ver
    Excel for Office 365
    Posts
    1,689

    Re: Summing Multiple sheets (indirect formula)

    Hi,

    Thank you for replying - is this the only way it can be done? Does anyone know of a indirect formula that I could use?

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Summing Multiple sheets (indirect formula)

    Hi Paul

    This works for me.

    =SUMPRODUCT(--N(INDIRECT(""&ROW(1:3)&"!F9")))

    Hope, for you, too.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  5. #5
    Valued Forum Contributor
    Join Date
    04-21-2005
    Location
    Southern England
    MS-Off Ver
    Excel for Office 365
    Posts
    1,689

    Re: Summing Multiple sheets (indirect formula)

    Hi,

    When I drag this accross and down it wants to change the sheets "1:74" - can this be prevented?

    Also,when I drag this (below) to the right I would need it to change to G56

    Please Login or Register  to view this content.
    And, when I drag it down I would want it to change to F57 however this stays constat at F56

    Any suggestions?

  6. #6
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Summing Multiple sheets (indirect formula)

    This should work,

    =SUMPRODUCT(N(INDIRECT("'"&ROW(INDIRECT("1:74"))&"'!"&ADDRESS(ROWS($1:1)+55,COLUMNS($A:A)+5))))

    Then copy across & down.
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  7. #7
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Summing Multiple sheets (indirect formula)

    CELL function is useful for this - try this version copied across

    =SUMPRODUCT(N(INDIRECT("'"&ROW(INDIRECT("1:74"))&"'!"&CELL("address",F56))))
    Audere est facere

  8. #8
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Summing Multiple sheets (indirect formula)

    Nice one DLL with CELL

  9. #9
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Summing Multiple sheets (indirect formula)

    @DDL

    Excellent formula. CELL function, makes the difference.

  10. #10
    Valued Forum Contributor
    Join Date
    04-21-2005
    Location
    Southern England
    MS-Off Ver
    Excel for Office 365
    Posts
    1,689

    Re: Summing Multiple sheets (indirect formula)

    Thank you all for looking at this. DLL's formula worked perfectly

+ 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