Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Word 2000 Mail Merge with Formula?

Status
Not open for further replies.

smurfer

Programmer
Jun 8, 2001
57
US
Is it possible to use a sum formula for a data field with word 2000 mail merge? I have 3 data entry fields that I am using with a mail merge feature (using word as data source as well), but I want field 4 to calculate and auto populate the sum of fields 1,2,and 3. Is this possible? If so, can you advise how it is done? It needs to be done in word or possibly excel if but preference is word..As it stand I only can get 4 to be manually edited, no formula capability.
Thanks,
SM
 
Well, yes. It is possible by inserting a Formula field and not typing a formula. Switch to see the field code, insert the first merge field, type + (plus sign), etc.
You'd end up with something like:
<<AmountA>> plus <<AmountB>> equals {= {MERGEFIELD AmountA} + {MERGEFIELD AmountB} \* MERGEFORMAT}.
You may at first see two amounts displayed, rightclick to display the field codes for these inserted fields.
I have not tested what happens if the merge fields are the results of ASK or FILLIN fields.

IS
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top