View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Gary''s Student Gary''s Student is offline
external usenet poster
 
Posts: 11,058
Default How do I count non blank rows only?

=COUNTA(B:B)
will count all the non-empty entries in column B
--
Gary''s Student - gsnu200793


"Susan Mc" wrote:

This seems so simple but I've spent hours without resolution. In column A,
I need to count the number of rows that actually have data in them. If there
is no data, I need to keep column A blank. Here's an oversimplied example of
my simple list.

1 John Doe
2 Susan Smith
3 Joe Dear

In column A now I have =COUNTA($B$2:B64) and that works great until you
hit a row with no data.

I have tried all these:
=IF(G690,(=COUNTA($B$2:B69))," ")

Also =COUNTIF($B$2:B69,"0")

There's got to be an easy way that I'm missing!! HEEEELP please.

Thank you,
Susan