+ Reply to Thread
Results 1 to 3 of 3

auto update sum range - for multiple sheets - indirect formula?

  1. #1
    Registered User
    Join Date
    03-17-2014
    Location
    Amsterdam
    MS-Off Ver
    Excel 2007
    Posts
    1

    auto update sum range - for multiple sheets - indirect formula?

    Hi,
    I have a workbook with multiple sheets (company per sheet) and want a "total-sheet" of all companies/sheets in an identical format as the individual tabs.

    I use a formula like: =SUM(Sheet1:Sheet2!D4) --> this formula is located in cell D4 of the "total-sheet", such that they have the same format as underlying sheets

    But when I change the set-up of the sheets, for instance add a row in the underlying Sheets, let's say above row D, this formula in the total sheet no longer refers to the same row (or when I add a column to the same column, but that happens less) on the other sheets. So the total in former cell D4 will keep referring to row 4 on the other sheets (unlike a normal SUM(), formula)

    Is there a way to make a formula relative to for instance row-nr and column-nr, such that the formulas in the total sheet don't need updating when a row is inserted? I could not manage that with an indirect formulas to replace "D4" in the above formula.

    Thanks
    Last edited by mhapijnappel; 04-04-2020 at 07:09 AM.

  2. #2
    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: auto update sum range - for multiple sheets - indirect formula?

    Perhaps a basic question but do you really need separate sheets for different companies?

    You seem to be mixing up the two elements of data capture and final reporting. The two require quite different treatments.

    A lot of people start by designing the form/sheet layouts that they expect to see as the final report or which at first glance seems the best way of capturing data, and then wonder why it's so difficult to subsequently analyse and summarise or extract information from it.

    You should always capture data in a simple two dimensional table and worry about reporting information from it afterwards. Without exception doing this you will always be able to easily obtain management information. Rarely is this the case if you start the other way round.
    You will also throw open the whole wonderful world of the powerful Pivot table functionality and of course Excel's standard filtering functionalit allows you te easily extrct subsets (e.g. a particular company) from the database.

    So before you get too far with this I'd create a single sheet database that contains all the columns from your sheets and copy and paste all the sheet details underneath each other on a single sheet. Add an extra column to record the company reference for each row. If there are dozens of sheets a simple macro could do this for you so if you need help doing this then just ask.

    Otherwise if there are only a few do the copy and paste manually.
    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.

  3. #3
    Registered User
    Join Date
    03-22-2020
    Location
    Malaysia
    MS-Off Ver
    2013 and 365 Pro Plus
    Posts
    56

    Re: auto update sum range - for multiple sheets - indirect formula?

    1. move the total formula to D1 on every sheet, maybe something like this =sum(D6:D100)
    2. hide row 1
    3. in Total sheet, =SUM(Sheet1:Sheet2!A1:N1)

    This solve the problem if you ever add or delete row between D1 and D4
    This solve the problem if you ever add any column between A to N... you may adjust the column what ever range you wish.

    If this doesn't solve your problem, maybe you should show your worksheet and we look at it and see what we could do...

+ 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. Indirect formula for multiple sheets
    By tshepolt in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-20-2018, 08:01 AM
  2. INDIRECT () Auto Update
    By mbrandt5 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-10-2018, 12:48 PM
  3. Replies: 1
    Last Post: 04-14-2014, 04:11 AM
  4. [SOLVED] Help with setting a range of cells to auto update a formula
    By Cyali in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-02-2012, 09:43 PM
  5. Replies: 11
    Last Post: 04-22-2012, 09:14 AM
  6. Summing Multiple sheets (indirect formula)
    By pauldaddyadams in forum Excel General
    Replies: 9
    Last Post: 03-16-2012, 05:08 AM
  7. Replies: 4
    Last Post: 10-07-2009, 07:14 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