Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-19-2024, 11:12 AM
meetgsp meetgsp is offline Mail mergefield formula help in word Windows XP Mail mergefield formula help in word Office 2021
Novice
Mail mergefield formula help in word
 
Join Date: Mar 2024
Posts: 1
meetgsp is on a distinguished road
Smile Mail mergefield formula help in word

How do I construct this formula in word?
If an input field value = blank (for a date field) it should return the text 'n/a' otherwise the date value in the mail merge word output document.
Date = "" then 'n/a' or
Date = xx/yy/zzzz then xx/yy/zzzz
Reply With Quote
  #2  
Old 03-20-2024, 05:05 AM
macropod's Avatar
macropod macropod is online now Mail mergefield formula help in word Windows 10 Mail mergefield formula help in word Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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

That all depends on what your mergefield outputs when blank. From there it's a simple matter to build an IF test that tests for that output.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Tags
merge field, merge fields, mergefield address word



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail mergefield formula help in word Printing selected pages based on a MERGEFIELD.g. If MERGEFIELD=x then print pages 1,2,4 if MERGEFIEL Richard.p Word 3 04-21-2015 01:14 AM
Mail mergefield formula help in word Word vs Excel (NEXTIF, SKIPIF mergefield) jerry00769 Mail Merge 3 04-30-2012 03:43 PM
Mail Merge to multiple .doc files named after a mergefield nicnad Mail Merge 1 02-22-2012 01:59 AM
Mail mergefield formula help in word Mail Merge to print specific record based on mergefield criterias nicnad Mail Merge 1 02-22-2012 01:53 AM
Word mail merge and formula mridley Mail Merge 0 04-30-2006 11:26 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:07 AM.


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