Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
lpriest
 
Posts: n/a
Default Mail Merge Formatting

I'm trying to merge data from an excel spreadsheet. The data is formated as
a percentage ie 97.2% but of course comes through the merge as
0.971999999999. I've tried using Words switch \#"##%" and many variations of
that but I keep either getting just a % sign or 1%. What am I doing wrong?
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP
 
Posts: n/a
Default Mail Merge Formatting

The data is actually stored in Excel as 0.971999999999 to get it to be
displayed as 97.2%, as well as using the formatting switch, it will be
necessary to put the mergefield inside a calculation field where it is
multiplied by 100

{ = (100 * { MERGEFIELD fieldcontainingpercentage }) \# "##.#%" }

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"lpriest" wrote in message
...
I'm trying to merge data from an excel spreadsheet. The data is formated
as
a percentage ie 97.2% but of course comes through the merge as
0.971999999999. I've tried using Words switch \#"##%" and many variations
of
that but I keep either getting just a % sign or 1%. What am I doing
wrong?



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
NO CODE - mail merge to Outlook with attachment with CC BrianH Mailmerge 1 February 10th 10 02:53 PM
Formatting Date in Mail Merge Chuck Mailmerge 2 August 10th 05 07:27 PM
mail merge address formatting katet Mailmerge 4 August 10th 05 05:03 PM
How do I control date formatting in a Word Mail Merge? Ric McWaters Mailmerge 1 April 21st 05 04:23 PM
How do I maintain number formatting in a mail merge? Skittles Mailmerge 1 January 28th 05 03:22 AM


All times are GMT +1. The time now is 12:48 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"