Combining similar data from three different sources into one row for each client

Copper Contributor

To start off, I don't really use Excel, but I was given this task.

We are integrating two stores (CRUNCH and FRESH) into our MAIN system, each with their own client formatting. Many clients are shared between all three stores, but the goal is to condense the data into one row, populating data in the necessary column.


Example data.png


In the Example data set, Apple Candy is the customer and there are three entries from different origins. The customer name is formatted differently in each row and there is a second location. Columns H-J are specific to their origin.


The Goal is to condense all the data for one customer and keep it on one row. So all Apple Candy customer data would be limited to row 2, and the client numbers from each origin would populate into row 2. IF the address is different, a second entry could be added. The ideal scenario would look like this desired data set


The real data set has +9000 rows and 45 columns. What is the easiest and quickest way to complete this task. And could you provide step-by-step instructions as I am a beginner. 

1 Reply


To combine similar data from three different sources into one row for each client in Excel, you can use a combination of formulas such as VLOOKUP, INDEX-MATCH, and CONCATENATE, along with conditional logic and possibly some manual data cleaning. Please Backup your file before you make any changes. Here's a step-by-step approach:

Prepare Your Data:

    • Make sure all three sets of data are in separate worksheets or tables in your Excel workbook.
    • Ensure that each dataset contains a unique identifier for each client (e.g., customer name or ID) that can be used to match records across datasets.

Identify Matching Clients:

    • Create a new worksheet where you'll consolidate the data.
    • In the first column, list all unique client names or IDs from all three datasets. You can use the "Remove Duplicates" feature to achieve this.

Combine Data Using VLOOKUP or INDEX-MATCH:

    • In the columns next to the client names, use VLOOKUP or INDEX-MATCH formulas to retrieve data from each dataset based on the client name.
    • For example, in cell B2 of your new worksheet, you can use a formula like this to retrieve the client number from the CRUNCH dataset:

=VLOOKUP($A2, 'CRUNCH'!$A$2:$J$9001, 2, FALSE)

    • Repeat this process for each dataset and each column of data you want to combine.

Handle Duplicates and Additional Addresses:

    • If a client has multiple entries in any dataset, you'll need to decide how to handle duplicates. You can concatenate values from multiple entries into a single cell, or you can create additional rows for each entry.
    • For additional addresses, you can use conditional logic to determine if an address is different and add a new row accordingly.

Clean Up the Data:

    • Once you have combined the data, review it for any errors or inconsistencies. You may need to manually clean up the data or adjust your formulas to handle special cases.

Test and Verify:

    • Test your consolidated data to ensure that it accurately represents the information from all three datasets.
    • Verify that all clients are correctly matched and that the combined data is complete and accurate.

Automate the Process (Optional):

    • If you anticipate needing to perform this task regularly, you can automate the process using Excel macros or by building a more complex formula-based solution.

By following these steps, you should be able to combine similar data from three different sources into one row for each client in Excel. Remember to take your time and double-check your work to ensure accuracy. The text was created with the help of AI.


My answers are voluntary and without guarantee!


Hope this will help you.


Was the answer useful? Mark as best response and like it!

This will help all forum participants.