Searching 20k+ lines for certain text

theover

New Member
Joined
Oct 24, 2017
Messages
5
Hi Team

I hope someone can assist me. I'm trying to get a vba or function going to search through 20k+ lines (only column A) for results like "Event" or "Event Management" and would like to know how many times it occurs (typically a Work note)

the line of column A looks something like this:
[TABLE="width: 161"]
<tbody>[TR]
[TD="class: xl63, width: 161, align: left"]23-10-2017 15:52:39 - Event Management (Work notes)
Server: Servername01
Date: 23/10/2017
Time: 15:52:30
UID: 623717e5-fc92-4d96-a3e9-c1c4e5d45c0d
Dest: 10.220.6.10
ESM Tool: SCOM2007
Agent Instance: Client32
Agent Class: SCOM2007
State: Error
Source: ESM
Client: Client32
Header: X-CALL
Instance Detail: Failed to Connect to Computer
User Data: The computer Servername01.01.com was not accessible.

[/TD]
[/TR]
</tbody>[/TABLE]


suggestions welcome please? I have been working through some code and even tried countif but not after a hole bunch of modifications on the data. I'm convinced that after the data modifications some of the data disappear as the results are not consistent

thanks in advance
Theover
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Or, if you don't want to change your formula for each new search term, you could keep the quoted asterics and point to a cell for the search term:

=COUNTIF(A:A,"*"& B1 & "*")
 
Upvote 0
Solved, mistake on my side. had the separator set as ; instead of , thus the formula was incorrect. thanks for the help guys
 
Upvote 0
Glad you got it sorted & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top