Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-15-2014, 11:39 AM
cmgtlg cmgtlg is offline Highlighting discrepancy after mail merge Windows 7 32bit Highlighting discrepancy after mail merge Office 2013
Novice
Highlighting discrepancy after mail merge
 
Join Date: Dec 2014
Location: New York
Posts: 5
cmgtlg is on a distinguished road
Default Highlighting discrepancy after mail merge

I have a Word document that I'm merging with an Excel file. Once the merge is performed, there is a column that shows a score (say 50/50). If the first number is not equal to the second number (after the slash), we'd like that to be highlighted in some way (either font color or highlight that should show in a black and white document), indicating a lower score.



Here is the current formatting for this column:

«tests_wcorrect_results_for_merge»/«tests_performed_and_evaluable_for_merge»

Please advise 1) if this is possible and 2) how to revise the above formula.

Thank you.
Reply With Quote
  #2  
Old 12-15-2014, 12:01 PM
macropod's Avatar
macropod macropod is offline Highlighting discrepancy after mail merge Windows 7 64bit Highlighting discrepancy after mail merge Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,342
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

You will need a formula for that. Replace your existing «tests_wcorrect_results_for_merge» field with field coded as:
{=«tests_wcorrect_results_for_merge»-«tests_performed_and_evaluable_for_merge» \# "'«tests_wcorrect_results_for_merge»';'«tests_wcorrect_results_for_merge»'"}
where the second instance of «tests_wcorrect_results_for_merge» is coloured however you'd like it to appear when less than the «tests_performed_and_evaluable_for_merge» value.

Note: The field brace pairs (i.e. '{ }') for the above example are all created in the document itself, via Ctrl-F9 (Cmd-F9 on a Mac); you can't simply type them or copy & paste them from this message. Nor is it practicable to add them via any of the standard Word dialogues. Likewise, you can't type or copy & paste the chevrons (i.e. '« »') - they're part of the actual mergefields, which you can insert from the mailmerge toolbar. The spaces, single quotes and double quotes represented in the field construction are all required.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Highlighting discrepancy after mail merge Mail Merge is Deleting objects in my header and footer during the merge bgranzow Mail Merge 9 06-05-2015 05:03 AM
Mail merge how to link mail merge field value to a column heading dsummers Mail Merge 1 05-08-2014 02:59 PM
Highlighting discrepancy after mail merge print discrepancy sprout Word 7 08-05-2013 12:40 PM
Highlighting discrepancy after mail merge Saving INDV mail merges During the mail merge sedain121 Mail Merge 2 10-04-2011 07:52 PM
Word not highlighting conditional Merge fields Dunce Mail Merge 0 02-15-2010 05:44 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:24 AM.


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