Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-18-2024, 06:57 AM
Shelley Lou Shelley Lou is offline Mail Merge Percentages Windows 10 Mail Merge Percentages Office 2016
Expert
Mail Merge Percentages
 
Join Date: Dec 2020
Posts: 259
Shelley Lou is on a distinguished road
Default Mail Merge Percentages

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
Reply With Quote
  #2  
Old 12-18-2024, 01:43 PM
macropod's Avatar
macropod macropod is offline Mail Merge Percentages Windows 10 Mail Merge Percentages Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote
  #3  
Old 12-19-2024, 01:24 AM
Shelley Lou Shelley Lou is offline Mail Merge Percentages Windows 10 Mail Merge Percentages Office 2016
Expert
Mail Merge Percentages
 
Join Date: Dec 2020
Posts: 259
Shelley Lou is on a distinguished road
Default Mail Merge Percentages

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?
Reply With Quote
  #4  
Old 12-29-2024, 05:39 PM
macropod's Avatar
macropod macropod is offline Mail Merge Percentages Windows 10 Mail Merge Percentages Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by Shelley Lou View Post
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%.
Your first table should end up with a field coded as:
{=«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]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail Merge Percentages 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 Percentages 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 Percentages 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
Mail Merge Percentages How to calculate percentages??? fabthi Excel 3 04-13-2012 12:08 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:07 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft