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:


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.

Thanks in advance :)

(using Office 2011 for Mac)
 

Some videos you may like

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.

Watch MrExcel Video

Forum statistics

Threads
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...
  • Auto-Create a monthly Sign in sheet for preschool students
    The image below is what each page looks like. Above is space for the "Child Name" "Month" "Class" School days are obviously Monday-Friday but...
  • VBA vlookup multiple results
    Hi folks, Hopefully someone out there can help. I have a list to vlookup which works (ish). the lookup only picks up the first instance of the...
  • Extract values for earliest/latest times
    I am trying to put together a formula to get the earliest start time, the latest end time from column A for each person in Column B-F without the...
Top