Please Note: This article is written for users of the following Microsoft Word versions: 97, 2000, 2002, and 2003. If you are using a later version (Word 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Word, click here: Entering Calculations in a Form Field.

Entering Calculations in a Form Field

Written by Allen Wyatt (last updated July 28, 2021)
This tip applies to Word 97, 2000, 2002, and 2003


1

Word allows you to create all sorts of forms, and even provides form fields that you can add to your documents. Exactly how you add 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. Make sure the Forms toolbar is displayed.
  2. Insert the result field as you normally would. (You would use the Text Form Field tool.)
  3. Select the form field you just entered and click on the Form Field Options tool on the Forms toolbar. Word displays the Text Form Field Options dialog box. (See Figure 1.)
  4. Figure 1. The Text Form Field Options dialog box.

  5. Using the Type drop-down list, choose Calculation.
  6. 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 (1455) applies to Microsoft Word 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Word (Word 2007 and later) 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

Out of Memory Errors when Accessing the VBA Editor

It can be frustrating when you get error messages doing something that you previously did with no errors. If you get an ...

Discover More

Table Header Rows after a Manual Page Break

Insert a manual page break into the middle of a table, and you may find that subsequent pages of the table don't always ...

Discover More

Inserting the Current Time with Seconds

If you need to insert the current time, with seconds, then you'll need the macro discussed in this tip. It's easy to use ...

Discover More

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

More WordTips (menu)

Inserting Fields

Fields are used for a variety of dynamic purposes in a document. There are a couple of ways you can easily insert fields, ...

Discover More

Inserting a Page Number Field

The PAGE field is used to indicate the current page number on which the field occurs. If you want to add this field to ...

Discover More

Inserting the Date and Time

Inserting a date and time in your document is a snap using the tools provided in Word. Just pick the command, then ...

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 9 - 4?

2017-02-14 05:55:07

Naeemah

How can I apply this to calculate number of days form Date field?
for example each field got a date
the calculation field to count the days.


This Site

Got a version of Word that uses the menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon 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.