Count from Input box

  • Thread starter Thread starter DB100
  • Start date Start date
D

DB100

Hi all

Just a quick one...

I have a list of data that has no more than 30 differing names. Bu
there about 10000 entries

To complete something I am working on, I need to be able to count ho
many times a name may appear in the list, depending on what name i
entered in the text box on my user form.

Hope you can help

Thank
 
num =
Application.Countif(Range("A1:A10000"),worksheets("Sheet1").Textbox1.Text)
 

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