View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Alain Dekker[_2_] Alain Dekker[_2_] is offline
external usenet poster
 
Posts: 11
Default Count of visible, non-blank cells only?

Hi,

I set up a new workbook and put the values 1,2,3,4 into cells A1 to A4
respectively. Leave A5 and A6 blank. Now I put the formula "=count(B1:B6)"
into cell A7 and the values is 4 (ie. 4 non-blank cells).

All well and good.

Now I hide row 3. The value still stays 4. I know this is correct, but is
there another formula that just counts visible, non-blank cells?

Thanks,
Alain