Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Tables / December 2007

Tip: Looking for answers? Try searching our database.

Formula

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Neil - 19 Dec 2007 21:48 GMT
Hi, I have a word document with a variety of tables in it. I am trying to
count the number of times a string of letters appear. In excel I would simply
select the field and use the countif, but can't do this in word! Can anyone
help please?
Herb Tyson [MVP] - 20 Dec 2007 01:03 GMT
If you find/replace text with itself Word will report the number of hits.
For example, suppose I'm looking for the number of times that "ABcd" (case
specific) occurs in a file. I can do Find/Replace:

Find: ABcd

Replace with: ABcd

Match case enabled

Replace All

Word will tell you how many it replaced, effectively not changing anything.

If case isn't important, then use ^& as the Replace with: string. ^& is the
special match string for "whatever matched the search". Hence, in this case,
if Word found AbCd or ABCD it would replace it with AbCd or ABCD,
respectively.

Signature

Herb Tyson MS MVP
Author of the Word 2007 Bible
Blog: http://word2007bible.herbtyson.com
Web: http://www.herbtyson.com

> Hi, I have a word document with a variety of tables in it. I am trying to
> count the number of times a string of letters appear. In excel I would
> simply
> select the field and use the countif, but can't do this in word! Can
> anyone
> help please?
Neil - 20 Dec 2007 19:48 GMT
thanks for that. I didn't quite explain what I wanted though, what I'd like
is the result shown dynamically in the word document so users can see a
running total of a number of occurances, by the way its office 2003 on XP

> If you find/replace text with itself Word will report the number of hits.
> For example, suppose I'm looking for the number of times that "ABcd" (case
[quoted text clipped - 21 lines]
> > anyone
> > help please?
Herb Tyson [MVP] - 25 Dec 2007 00:05 GMT
Word doesn't have that capability. You might be able to get something
acceptable using a macro, although, dynamic updating would be a tall order.

Signature

Herb Tyson MS MVP
Author of the Word 2007 Bible
Blog: http://word2007bible.herbtyson.com
Web: http://www.herbtyson.com

> thanks for that. I didn't quite explain what I wanted though, what I'd
> like
[quoted text clipped - 31 lines]
>> > anyone
>> > help please?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.