Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, 2016, 2019, and Word in Office 365. If you are using an earlier version (Word 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Word, click here: Quick and Dirty Paragraph Count.

Quick and Dirty Paragraph Count

by Allen Wyatt
(last updated August 3, 2019)

1

If you want to quickly count the number of paragraphs in a document, here is a great way to do it:

  1. Make sure you save your document.
  2. Press Ctrl+Home to go to the beginning of your document.
  3. Press Ctrl+H. Word displays the Replace tab of the Find and Replace dialog box. (See Figure 1.)
  4. Figure 1. The Replace tab of the Find and Replace dialog box.

  5. In the Find What box, enter ^p.
  6. In the Replace With box, enter ^p.
  7. Click on Replace All.

Word replaces all the paragraph marks in the document with identical paragraph marks and displays a dialog box indicating how many replacements were made. The number of replacements is the number of paragraphs.

You may not be that impressed with this method, since you can also find out the number of paragraphs in a document by displaying the Statistics tab of the Properties dialog box. However, the real power comes in when you want to find out how many paragraphs you have of a certain style. All you need to do is expand your search a bit.

For instance, let's say you have a certain paragraph style that you use only for figures. To find out how many figures are in your document, follow these steps:

  1. Make sure you save your document.
  2. Press Ctrl+Home to go to the beginning of your document.
  3. Press Ctrl+H. Word displays the Replace tab of the Find and Replace dialog box.
  4. Click on the More button, if it is available.
  5. In the Find What box, enter ^p.
  6. Click on Format and choose Style. Word displays the Find Style dialog box. (See Figure 2.)
  7. Figure 2. The Find Style dialog box.

  8. Choose the name of the style you used for your figures.
  9. In the Replace With box, enter ^p.
  10. Click on Replace All.

That's it! The resulting dialog box indicates the number of replacements made, which are only for those paragraphs that use the figure style—in other words, you now know the number of figures in your document.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (11790) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, and Word in Office 365. You can find a version of this tip for the older menu interface of Word here: Quick and Dirty Paragraph Count.

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

Attaching Macros to Documents

When you distribute documents to other people, you may want those documents to have associated macros that the reader can ...

Discover More

Selecting Tabs in Dialog Boxes

Want to move around in dialog boxes using just the keyboard? You'll love the ideas in this tip, then.

Discover More

Displaying the "Last Modified" Date

Want to know when a workbook was last modified? Want to put that date within the header of your worksheet? Here's how to ...

Discover More

The First and Last Word on Word! Bestselling For Dummies author Dan Gookin puts his usual fun and friendly candor back to work to show you how to navigate Word 2013. Spend more time working and less time trying to figure it all out! Check out Word 2013 For Dummies today!

More WordTips (ribbon)

Replacing and Renumbering

Word has a powerful find and replace capability that can help you perform quite a few changes to your documents. This tip ...

Discover More

Finding and Replacing Table Cell Color

The Find and Replace tool built into Word is quite powerful. It cannot do everything, however, as there are just some ...

Discover More

Copying Found Items to a New Document

Word allows you to use its searching capabilities to easily find multiple items in a document. What if you want to copy ...

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}] 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 eight minus 8?

2019-08-03 19:17:34

Ken Endacott

In Word blank lines as counted as paragraphs. If you want a count of paragraphs excluding blank lines then in the Find What box, enter:
^13([!^13])
and in the Replace With box, enter:
^p\1
Make sure that Use Wildcards is ticked (click the More >> button to see this option).
If the first paragraph is not preceded by a blank line then add one to the count.

The logic of the find command is that it searches for a paragraph mark plus one character, but not if the second character is a paragraph mark. The found characters are then replaced with a paragraph mark followed by whatever is the second character.
It is a peculiarity of Find & Replace that ^p cannot be in Find What when using wildcards, instead ^13 is used. However ^p can be used in Replace With.


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.

Newest Tips
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.