+ Reply to Thread
Results 1 to 4 of 4

Dynamic sum across various sheets - sumifs / sumproduct / indirect

  1. #1
    Registered User
    Join Date
    07-01-2021
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    2

    Dynamic sum across various sheets - sumifs / sumproduct / indirect

    Issue: Require a SUMIFS formula to sum a common cell reference in a range of sheets, if that sheet has a certain characteristic.

    Context: I have built a financial model to analyse property development of several "precincts" that contain individual buildings ("elements") within the precincts. Best way to think about it is your local large box retail park as being one precinct and the buildings within are the elements. My cashflows contain items such as rental income, construction costs, professional fees, etc.

    My goal is to accurately sum each cashflow item on a monthly basis to summarise the cashflows at a precinct level. Critically, i need the flexibility to change the precinct in which i attribute the elements to (using a switch in the element control panel).

    I have setup two control panel tabs one for 4 overarching precincts and another for 10 individual elements that each are characterized by the precinct they are in. e.g.
    Elements 1 to 3 are in precinct 1, elements 4 to 6 are precinct 2, elements 7 to 7 are precinct 3, and elements 8 to 10 are precinct 4.

    Ideally, i would like to flick the switch on the element control tab and change its precinct and have that reflect directly in the precinct level cashflow.

    Current approach:

    I have tried several methods to which i have not had any success. These include using the sumproduct and indirect functions (see the attached spreadsheet).

    Request: I need a formula that i can copy across and down in the precinct tabs that captures all cashflows of that precinct type as specified in the individual elements.


    I have attached a very simplified version of my model that hopefully helps clear up any misunderstanding. Please ask if clarification is needed.

    Thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Dynamic sum across various sheets - sumifs / sumproduct / indirect

    I would do this entirely differently!!

    1. There is no need for 4 separate precinct type sheets. use 1 and a dropdown box. C3 on Precinct Type 1 sheet.

    2. Set up a small table showing the relationships between types and sheets (purple cells in "List").

    3. Set up 4 Named Ranges for each Type (CTRL-F3 to view/edit).

    4. Use this formula in H4, copied across:
    =SUMPRODUCT(SUM(INDIRECT("'"&INDIRECT("Type"&$C$3)&"'!"&ADDRESS(6,COLUMNS($A:G),4))))
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    07-01-2021
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    2

    Re: Dynamic sum across various sheets - sumifs / sumproduct / indirect

    Thanks Glenn, this is very helpful.

    I too considered the approach of using only 1 sheet for the precinct but unfortunately i need to show the performance metrics of each precinct simultaneously (think IRR, NPV, money multiples, etc.).

    Will revert if I have any difficulties.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Dynamic sum across various sheets - sumifs / sumproduct / indirect

    Fair enough... But at least you have the basics up and running.

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

+ 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. SumIFS with dynamic sheet reference not using INDIRECT
    By MichaelLuthi in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-19-2019, 11:55 PM
  2. Multisheet summary with Sumproduct, Sumifs, Indirect, and from to range
    By Chrisbou in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-03-2019, 02:15 PM
  3. SUMPRODUCT/SUMIFS Dynamic array doesn't works
    By regoroes in forum Excel General
    Replies: 5
    Last Post: 01-04-2018, 03:01 AM
  4. Replies: 12
    Last Post: 05-19-2016, 11:08 PM
  5. Optimize SUMPRODUCT with dynamic sum range. SUMIFS??
    By ron2k_1 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-19-2015, 05:33 PM
  6. [SOLVED] SUMPRODUCT(SUMIF(INDIRECT with Dynamic Worksheet Range
    By decipher in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-07-2014, 05:40 AM
  7. Replies: 3
    Last Post: 06-19-2014, 10:30 AM

Tags for this Thread

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