Not sure you need an INDEX MATCH - SUMIF should suffice based on what you've shown us.