Hi,This works: =IF(COUNTIF(C2: P2,">0"),COUNTIF(C2: P2,">0"),"-")
Thanks.
=SUMPRODUCT(SIGN(C2:P2))
Great suggestion!Hi,
Your logical test and TRUE result are same, so you don't really need the IF here.
Go with just COUNTIF as mentioned above with a custom format.
Here is one more alternate:
Code:=SUMPRODUCT(SIGN(C2:P2))
Regards,
I never considered a custom number format. Great idea!Why not simply: =COUNTIF(C2 : P2,">0")
and apply a custom number format of
0;-0;"-"