I am using an array formula to match 2 values against a range. I would like to know if it is possible to have the formula sum every instance of the match.

Formula i use to match:
{=INDEX($G$1:$G$9,MATCH(A1&B1,$E$1:$E$9&$F$1:$F$9,0))}

I want to sum the values found in "$G$1:$G$9" every time (A1&B1) is found in "$E$1:$E$9&$F$1:$F$9"