+ Reply to Thread
Results 1 to 4 of 4

SumProduct & Index Match

  1. #1
    Registered User
    Join Date
    12-17-2019
    Location
    Leeds, UK
    MS-Off Ver
    365
    Posts
    63

    SumProduct & Index Match

    Hi all,

    I have a spreadsheet which predicts bus journey time savings from different packages of interventions at 2 separate and unrelated highway junctions.
    In a sheet called i;BenefitsByType, I have a list of interventions, the journey time benefit (seconds) they each generate, a flag for whether they form part of a package (named 1.1 , 1.2, 2.1.1 , 2.1.2) and the junction movement codes affected by that intervention.
    In a sheet called JTS_Matrices, I have a matrix for each package with the possible movements at each of the 2 junctions.

    I want to automate populating the JTS_Matrices based on the time savings that a given package generates.

    I have completed 2 of the 4 example JTS_Matrices manually to reflect the answers I'm expecting.

    I added the 1's in the i;BenefitsByType sheet as a means of flagging which package(s), if any, a given intervention is part of, and as a means of doing a SUMPRODUCT of some kind.

    In the JTS_Matrices, I'm envisaging some sort of SUMPRODUCT(i;BenefitsByType!$C$3:$C$16,i;BenefitsByType!$B$3:$B$16) but which only includes those where the matrix row ID &"_"& matrix row ID exists in i;BenefitsByType!$G3:$G$16, and which changes the i;BenefitsByType!$C$3:$C$16 part of the SUMPRODUCT depending on the Package matrix ... that way it's all dynamic by matrix cell and by package matrix

    Any help or a solution would be excellent.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,671

    Re: SumProduct & Index Match

    Try

    in C4

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Copy across and down

    in G34

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Results highlighted in attached
    Attached Files Attached Files
    Last edited by JohnTopley; 06-04-2024 at 12:23 PM.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Registered User
    Join Date
    12-17-2019
    Location
    Leeds, UK
    MS-Off Ver
    365
    Posts
    63

    Re: SumProduct & Index Match

    John you're a wizard, thank you very much, that's perfect.

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,671

    Re: SumProduct & Index Match

    You're welcome and thank you for the rep.

+ 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. Sumproduct with Index Match
    By jblack6572 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-16-2022, 05:57 PM
  2. Using VLOOKUP but would prefer INDEX MATCH MATCH w/SUMIFS or SUMPRODUCT
    By Sparky123atHouston in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-10-2022, 07:13 PM
  3. [SOLVED] Index Match or sumproduct with 3 criteria to match
    By golden2282 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-18-2016, 03:10 PM
  4. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  5. Replies: 13
    Last Post: 12-13-2012, 11:44 AM
  6. Replies: 5
    Last Post: 04-20-2012, 08:54 AM
  7. SumProduct / Match / Index
    By nikumon in forum Excel General
    Replies: 8
    Last Post: 08-04-2011, 01:18 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