Finding Documents Containing Multiple Occurrences of a Word

Written by Allen Wyatt (last updated January 7, 2023)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021


Brian has a lot of Word documents. When displaying the Open dialog box or when using a regular folder window, he can search and display only documents that contain a specific word. He wonders, though, if there is a way to display only documents that contain at least two occurrences (or more) of a particular word. In other words, he wants to exclude the display of documents that either don't contain the word or that have only a single occurrence of the word.

This is actually quite easy to do—just use a wildcard character when setting up your search. For instance, let's say that you want to search for documents that contain at least two instances of the word "widget." You could use this as your search criteria:

widget*widget

Note that the asterisk is a wildcard; it matches any number of characters. Thus, you end up searching for "widget" followed by any number of characters and then another instance of "widget." If the document contains only a single occurrence of the word "widget," then this search string automatically excludes those documents.

In order for this approach to work, you'll need to make sure that the "Always search file names and contents" option is selected in the Search tab of Folder Options dialog box.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (9957) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Altering the Displayed Format of Numbers to the Nearest 100

Want information in a worksheet to be formatted and displayed as rounded to a power of ten? You may be out of luck, ...

Discover More

Lining Up Numbered List Numbers

Do you want the numbers in your numbered lists to be aligned differently than they normally are? You can adjust the ...

Discover More

Specifying an Index Entry Separator

One of the switches you can use with the index field allows you to specify how index entries should be separated from the ...

Discover More

Learning Made Easy! Quickly teach yourself how to format, publish, and share your content using Word 2013. With Step by Step, you set the pace, building and practicing the skills you need, just when you need them! Check out Microsoft Word 2013 Step by Step today!

More WordTips (ribbon)

Embedding TrueType Fonts

If you need to make sure that the fonts in your document can be used by another person or on a different system, you'll ...

Discover More

Finding Out the Folder for an Open Document

If you work with a lot of documents at the same time, it can be difficult to remember the folder in which any given ...

Discover More

Documents Significantly Larger in Microsoft 365

As you move to a newer version of Word, you may notice that your documents all of a sudden require more disk space ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is four less than 7?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.

Videos
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.