I have in G2 =COUNT(JSEA_ID), where JSEA_ID is the named range in another sheet.

However, how can modify this to only count values that are either positive, or a whole number ?

I tried G2 = IF(JSEA_ID>0,COUNT(JSEA_ID),""), but i still get the same result.