Sum all the multiple result of index + match function

Facens

New Member
Joined
Sep 6, 2014
Messages
10
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:
INDEX-MATCH-MATCH-11.png


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:
Screen%20Shot%202015-03-12%20at%2013.43.13.png


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.

Thanks in advance :)

(using Office 2011 for Mac)
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off

Forum statistics

Threads
1,212,927
Messages
6,110,728
Members
448,294
Latest member
jmjmjmjmjmjm

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