![]() |
|
#1
|
|||
|
|||
|
I have a mail merge which contains formulas and percentages in the spreadsheet. I have added switches to the Word document but I just can't fathom out how to do the same for the percentages, nothing I try is working to get the data to look like the spreadsheet - can anyone advise where I'm going wrong.
Image with Switches Merge Fields Image 1.JPG Result Merge Fields Image 2.JPG Test Docs Test Spreadsheet.xlsx Test Mail Merge Fields Added - Percentages.docx |
|
#2
|
||||
|
||||
|
See Mailmerge Percentage Formatting in the Mailmerge Tips & Tricks 'Sticky' thread: https://www.msofficeforums.com/mail-...ps-tricks.html
You should end up with a field coded as: {=«REINVEST»*100 \# 0.00%}
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
#3
|
|||
|
|||
|
Hi Macropod, thank you for your reply - the first thing I did was try the method described in the link to your post but I still can't get the percentage figures to reflect the same as those in the spreadsheet for columns F and M, most just display as 0.00%. Is there something else I can add to the switch?
|
|
#4
|
||||
|
||||
|
Quote:
{=«REINVEST»*100 \# 0.00%} Similarly, for your second table, you should end up with a field coded as: {=«DRP_ALLOCATION_»*100 \# 0.00%} It works for me with the files attached to your first post. If you don't want the calculation field code to remain in the output document, wrap the above field codes in QUOTE fields, thus: {QUOTE{=«REINVEST»*100 \# 0.00%}} {QUOTE{=«DRP_ALLOCATION_»*100 \# 0.00%}} What I did notice is that completing the mailmerge causes a 'field calculation error' to be reported for every record. That is caused by the DOCPROPERTY field in the footer and has nothing to do with the above field coding.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Is there a way to do a mail merge type of addition of data after a mail merge has been done?
|
mtandino | Word | 4 | 06-01-2021 02:00 PM |
Mail Merge - Create seperate Mail merge pdf for each sheets of an excel file
|
sureshbvs | Word VBA | 1 | 03-12-2021 05:42 AM |
Mail Merge with Fields extracted from ROWS instead of COLUMNS or transpose of typical mail merge
|
djrexy | Mail Merge | 1 | 05-20-2020 04:04 PM |
| Mail merge how to link mail merge field value to a column heading | dsummers | Mail Merge | 1 | 05-08-2014 02:59 PM |
How to calculate percentages???
|
fabthi | Excel | 3 | 04-13-2012 12:08 PM |