Hi,
My table has multiple cells with text and values in the same cell, I want to be able to sum the numbers that are in the same cell as the text "SP", but only when those cells are in the same row as the "Attack" row and also broken down into different the different stances on the overview page.
I have been trying the SUMPRODUCT formulas and believe I am close with this:
=SUMPRODUCT((INDIRECT($E$5&"[Style]")=G8)*(INDIRECT($E$5&"[Attack/Defense]")="Attack")*(INDIRECT($E$5&"[[1]:[13]]")<>"")*(INDIRECT($E$5&"[[1]:[13]]")<>"MISS")*(LEFT(INDIRECT($E$5&"[[1]:[13]]"),2)="SP"),(IF((LEFT(INDIRECT($E$5&"[[1]:[13]]"),2)="SP"),(SUBSTITUTE(INDIRECT($E$5&"[[1]:[13]]"),"SP","")+0),0)))
But I keep getting #value error.
If I analyse the two arrays in this formula with F9, it gives the correct values and both seem to be the same size but it wont do the final calculation?
Any help would be much appreciated!
Sample worksheet below: Refer to formulas in the "special hits" columns of the overview page.
Bookmarks