SUM INDEX MATCH Help.

tandkb

Board Regular
Joined
Dec 29, 2010
Messages
51
Office Version
  1. 365
Platform
  1. Windows
Hi I am currently using this formula.

=IFERROR(INDEX(Transfers!$J$5:$J$999999,MATCH(A68&$A$61,Transfers!$F$5:$F$999999&Transfers!$H$5:$H$999999,0),MATCH($A$3,Transfers!$E$5:$E$999999,0)),0)

It works great except it does not sum multiple matches it only find the first match in the table. I need it to SUM all the matches in the table.

Thanks so much for your help in advance!
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Without trying to reproduce your roughly million rows, I would suggest you consider SUMPRODUCT as an option.
Have you tried that?

Or post a smaller version of your file with examples.
 
Upvote 0
Without trying to reproduce your roughly million rows, I would suggest you consider SUMPRODUCT as an option.
Have you tried that?

Or post a smaller version of your file with examples.

The number of rows dont matter. I just need to know where to put the SUMProduct in the formula. Everywhere that is 9999999 you can replace with just a 9.

Thanks so much.
 
Last edited:
Upvote 0
Try this

=SUMPRODUCT((A68&$A$61=Transfers!$F$5:$F$9&Transfers!$H$5:$H$9)*($A$3=Transfers!$E$5:$E$9)*(Transfers!$J$5:$J$9))
 
Upvote 0
DanteAmor has written the sumproduct.

His example sums the J column when the concatenation of the two A-column values match the Transfers in the F column and the A3 value matches the E column in Transfers.
 
Last edited:
Upvote 0
I still need it to INDEX MATCH because there are 3 criteria that has to match in order for it to SUM the correct numbers. Can i do SUM with INDEX MATCH?
 
Upvote 0
This is my example and it works.


You can set your example, say what you want to add and what the result is.

Excel Workbook
ABCDEFGHIJKLM
1
221
3a3
4
5a3a68a615
6a4a68a616
7a3a68a617
8a4a68a618
9a3a68a619
60
61a61
62
67
68a68
69
Transfers
 
Upvote 0
DanteAmor has written the sumproduct.

His example sums the J column when the concatenation of the two A-column values match the Transfers in the F column and the A3 value matches the E column in Transfers.

Ok so the concatenation of the two A-column values need to match the Transfers F and H Columns and A3 matches E Column in Transfers.

How would that work?? Thanks again!
 
Upvote 0
I am sorry. I am an idiot. having the 9 in there did not give me all my data and when I corrected it. It worked perfect. Thanks so much. The sum product is a much easier forumula than the index match. Is there a way to do the index match I am using with out getting the sum easier than using an index match?

That did not make a whole lot of sense. I am using the Index Match for a different calculation and it is very resource intensive. Can I get the same result not using that and make my sheet more responsive?

Thanks!
 
Upvote 0
To improve sheet performance, you must change 999999 to a smaller number, perhaps a slack of 10 additional rows over the last cell with data.
Having several array formulas does not improve sheet performance.
If the sheet is very slow, then you could change some formulas for macros.
 
Upvote 0

Forum statistics

Threads
1,214,606
Messages
6,120,483
Members
448,967
Latest member
visheshkotha

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top