+ Reply to Thread
Results 1 to 6 of 6

Sum of C3 in all sheets and put in result in master sheet

  1. #1
    Registered User
    Join Date
    07-24-2013
    Location
    Salt Lake City, Utah
    MS-Off Ver
    MS 2007
    Posts
    45

    Sum of C3 in all sheets and put in result in master sheet

    I have a workbook with a master spreadsheet and ~100 feeder sheets.

    In cell B3 of the master, I want a formula that sums all C3 inputs from the feeder sheets.
    I want to drag this formula to the right so cell C3 of the master contains sums of all D3 inputs from the feeder sheets, and
    I want to drag the formula down so cell B4 of the master contains the the sums of all C4 inputs from the feeder sheets,
    etc

    Hard to explain. Hope someone can help.

    thebutlerdidit

  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 of C3 in all sheets and put in result in master sheet

    Create a "sheet sandwich".

    Insert a new sheet to the immediate left of the first sheet
    you want to include in the calculation. Name this sheet Start.

    Insert a new sheet to the immediate right of the last sheet
    you want to include in the calculation. Name this sheet End.

    Then, the formula would be:

    =SUM(Start:End!C3)

    When you add new sheets that need to be included in the
    calculation just put them between the Start sheet and the
    End sheet.

    Copy across and down as needed.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Sum of C3 in all sheets and put in result in master sheet

    Hi,

    =SUM(Sheet1:Sheet100!C3)

    provided that Sheet1 and Sheet100 are the left- and rightmost of your sheets respectively (as seen by the viewer) in the workbook.

    Regards
    Click * below if this answer helped

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

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Sum of C3 in all sheets and put in result in master sheet

    Hi,

    Try

    =SUM('FirstSheet:LastSheet'!D3)

    where FirstSheet and LastSheet are the first and last tabs you're trying to sum. There must be no other sheets in between otherwise they too will be summed. To avoid potential problems when adding sheet tabs that you want included it's generally considered good practice to create two hidden dummy sheets called say 'First' and 'Last' at either end of your tab names and use these names in the formula.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  5. #5
    Registered User
    Join Date
    07-24-2013
    Location
    Salt Lake City, Utah
    MS-Off Ver
    MS 2007
    Posts
    45

    Re: Sum of C3 in all sheets and put in result in master sheet

    Tony, the sheet sandwich is ridiculously cool! Thanks for providing me with a great solution!

    thebutlerdidit

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

    Re: Sum of C3 in all sheets and put in result in master sheet

    You're welcome. Thanks for the feedback!

+ 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] Master sheet to split sheets back to another master sheet
    By FurRelKT in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-24-2017, 02:08 PM
  2. Macro to apply a filter from one sheet (a master sheet) to all sheets in workbook
    By SeaniGeld in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-30-2013, 02:00 PM
  3. [SOLVED] Add Data in Different Sheets and Result in Master Sheet based on Cell Values
    By dksodhi in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-18-2013, 01:08 PM
  4. Help. Master Sheet to Sub Cat. Sheets
    By spitfire627 in forum Excel General
    Replies: 0
    Last Post: 02-20-2009, 11:49 AM
  5. Concentrating several sheets in one master sheet
    By 1976petter in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-07-2006, 08:55 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