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

by Allen Wyatt
(last updated September 23, 2015)

7

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, and 2013. 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

Elapsed Days as Years, Months and Days

Need to know how many days there are between two dates? It's easy to figure out—unless you need the figure in years, ...

Discover More

Searching for a Value Using a Function

Searching for a value using Excel's Find tool is easy; searching for that same value using a formula or a macro is more ...

Discover More

Deleting Graphics when Deleting a Row

If you use Excel to keep a graphic with each row of data you amass, you may wonder if there is a way to easily delete 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)

Saving Form Data for a Database

Use Word to create a form, and you can easily collect standardized data from a large number of users. When it comes time to ...

Discover More

Valid Numbers in Form Fields

When you create a form you need to use special form fields. If you want to limit what users can enter in a form field, you'll ...

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 this ...

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 8Mpixels. 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 0 + 7?

2016-07-29 14:46:24

dennis

I have wonky trouble with adding two calculation fields together. i.e.

field "Text151" returns a calculated subtotal of 10.
field "Text 172" returns a calculated subtotal of 10.

field "Text 174" with the formula of "=Text151 + Text172" returns a calculated total of 1010.

Hope someone can solve this for me as I am creating a large financial affidavit form which has many of these subtotal and total calculations


2016-06-21 02:00:39

Ian

I have 2 drop down lists:
Dropdown 1 is a list of Study Areas.
Dropdown 2 populates with a list of books, depending on which study area is chosen in Dropdown 1.

I would like to add a field that populates the cost of a book chosen in Dropdown 2.

Can anyone help at all. Thanks in advance.

Ian


2016-05-24 11:36:14

Laura

I had the same problem as my calculation was to total three fields. I got it to work by ticking 'fill-in enabled' for the first field. I then ticked both 'fill-in enabled' and 'calculate on exit' for the second and third fields and finally for my results field I just ticked 'calculate on exit'. This seemed to solve the problem.


2015-09-30 14:46:49

George

Seeing I did not see the earlier tip, so this meant nothing to me.


2015-09-23 19:01:49

Liz

Try clicking on Calculate on exit


2014-12-17 16:23:29

Peggy

I'm having the same problem.


2013-10-01 12:35:37

Sheri

For some reason the result is not updating after I tab away from the result cell.


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.