Sum all the multiple result of index + match function

Facens

New Member
Hi,
I successfully followed this guide to leverage the index+match function with multiple criteria:
How to Use INDEX MATCH MATCH

The example from the article more or less fits with the use case, re-pasting it here:

Compared to this example, though, I have a few differences that I'm finding hard to implement. Being:
1. I have an offset between the matching row and the one where I have to pick up the value from
2. The table contains way more data and some of the rows are not relevant, making it harder to use sumproduct
3. I have multiple rows with the same value in the State column

The formula I'm using now works and is the following:
=INDEX(Hires!\$A:\$BA; MATCH(\$A15;Hires!\$B:\$B;0)+4; MATCH(HR!AG\$2;Hires!\$1:\$1;0))

The only problem I have is that, given "3" above, I need to be able to sum together all of the results coming from the index+match function, while now I'm just returned with the first matching value.
I've tried researching for two hours and trying different approaches but most rely on a well formatted table that I don't have. My sheet looks like this:

Where G24 is one of the values I have to sum, the criteria are defined in another sheet and the search for the match happens on the "B" column, looking for all the occurrences of CLO or "Busines development, advertising ..." and summing the RAL value for each month.

(using Office 2011 for Mac)

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.

kvsrinivasamurthy

Well-known Member
IN B8 of HR sheet, then drag.
Code:
``=SUM(INDEX(Hires!\$A:\$BA, MATCH(\$A8,Hires!\$B:\$B,0)+4, ))``

Facens

New Member
IN B8 of HR sheet, then drag.
Code:
``=SUM(INDEX(Hires!\$A:\$BA, MATCH(\$A8,Hires!\$B:\$B,0)+4, ))``

Doesn't seem to be working, are you sure?

kvsrinivasamurthy

Well-known Member
Show the result required because I am not able to get what is required.

Replies
7
Views
143
Replies
4
Views
212
Replies
1
Views
93
Replies
1
Views
76
Replies
3
Views
98

1,109,413
Messages
5,528,632
Members
409,828
Latest member
99DodgeRam

This Week's Hot Topics

• Change military grades into rank
Afternoon all Need help with formula that will change military rank (i.e. 1, 2, 3 into Amn, A1C, SrA). Running IF formula that does not work...
• VBA COUNTIF SOLUTION
Hi The following are the errors spread across the several columns from E to Q ie. 13 columns across several sheets with more than 500 rows per...
• INSERT ROW WITH SPECIFIS TEXT IN A COLUMN
Hi All! How can identify that that the row to be inserted has to be inserted before 1st row with specific text in column F. If I record the...