Mail Merge / excel

B

Barry Baker

I have a mail merge document that works fine except a couple of the field are
a percentage field , in excel i have formated it to 2 decimal points but wen
it merges to work, it show the whole number which is about 15 digits

any idea how to make it just the tow. is ok in excel but not in word
 
B

Barry Baker

I am using Word 2007, dont know if this make a difference but i have tried
that code and it dont work
 
B

Barry Baker

found that this works \# ",0.00"

But i have tried and tried the % one but cant get that to work
 
D

Doug Robbins - Word MVP

Using a \# 0.00% switch certainly works correctly here in Office 2007.

--
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
 
G

Graham Mayor

Did you enter the second enclosing pair of field brackets with CTRL+F9?

{={Mergefield Fieldname} * 100 \# ",0.00%"}

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
P

Pat

HI! I am trying to format to a % and it is not coming in correctly.
I searched and found this message.

My answer in Excel is 121.9%; however it is merging into my word doc as 1.22%

This is what my field reads: {MERGEFIELD "my field name" * 100 \# ",0.0%"}

I see that you are recommending adding an additional field bracket, however
when I enter as suggested below, I receive this !Syntax Error, {

How do I add additional brackets? Or better yet, how do I make this work
so that my answer in word is 121.9%
 
D

Doug Robbins - Word MVP

Use { = { MERGEFIELD "fieldname" } * 100 \# ",0.0%" }

You must use Ctrl+F9 to insert each pair of field delimiters { }

--
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
 
P

Peter Jamieson

Try { ={ MERGEFIELD "my field name" }*100 \#"0.0%" }

where you insert each pair of the special field braces {} using ctrl-F9

You only need the "," if you want a thousands separator, e.g. where the
value is 1234.5% and you want 1,234.5%


Peter Jamieson

http://tips.pjmsn.me.uk
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top