I have a situation where i would like a cell to be treated as blank so i can use the COUNTA function,

the formula I currently use sets the cells to empty

=IFERROR(IF(INDEX($A$1:$A$15,H2,)=0,"",INDEX($A$1:$A$15,H2,)),"")

don't need to worry about the workings behind it but essentially is there a way to get excel to read the "" as blank?