Is it possible to have a macro that deletes entries based on different colored text or keywords, below is a document of some attack logs from a game and we were trying to filter out the unwanted ones (logs are on sheet 2 so to not clutter up the page, and members on sheet 1) using excel 2007. Basically the only good entries we would like to keep are in green where it says something like 10:42:43 PM H00D hospitalized ZetaXeno 06/09/11
If its easier to look for the things that we dont want would be any lines in red heres a few samples but the color in general is unfavorable results
10:19:34 PM T-Bohn hospitalized crunkenstein 06/09/11
10:44:38 PM The_Ranger attacked Juan_Herndez and lost 06/09/11
any lines in green that contain attacked or mugged such as
10:44:38 PM The_Ranger attacked Juan_Herndez and lost 06/09/11
10:20:33 PM H00D mugged Gamer 06/09/11
The excel workbook posted is just a small sample of these we normally have 500-600+ entries in a day and thats to many to hand sort. The plan is to make an if statement or something like that, so that every time it seen H00d hospitalized in green it would add 1 to his total. Not sure how to do that part yet, tried if statements with =if * H00d hospitalized*, then if true count++ else blank but never got the logical part right.
Also not sure how hard it would be to strip the time and date in the macro but its not needed at all just in the other cell when you copy from the webpage.
Bookmarks