Microsoft Office Forums

Go Back   Microsoft Office Forums > Microsoft Word > Mail Merge

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 07-10-2018, 09:21 AM
sherrin sherrin is offline Windows XP Office 2013
Novice
 
Join Date: Apr 2016
Posts: 3
sherrin is on a distinguished road
Exclamation Formula for Mailmerge

Hi



i have a field that has a formula in excel for mail merge . It has worked all along and now all of a sudden it doesn't work. We have 2 cells - one where we put our initials in and the one next to it shows our name and title. Ex:

Field 1 - i type in "sn" field 2 has a formula that shows that sn means my name and title. Now in the document when merging it is showing up as false. I cannot get it corrected. Can someone give suggestions on what i need to do to get it to recognize it again.

Thx

sher
Reply With Quote
  #2  
Old 07-10-2018, 04:55 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 19,468
macropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to behold
Default

Without actually seeing the problem document, it can be difficult for anyone to diagnose the issue. Can you attach a document to a post with some representative data (delete anything sensitive)? You do this via the paperclip symbol on the 'Go Advanced' tab at the bottom of this screen.
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
  #3  
Old 05-10-2019, 09:09 AM
sherrin sherrin is offline Windows XP Office 2013
Novice
 
Join Date: Apr 2016
Posts: 3
sherrin is on a distinguished road
Default

I have a column that has initials in it and the next column is my if statement ex sb and next column is =if("sn","sherri brooks") and when I go to my ms word document and enter in the field where my full name is the result is "false" can someone help me please
Reply With Quote
  #4  
Old 05-10-2019, 03:12 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 19,468
macropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to behold
Default

Undoubtedly, your Excel workbook will also be showing FALSE, since the formula leaves the false result undefined. It should be something like:
=IF(A1="sn","sherri brooks","")
In any event, you don't need to use that column in your mailmerge; Word can use field coding to do it's own testing directly. Such a field might be constructed along the lines of:
{IF{MERGEFIELD Initials}= "sn" "sherri brooks"}
or
{IF«Initials»= "sn" "sherri brooks"}
without the need to address the FALSE condition.

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 or, if you’re using a laptop, you might need to use Ctrl-Fn-F9); you can't simply type them or copy & paste them from this message. Nor is it practical to add them via any of the standard Word dialogues. Likewise, the chevrons (i.e. '« »') are part of the actual mergefields - which you can insert from the 'Insert Merge Field' dropdown (i.e. you can't type or copy & paste them from this message, either). The spaces represented in the field constructions are all required.
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible to use an existing vlookup formula to also insert correct info and trigger a SUM formula innkeeper9 Excel 2 09-13-2016 08:59 PM
Need help with dragging a formula and changing a reference column as I drag the formula. LupeB Excel 1 10-22-2015 03:02 PM
Mailmerge to Email with a mailmerge attachment Baldeagle Mail Merge 8 02-11-2013 04:40 AM
Mailmerge to Email with a mailmerge attachment Baldeagle Mail Merge 13 05-29-2012 02:04 PM
Mailmerge Formula mridley Mail Merge 0 07-27-2006 03:16 AM


All times are GMT -7. The time now is 02:05 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
MSOfficeForums.com is not affiliated with Microsoft