counting column elements

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I just imported a text file into Excel. I want to be able to count up the number of elements in Column A1 so I can get an exact count to set up an Array. Can anyone help? Really appreciate the help. Thanks in advance.
 
Hi Daniel
with the assumption that where are no blank rows in between use
=COUNTA($A:$A)
HTH
Frank
 
msgbox Range(cells(1,1),cells(rows.count,1).End(xlup)).count

--
Regards,
Tom Ogilvy

Daniel Pena said:
I just imported a text file into Excel. I want to be able to count up the
number of elements in Column A1 so I can get an exact count to set up an
Array. Can anyone help? Really appreciate the help. Thanks in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top