Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Merging recipient and spouse's name

I am creating a letter to send out to people and I will be merging addresses from a group in address book with the letter created in Pages (iWork '09). Everything works fine when only sent to an individual, but many of the letters need to go to couples and the greeting needs to list both names. So I am trying to figure out how when sending to one person I get this:


Dear Christopher,



And when sending to a couple, I get this:


Dear Christopher and Brenda,



I am using the fields <first name> and <spouse> to draw from for the merge. Is there any way to conditionally add "and" to the heading when a second name is present, and also put the comma in the proper position depending on if one person or two are included?


Currently, if I leave a space for spouse but a spouse name isn't available, I get:


Dear Christopher ,


If I place both names in a document, I currently end up with:


Dear ChristopherBrenda,



I'm assuming there's a simple way to get this done. I just can't figure it out.


Thanks!

Mac mini, Mac OS X (10.7.5)

Posted on Dec 3, 2012 2:30 PM

Reply
Question marked as Best reply

Posted on Dec 4, 2012 12:30 AM

Hi Ima,


It seems that Contacts in Mountain Lion has dropped the Spouse field. I don't recall ever using a Spouse field, but I assume that it was there since you're using it. I mention this becsuse I was going to look at what might be done to solve your question and was surprised not to find the spouse field on my system. No Custom field either.


So, I think there might be some options. One would be to edit your Address Cards to move the spouse information into the First Name field so it would read Christopher and Brenda, before attempting the Mail Merge. I can understand why you might not like that. I used to do family cards that way all the time until it got to the point that so many of our friends had his and her email addresses that they needed separate cards so they could be addressed independently when creating emails.


Another approach would be to edit the Spouse names to add a distinctive prefix to the name, one that could be used in a Find and Replace operation. For instance, if "Brenda" became "_Brenda" in the Spouse field, you could use Find and Replace in the Merged document to substitute " and " for "_".


Lastly, you could drag your entire Group to Numbers and in Numbers create a merge source column that combined the couples' names in a way that could be used as one reference in the Mail Merge from Numbers.


Hope this gives you some options to consider.


Jerry

4 replies
Question marked as Best reply

Dec 4, 2012 12:30 AM in response to ImaBowhunter

Hi Ima,


It seems that Contacts in Mountain Lion has dropped the Spouse field. I don't recall ever using a Spouse field, but I assume that it was there since you're using it. I mention this becsuse I was going to look at what might be done to solve your question and was surprised not to find the spouse field on my system. No Custom field either.


So, I think there might be some options. One would be to edit your Address Cards to move the spouse information into the First Name field so it would read Christopher and Brenda, before attempting the Mail Merge. I can understand why you might not like that. I used to do family cards that way all the time until it got to the point that so many of our friends had his and her email addresses that they needed separate cards so they could be addressed independently when creating emails.


Another approach would be to edit the Spouse names to add a distinctive prefix to the name, one that could be used in a Find and Replace operation. For instance, if "Brenda" became "_Brenda" in the Spouse field, you could use Find and Replace in the Merged document to substitute " and " for "_".


Lastly, you could drag your entire Group to Numbers and in Numbers create a merge source column that combined the couples' names in a way that could be used as one reference in the Mail Merge from Numbers.


Hope this gives you some options to consider.


Jerry

Dec 5, 2012 9:49 PM in response to Jerrold Green1

Thanks, Jerrold. Your post gave me a very workable solution. In my letter template I have included:


Dear <first name> and <spouse name>,


Once I merge data from Address book, letters addressed to couples end up looking like:


Dear Christopher and Brenda,


Letters that have only one addressee end up looking like this:


Dear Christopher and ,


From there, per your suggestion, all I have to do is perform of find/replace where " and ," is replaced with "," and then all of my single addressee letters end up:


Dear Christopher,


Which is exactly what I'm looking for. One more step than should be necessary, but in the overall scheme of things, it actually works very well.


Thanks a million!

Merging recipient and spouse's name

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.