just use COUNTA broI use below formula to count non blank cell
=COUNTIF(BG5:BG6,"<>")
have formula on these cell, sometimes the formula return blank but my countif always count the cell because the formula is there
How to resolve it?
thanks,
=COUNTIF(BG5:BG6,"<>")
=COUNTIF(BG5:BG6,"<>")-COUNTIF(BG5:BG6,"")
=COUNTA(BG5:BG6)-COUNTIF(BG5:BG6,"")
=SUMPRODUCT(--(BG5:BG6<>""))
The downside of "?*" is that it will only count cells containing text. It will ignore numbers.Try this:
=COUNTIF(BG5:BG6,"?*")+COUNT(BG5:BG6)