A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Mailmerge
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How can I force two merge fields to calculation in word 2000



 
 
Thread Tools Display Modes
  #1  
Old April 30th, 2004, 12:17 AM
Jane Humbrey
external usenet poster
 
Posts: n/a
Default How can I force two merge fields to calculation in word 2000

Hi Friends

I use Word 2000.How can I force two merge fields to calculation?. If I have
MERGEFIELD A and MERGEFIELD B and these take values from an excel data
source like the following :

A B
---- -----
$10 $20
$50 $25
$40 $30
--- -----
--- -----

I want to get the addition of MERGEFIELD A and MERGEFIELD B in the word
merge file while I do the merge to the above excel data source. ie. I want
to get the results ($30,$75 and $70 respectively rather than to print
$10+$20,$50+$25,.......)

Can you tell me the exact method/formula please?

Jane


  #2  
Old April 30th, 2004, 12:34 AM
Charles Kenyon
external usenet poster
 
Posts: n/a
Default How can I force two merge fields to calculation in word 2000

Easiest is to actually do the calculation in Excel. It is built for
calculations while those in Word are a kludge.

Something like the following should work:

{ = { MergeField "ColumnA" } + { MergeField "ColumnB" } }

I haven't tried this but expect it will work. The spaces around the
numerical operators in this field are required.
--

Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.

"Jane Humbrey" wrote in message
...
Hi Friends

I use Word 2000.How can I force two merge fields to calculation?. If I

have
MERGEFIELD A and MERGEFIELD B and these take values from an excel data
source like the following :

A B
---- -----
$10 $20
$50 $25
$40 $30
--- -----
--- -----

I want to get the addition of MERGEFIELD A and MERGEFIELD B in the word
merge file while I do the merge to the above excel data source. ie. I want
to get the results ($30,$75 and $70 respectively rather than to print
$10+$20,$50+$25,.......)

Can you tell me the exact method/formula please?

Jane




 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:59 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.