Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 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

Written by Allen Wyatt (last updated August 3, 2019)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365


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 Microsoft 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

Converting Strings to Numbers

When working with data in a macro, there are two broad categories you can manipulate: numbers and text. Sometimes you ...

Discover More

Aligning Cells when Importing from CSV

When you import information from a CSV text file, Excel formats the data according to its default settings. Wouldn't it ...

Discover More

Pulling Headers and Footers from Other Files

You may have some standard headers and footers you want to make available in your document templates. This tip describes ...

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)

Controlling Case in Find and Replace

When using Find and Replace, how Word handles the case of letters in replacements can be confusing. It needn't be, if you ...

Discover More

Finding Text Using a Specific Highlighting Color

If you use the highlighter tool extensively, you may want to search for text that is highlighted using a particular ...

Discover More

When Replace Doesn't Work

Find and Replace is a great tool, but what are you to do if your find or replace doesn't work as you expect? This tip ...

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 1 + 1?

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.

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.