Lesson 12 – External Data Sources & Mail Merge

In the last two lessons you learned about using Excel Tables and Pivot Tables. Both of which are excellent ways for organizing and analyzing your data without having to create a lot of formulas or complicated scenarios yourself. Instead you let Excel do the heavy lifting for you. Now that your data is prepared you most likely need to share it at some point in time. Throughout the course of day to day operations in any small business there is a need to communicate with customers. Many times this is as simple as a phone call, but there may often be times that you need to communicate some form of data with them. This can start with a welcome letter, introduction to your business, Thank You’s, invoices, etc. How often do you prepare this correspondence by hand, writing one letter or e-mail after another? Fortunately, there’s an easier way and it involves sharing your data between Excel and Microsoft Word. This lesson is going to focus using Word to create a customer letter which you’ll print and mail (although you can also choose to e-mail Mail Merge documents too), and having Excel populate that with all of your relevant customer information. As for your data, while you may well have your customer data in Excel, but in this case we’re going to go on the assumption that you have it elsewhere, so another part of the lesson is going to concentrate on bringing customer information into Excel from an External Data Source, in this case, Microsoft Access.

As we discussed in the Pivot Table lesson there are often occasions in which you need to query an external data source in order to retrieve smaller data sets into Excel for analysis purposes. An example would be a transactional database in which an order entry system keeps track of customer purchases. In this case we’re going to retrieve information from a database for a given time-period, perform some data analysis on it, and send our customers a quarterly purchase recap. The data source for the Lesson will be Microsoft’s Northwind Database, which is included with each version of Microsoft Access. But just because we’re going to use Access, doesn’t mean that you can’t query other data sources; you can pull data from other databases, text files, websites, etc. Once we pull the data into Excel we’re going to set up a Pivot Table to summarize the data and then create a Word document that we’ll populate with the Excel data. You don’t necessarily need to use Excel as a data source for Word either, but we’re going to approach this lesson from the standpoint of needing to perform analysis on our external data before we can use it in Word. Provided that your data is structured properly you could certainly pull directly from it without having to use Excel (but since this is an Excel course, we can’t really leave it out can we?)

External Data Sources

The first thing to learn is how to get your data into Excel. As mentioned, we’re going to use an Access database for this lesson, by linking to a pre-existing Access database table, but the methods will be very similar for other sources. This is simply going to give you an idea of the process that’s involved.

12.0.PNG 

Figure 467  

12.1.PNG 

Figure 468  

12.2.PNG 

Figure 469  

12.3.PNG 

Figure 470  

12.4.PNG 

Figure 471  

12.5.PNG 

Figure 472  

12.6.PNG 

12.7.PNG 

Figure 473  

12.8.PNG 

12.9.PNG 

Figure 474  

Create your Word Document

Before you can create a Mail Merge you have to have a Word document to populate with your customer information. In this case we’ll be using the “Notice of Valued Customer Status” letter from the Office Online Template Gallery. You can access it through Word via File, New, Letters, Business Letters, Billing and Order Letters, but you can certainly choose any template or letter of your own. The first things you’ll see are the form fields that the template designers added for you. Note that these aren’t Mail Merge fields, but form fields that we’re going to replace.

12.10.PNG 12.11.PNG 

Figure 475  

Mail Merge – Step 1 - Next we’re going to walk through how to link to your Excel data and bring those data fields into Word. When you’re in Word, goto the Mailings tab and select Start Mail Merge, where you’ll see the following dialog. The easiest selection will be the “Step by Step Mail Merge Wizard”, which will immediately open a new pane on the right side of your screen. Select “Letters” then move onto “Starting Document” at the bottom of the pane.

12.12.PNG 12.13.PNG 12.14.PNG 

12.15.PNG 

Figure 476  

12.17.PNG 

Figure 477  

12.18.PNG 

Figure 478  

12.19.PNG 

Figure 479  

12.20.PNG 

Figure 480  

Greeting Line – Our letter already has a greeting line, but this is another way to automate one. Of note here is that Word gives you alternatives for invalid recipient names, like if a name is missing in your data. However, as we’ll discuss shortly regarding Data Integrity, this should not come as a surprise, and if it does then you might have bigger issues to worry about. This option should be a last resort, not a catch all.

12.21.PNG 

Figure 481  

12.22.PNG 

12.23.PNG 

Figure 482  

12.24.PNG 

12.25.PNG 

Figure 483  

12.26.PNG 

Figure 484  

12.27.PNG 

Figure 485  

12.28.PNG 12.29.PNG 

Figure 486  

Data Integrity – It seems fairly logical to assume that you need to have accurate customer mailing/shipping information, but for whatever reason many companies stop there and don’t give a second thought to things like customer names. If you want to impress your customers, it’s not just the quality of the services that you provide, but the quality of communications as well. Here are some all too common examples of data that has been entered into a company system differently.

12.30.PNG 

Figure 487  

12.31.PNG 

Figure 488  

12.32.PNG 

Figure 489  

12.33.PNG 

12.34.PNG 

Figure 490  

12.35.PNG 

Figure 491  

12.36.PNG 

Figure 492  

12.37.PNG 

12.38.PNG 

Figure 493  

Finally, you should be aware that you are by no means limited to creating customer correspondence with Mail Merge. You can use any list-based data in Mail Merge, like nametags for an event, recipes, asset tags for corporate equipment, etc. And you’re not limited to creating letters; you can also create E-Mails, Envelopes, Labels and Directories.

12.6.PNG 

12.7.PNG 

Figure 494  

12.8.PNG 

12.9.PNG 

Figure 495  

Create your Word Document

Before you can create a Mail Merge you have to have a Word document to populate with your customer information. In this case we’ll be using the “Notice of Valued Customer Status” letter from the Office Online Template Gallery. You can access it through Word via File, New, Letters, Business Letters, Billing and Order Letters, but you can certainly choose any template or letter of your own. The first things you’ll see are the form fields that the template designers added for you. Note that these aren’t Mail Merge fields, but form fields that we’re going to replace.

Unit Summary: Lesson 12 – External Data Sources & Mail Merge

Review Questions – Lesson 12 – External Data Sources & Mail Merge

1. What are some of the external data sources that you can use to pull data into Excel?

a. __________________________________________________

b. __________________________________________________

c. __________________________________________________

d. __________________________________________________

2. What options do you have when returning external data to Excel?

a. __________________________________________________

b. __________________________________________________

3. What does Mail Merge let you do?

a. __________________________________________________

4. Is a Mail Merge limited to letters that you print?

a. __________________________________________________

5. When creating a Mail Merge document do you have to use a Template document?

a. __________________________________________________

6. Why is important to make sure that your customer data is verified before creating a Mail Merge?

a. __________________________________________________

7. What are some other Mail Merge uses outside of Customer Communication?

a. __________________________________________________

Lesson Assignment – Lesson 12 – External Data Sources & Mail Merge