Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Wisconsin Cheesehead Wisconsin Cheesehead is offline
external usenet poster
 
Posts: 1
Default Rounding Up Numbers Merged from Excel into Word 2003

I have read all of the strings and advice and figured out the percentage
string. So thanks to everyone on that.

However, I still can't seem to get the correct string to round up the
numbers from Excel. For example, the number in Excel was rounded up from
17.5 to 18. When I merge it, it comes across as 17.5. I've tried a
variety of different things and just can't get it. The last of which was :
{ { MERGEFIELD "DRUG_RQRD" \ # €œ,0} }

Appreciate your feedback and advice.
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
macropod[_2_] macropod[_2_] is offline
external usenet poster
 
Posts: 2,059
Default Rounding Up Numbers Merged from Excel into Word 2003

Hi,

Do you need plain rounding, or rounding up? I ask because 17.5 rounds to 18 (as well as rounding up to 18).

For rounding, you couldcode your mergefield as:
{MERGEFIELD "DRUG_RQRD" \# 0}
or
{=ROUND({MERGEFIELD "DRUG_RQRD"},0)}

For rounding up, plus a wide range of other calculations in Word, check out my Word Field Maths 'tutorial', at:
http://www.wopr.com/cgi-bin/w3t/show...?Number=365442
or
http://www.gmayor.com/downloads.htm#Third_party
In particular, look at the item titled 'Rounding Numbers Up Or Down'

Note: The field brace pairs (ie '{ }') for the above example are created via Ctrl-F9 - you can't simply type them or copy & paste
them from this message.

--
Cheers
macropod
[MVP - Microsoft Word]


"Wisconsin Cheesehead" Wisconsin wrote in message
...
I have read all of the strings and advice and figured out the percentage
string. So thanks to everyone on that.

However, I still can't seem to get the correct string to round up the
numbers from Excel. For example, the number in Excel was rounded up from
17.5 to 18. When I merge it, it comes across as 17.5. I've tried a
variety of different things and just can't get it. The last of which was :
{ { MERGEFIELD "DRUG_RQRD" \ # €œ,0} }

Appreciate your feedback and advice.


Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rounding up on a merged field wmannod Mailmerge 6 May 1st 06 06:44 PM
Rounding merged figures Joe Mailmerge 1 December 16th 05 07:42 AM
Losing $ and , in numbers being merged from Excel into Word docume FlorencePS Mailmerge 1 November 12th 05 07:07 AM
How do I format numbers in a Word table, data merged from Excel CJDRUMACHOSE Tables 1 November 11th 05 03:28 PM
formatting numbers mail merged into Word table from an Excel Works Jeannie McQuaid Tables 1 July 27th 05 10:06 PM


All times are GMT +1. The time now is 11:25 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"