+ Reply to Thread
Results 1 to 5 of 5

Combine Multiple Arrays/Matrices (Get the SUM) into a one big Array (Matrix)

  1. #1
    Registered User
    Join Date
    01-13-2024
    Location
    Philippines
    MS-Off Ver
    2019
    Posts
    2

    Combine Multiple Arrays/Matrices (Get the SUM) into a one big Array (Matrix)

    ALT Title: Shorten the formula of the sum of Index-Matches of Multiple Alternate/Separate Arrays

    Context: I have to add these multiple arrays (matrices) into a one big array (matrix). We add the values of the cells having the same row code/text and the same column code/text for all these multiple arrays to become a one big array (matrix).

    My Method: I used multiple INDEX-MATCH formula for each array. This resulted to a very long formula.

    Problem: Is it possible to shorten this formula using other Excel functions I am not familiar about?

    I hope you will be able to help me with this because I really just want to know if there is a shorte/simpler way to do this. Thank you so much!
    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
    44,063

    Re: Combine Multiple Arrays/Matrices (Get the SUM) into a one big Array (Matrix)

    Ugh. That is one nasty formula. Try this. On the basis of VERY limited checks, it looks OK to me:

    =IFERROR(INDEX(INDEX($B$1:$M$300,MATCH($V4,$A$1:$A$300,0),),,MATCH(W$3,INDEX($B:$M,AGGREGATE(14,6,ROW($A$1:INDEX($A:$A,MATCH($V4,$A$1:$A$300,0)))/($A$1:INDEX($A:$A,MATCH($V4,$A$1:$A$300,0))=""),1),),0)),0)

    in W4, copied across and down.
    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
    01-13-2024
    Location
    Philippines
    MS-Off Ver
    2019
    Posts
    2

    Re: Combine Multiple Arrays/Matrices (Get the SUM) into a one big Array (Matrix)

    I'll try this. Thank you!

  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
    44,063

    Re: Combine Multiple Arrays/Matrices (Get the SUM) into a one big Array (Matrix)

    Did it work out for you?

  5. #5
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Combine Multiple Arrays/Matrices (Get the SUM) into a one big Array (Matrix)

    In W4 and copied to full range.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

+ 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] Array formula to combine 2 numbers into a matrix
    By bekman in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 12-17-2020, 01:50 AM
  2. Find Matrix Inverse for 2*2 and 3*3 matrices
    By Nkrekor in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-11-2019, 01:15 AM
  3. How to combine 2 arrays of data into 1 array
    By london7871 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-28-2016, 01:18 AM
  4. Replies: 2
    Last Post: 06-19-2013, 12:59 PM
  5. Replies: 1
    Last Post: 04-20-2013, 03:31 AM
  6. [SOLVED] MATRICES ISSUE: Trouble translating some geographical matrix theory into a formula
    By spanishguy in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-14-2012, 01:50 PM
  7. how to combine named arrays into a matrix
    By luv2glyd in forum Excel General
    Replies: 9
    Last Post: 06-19-2010, 02:09 PM

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