I have a bit of a dilemma with the Countif Index and Match function when used for multiple tables. (on Google Sheets) Basically what I want to do is the following:
I use a simple table as an example - I want to count the sum total of values with similar descriptions (Like A, B etc) over different tables.
If I use "=SUMIF($D$2:D$10,"A",Index($D$2:$E$10,Match("A",$D$2:$D$10,0),2))" for A where the Match is used for the [row], A gives a correct answer, but B, C etc is incorrect.
On the other hand, when I use "=SUMIF($D$2:D$10,"B",Index($D$2:$E$10,0,Match("B",$D$2:$D$10,0)))" where the Match is used for [column], B is correct but everything else is wrong.
I'm not sure where my mistake is and why I cant get the formula to work for all variables? And then across all tables too.
Please assist :D

