New Feature: Playlist Center! Pick a topic and let our playlists guide the way.

Start learning with our library of video tutorials taught by experts. Get started

Word 2007: Mail Merge in Depth
Illustration by Neil Webb

Using IF...THEN...ELSE for intelligent merging


From:

Word 2007: Mail Merge in Depth

with Gini Courter

Video: Using IF...THEN...ELSE for intelligent merging

Almost any mail merge will work better if you use If fields to add some logic to your merge. With If you direct Word to examine the data for the record being merged, then take a specific action based on a value in that data record. For example, if your data source contains address information, you could send one paragraph to your recipients who live in California and a different paragraph to recipients who live in other states. Another use of If is getting rid of unwanted spaces and unwanted punctuations that results from blank fields in address blocks or in the name.

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
please wait ...
Word 2007: Mail Merge in Depth
1h 37m Intermediate Sep 10, 2010

Viewers: in countries Watching now:

In Word 2007: Mail Merge in Depth, author Gini Courter demonstrates how to take advantage of Word's Mail Merge feature to save a tremendous amount of time creating customized documents. The course offers tutorials on creating letters, emails, envelopes, and labels. It also shows how to use Mail Merge with Outlook and Excel, creating data sources, inserting fields, using IF and other rules for customized merges, and troubleshooting Mail Merge issues. Exercise files are included with the course.

Topics include:
  • Choosing or creating a data source
  • Using Mail Merge with Outlook contacts
  • Merging data from an Excel spreadsheet
  • Inserting address blocks and greetings
  • Matching fields from a data source
  • Previewing merge results
  • Using rules for customized merges
Subject:
Business
Software:
Word
Author:
Gini Courter

Using IF...THEN...ELSE for intelligent merging

Almost any mail merge will work better if you use If fields to add some logic to your merge. With If you direct Word to examine the data for the record being merged, then take a specific action based on a value in that data record. For example, if your data source contains address information, you could send one paragraph to your recipients who live in California and a different paragraph to recipients who live in other states. Another use of If is getting rid of unwanted spaces and unwanted punctuations that results from blank fields in address blocks or in the name.

At its simplest, an If field works like this. If a condition is met, display the first result. If it's not, display the second result. In our letter, we actually have a paragraph that we want to have appear only for folks who are not in the state of California. You will notice that we have in blue, "We want to make it even easier for out-of-state members to participate. Jeff Jones is handling your housing and transportation, and will contact you directly." And we would like that sentence to appear for the folks who live in Oklahoma and Colorado and Wyoming, but not for our people from California who are not out-of-state.

Let's see how we can handle this with an If. First, I am going to simply remove the formatting and we are going to cut this sentence so that we have it available for our use. We will add a space because we would want a space and we will go to the Mailings tab, to Rules and choose If Then Else. And it says If the Business State and now we have two choices. We can say if it's equal to California, or if it's not equal to California and that choice will determine where we are going to paste our text.

So let's say, for example, that if the state is equal to California, then we are going to do nothing. However, if it's not equal to California-- and I am going to do Ctrl+V to paste our text that we just cut from our letter. So if the state is equal to California, do nothing. Otherwise, insert this text because we can assume that person is out-of-state. We could have also chosen to do this again and sort of in the opposite direction.

We could say if the Business State is not California, do this. Otherwise, do nothing because it is California. That's sort of reverse logic but it's sometimes the way you want to be thinking about how you use If. Let's go ahead and say OK. And you will notice that our field, if I select a field, the text is slightly smaller than our text that we have here. So let's go back to our Home tab and we will notice this is Calibri 12, and at that box that we typed into actually returns 10 point font. That's okay.

Let's just select and format this as Calibri 12 and by formatting the field, it will come in properly. So now when we actually conduct this mail merge, let's go back to the Mailings tab, and we are going to edit individual letters and merge all the records and what we will find is that Crystal, who is in Albuquerque, has this additional paragraph and Guy is in Arizona. He has this additional sentence in the paragraph, okay and Nora. But notice that when we get to Keisha Bird, who lives in California, there is no sentence about Jeff Jones being available to manage for travel.

She doesn't need to Jeff is doing for anybody else. She is in state and that's fine. So as we go through our letters, we will notice that the folks who are in California like Billy don't have that remaining line, but if you are in Charlotte, Wisconsin, Jeff Jones is going to handle your housing and your transportation. If fields are incredibly powerful and once you have mastered how to use If, you are going to find even more reasons that you can use mail merge and fewer reasons that you believe you need to type individual letters that actually go to groups of people.

There are currently no FAQs about Word 2007: Mail Merge in Depth.

 
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.
Upgrade now


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

join now Upgrade now

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Word 2007: Mail Merge in Depth.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Notes cannot be added for locked videos.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.