Solved

nesting logic in word excel mail merge

Posted on 2011-03-22
4
213 Views
Last Modified: 2012-05-11
Every year, committee members leave or begin or continue.  Also every year, there is or is not a commiittee meeting.
All of these 6 possible conditions need an email communication.  In excel or word, both programs being used in this mail merge, variables and repeating text blocks are possible.  I do not know how to put it all together and need step by step instructions.
Example:
Member name                         status                meeting
bob                                          leaving              No ->"a meeting of this committee is not currently scheduled"
dee                                          continuing         no
chuck                                     Beginning           yes ->meeting details included

Sample text and data are attached. Please help. Want every letter possiblility in 1 merge.
Thanks a lot!


Beginning-no-meeting-scheduled.docx
Beginning-meeting-scheduled.docx
leaving-no-meeting-scheduled.docx
leaving-meeting-scheduled.docx
continuing-no-meeting-scheduled.docx
continuing-has-a-meeting-schedul.docx
test-data-for-committee-merge.xlsx
0
Comment
Question by:dkoliver
4 Comments
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 250 total points
ID: 35197075
I would put an IF field for each status after the greeting line, with the rest of the text in the True part:

{IF { MERGEFIELD Status } = "beginning" "On behalf of Dr. Jeff Kenkel, I would like to invite you to participate in the Aesthetic Society’s Committee for 2011/2012.

...

Thank You!”}

{IF { MERGEFIELD Status } = "continuing" "As incoming President of the Aesthetic Society, I would like to take this opportunity to thank you for serving as a member

...

P.S.  As a reminder, the Committee will be meeting on  details."}


Then within each block, at the point where the meeting details would go, you can put another IF field, this time testing for the 'no meeting' text, and putting the details, e.g.

{ IF { MERGEFIELD meeting } = "There is no scheduled meeting for this committee" "" "The current Committee will be meeting on { MERGEFIELD meeting } You are welcome to attend this meeting if your schedule allows."}


0
 

Author Comment

by:dkoliver
ID: 35219137
My pea-brain seems able to follow this - at least in theory.
I will play around with it and get back next week to let you know if I am able to execute on this method.  Thanks Graham!
0
 
LVL 24

Expert Comment

by:broomee9
ID: 35821684
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now