Merging data in Excel: creating spreadsheets from data housed in multiple locationsMost companies track employee information in multiple databases. For example, you may track employee biographic and demographic in a payroll software tool, and employee contracts, lease agreements and license numbers in a manual spreadsheet. Managing and maintaining multiple databases can be both inefficient and time consuming when you need data on the fly.
The purpose of this article is to provide a step by step guide on how to merge data in Excel that has been extracted into a spreadsheet. By following the steps below, your new “super spreadsheet” can be created and readily available whenever you need it.
Required Tools:
1. Export information from both databases into an Excel spreadsheet.
Make sure there is a common unique identifier in each spreadsheet. For example, employee social security number or employee number.
2. Save both files into a secure location. Leave both spreadsheets open.
3. Format your spreadsheets. If the fields in your Excel spreadsheets are formatted differently the merge will not work.
4. Determine which spreadsheet you will be using as your master spreadsheet. All data will be merged into this spreadsheet.
5. Highlight all columns in sheet 1 of the master spreadsheet.
6. Open the ablebits.com “Merge Tables Wizard for Excel”.
7. When the tool opens you will be prompted to “Select the Master Table (First Table):”

Make sure all of your data is highlighted in blue. If not:
8. Click “Next”.
9. In the “Select the Lookup Table (second table):” select the other spreadsheet.

10. Make sure all of your data is highlighted in blue. If not, refer to step 7 for selecting your data.
11. Click “Next”.
12. In this screen, make sure the top boxes (3) are checked:

13. Once you’ve verified the checkboxes at the top are selected, select your unique identifier. Make sure the “Master Table Columns” and “Lookup Table Columns” are the same (This is where renaming the columns with the same name comes in handy).
There may be several columns auto selected by default. Make sure that you only select the columns you intend to use as the unique identifier. I strongly recommend you use as few unique identifiers as possible when you are working with more than one database due to differences in data.
14. Click “Next”.
15. In the 4th screen on the “Merge Tables Wizard” you select the placement of the data. There are a couple of ways you can merge this data in Excel:
Preferred Method: You can “add to the end”. By adding all merged data to the end, none of the data in your master spreadsheet will be updated; instead new columns will be added to the end of the Excel spreadsheet. This method is preferred if there may be discrepancies in data (first name in one database is Christopher vs. Chris in the other database). Once data is merged, you can move data into any position or column that suits your needs.

Custom Method: You can customize how your data is merged. This method may generate errors. Please see below for definitions.

16. Click “Next”.
17. The final step of the wizard helps you determine how the final data will be presented in your Excel worksheet:

For Matching rows: This section assists in customizing how and when data is updated in your master spreadsheet.
For NON-Matching Rows: This section is used to determine how non-matching data is handled.
Other: By checking the box in this section, the merge tool will add a column in the master spreadsheet to assist in determining which records were updated. Below are definitions of “MTW Status” codes used:
18. Click “Finish”.
19. Review merge summary. A pop-up box will appear with an action summary of what events took place during the merge process.

20. Click “OK”.
21. Review the new spreadsheet.
Click Like and get 15% discount on all our products right now!
