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: Entering Calculations in a Form Field.

Entering Calculations in a Form Field

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


Word allows you to create all sorts of forms, and even provides form fields that you can add to your documents. These form fields—known now as legacy form fields—are how you create and design your form. Exactly how you add legacy form fields has been covered in past issues of WordTips.

You may want to define a form field to contain a calculation. For instance, you might want a particular form field to contain the sum or the product of two other fields. Let's say you have two fields in your document; one of them is named Principal and the other is named Interest. If you wanted to create another field that shows the result of the two fields when multiplied by each other, you can follow these steps:

  1. Insert the result field as you normally would. (You would use the tools on the Developer tab of the ribbon.)
  2. Right-click the form field you just entered and click on the Properties option from the resulting Context menu. Word displays the Text Form Field Options dialog box. (See Figure 1.)
  3. Figure 1. The Text Form Field Options dialog box.

  4. Using the Type drop-down list, choose Calculation.
  5. In the Expression field of the dialog box, enter the following expression:
     =Principal * Interest
  1. In the Bookmark field of the dialog box, enter the name for this field (Result).
  2. Click on OK.

Now, whenever the form fields are updated, the Result field will contain the result of your principal multiplied by your interest.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (7838) 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: Entering Calculations in a Form Field.

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

Highlighting Information Using Shading

Word allows you to shade entire paragraphs or simple selections of text. This is a great way to highlight information on ...

Discover More

Printing Copy Numbers

Copy 1, Copy 2, Copy 3... Do you want to mark your printouts so that they are numbered? Here's how you can do it.

Discover More

Permanently Removing Blue Squiggly Underlines

Word's grammar checker can helpfully mark grammar goof-ups as you type. When you pass your document on to another person, ...

Discover More

Do More in Less Time! Are you ready to harness the full power of Word 2013 to create professional documents? In this comprehensive guide you'll learn the skills and techniques for efficiently building the documents you need for your professional and your personal life. Check out Word 2013 In Depth today!

More WordTips (ribbon)

Protecting Parts of a Document

Word doesn't require you to protect entire documents. Instead, you can protect different sections within a document, as ...

Discover More

Saving and Using a Form

After you have created your custom form, you will need to save it so that you can use it as often as needed. Word makes ...

Discover More

Handling Returns in Form Data

Word allows you to create forms and then export the data from those forms into files that can be used by other programs. ...

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 nine minus 5?

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.