I have a conditional index-match
=IF(ISBLANK(E3),0,INDEX(Positions!$F$2:$F$22,MATCH($A3,Positions!$A$2:$A$22,0)))
which works fine, however I want to now obtain a sum of the results of this function over a range of values. I tried
=SUM(IF(ISBLANK(E3:E32),0,INDEX(Positions!$F$2:$F$22,MATCH($A3:$A32,Positions!$A$2:$A$22,0)))
but changing the single cell values is ISBLANK
and MATCH
returns me an invalid value. How can I obtain the sum of the first function over a range of cells?