You can't put a null value in B4, which is what your IFERROR does, because that's what the COUNTIF is counting (I think). So you need it to put something there that the COUNTIF won't find. You could use Conditional Formatting to hide the "no data" (white font and background) and a Custom Format to hide the zero in C4.