PC Review


Reply
Thread Tools Rate Thread

Counting the number of times a word appears 'anywhere' on a page

 
 
Brother Laz
Guest
Posts: n/a
 
      17th Jun 2006

I'm trying to clean up a rather large file. The first field of each row
is the name of the row, and if this name does not appear anywhere else
in the file, or in any of three other files, the row can be eliminated.
If it appears 5 times or more, it should be marked as such.

So I'm looking for a way to search for the contents of the first row in
the entire page and three other pages (minus the field containing the
name I'm searching for in the first place) and return the number of
hits. I'm sure there is an easy way to do this, but I haven't managed
to figure it out yet and time is precious in a computer lab.

I'm using Excel 2000 (localised Dutch version).

Thanks for your help!


--
Brother Laz
------------------------------------------------------------------------
Brother Laz's Profile: http://www.excelforum.com/member.php...o&userid=35521
View this thread: http://www.excelforum.com/showthread...hreadid=552919

 
Reply With Quote
 
 
 
 
Don Guillett
Guest
Posts: n/a
 
      17th Jun 2006
you might look in the vba help index for FIND and specifically FINDNEXT.
There is a good example you should be able to modify to suit.

--
Don Guillett
SalesAid Software
(E-Mail Removed)
"Brother Laz" <(E-Mail Removed)>
wrote in message
news:(E-Mail Removed)...
>
> I'm trying to clean up a rather large file. The first field of each row
> is the name of the row, and if this name does not appear anywhere else
> in the file, or in any of three other files, the row can be eliminated.
> If it appears 5 times or more, it should be marked as such.
>
> So I'm looking for a way to search for the contents of the first row in
> the entire page and three other pages (minus the field containing the
> name I'm searching for in the first place) and return the number of
> hits. I'm sure there is an easy way to do this, but I haven't managed
> to figure it out yet and time is precious in a computer lab.
>
> I'm using Excel 2000 (localised Dutch version).
>
> Thanks for your help!
>
>
> --
> Brother Laz
> ------------------------------------------------------------------------
> Brother Laz's Profile:
> http://www.excelforum.com/member.php...o&userid=35521
> View this thread: http://www.excelforum.com/showthread...hreadid=552919
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Counting number of times a specific word appears in a single cell Ken Curtis Microsoft Excel Misc 19 16th Jun 2009 05:34 AM
Counting the times a number appears Jennifer B Microsoft Excel Misc 2 17th Jul 2008 11:54 PM
counting the number of times a word appears =?Utf-8?B?QWRyaWVubmU=?= Microsoft Excel Worksheet Functions 5 5th Sep 2007 02:49 AM
RE: Counting number of times particular record appears in field =?Utf-8?B?V2hpdGxlc3M=?= Microsoft Access 0 14th Apr 2005 09:24 PM
Counting the number of times a word appears in a worksheet =?Utf-8?B?SmlnIEJoYWt0YQ==?= Microsoft Excel Worksheet Functions 4 3rd Feb 2005 03:01 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:13 PM.