ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Count from Input box (https://www.excelbanter.com/excel-programming/307856-count-input-box.html)

DB100[_9_]

Count from Input box
 
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

--
Message posted from http://www.ExcelForum.com


Tom Ogilvy

Count from Input box
 
num =
Application.Countif(Range("A1:A10000"),worksheets( "Sheet1").Textbox1.Text)

--
Regards,
Tom Ogilvy

"DB100 " wrote in message
...
Hi all

Just a quick one...

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

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

Hope you can help

Thanks


---
Message posted from http://www.ExcelForum.com/




DB100[_11_]

Count from Input box
 
Perfect

Thank

--
Message posted from http://www.ExcelForum.com



All times are GMT +1. The time now is 01:23 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com