Pro User
Timespan
explore our new search
AWESOME Excel trick to combine data from files when formats don't match
Excel
Feb 20, 2023 3:30 PM

AWESOME Excel trick to combine data from files when formats don't match

by HubSite 365 about Chandoo

Pro UserExcelM365 Hot News

I want to combine data from different files, but the format doesn't match. In this video, let me show you two advanced Excel tricks to solve the problem.

I want to combine data from different files, but the format doesn't match. In

this video, let me show you two advanced Excel tricks to solve the problem.

We are going to use Power Query and simple M code to take data in different files and combine it. This works great if you have files with columns out of order or different column headers.

IN THIS VIDEO:

0:00 - Problem 1: Columns not in same order

4:08 - Problem 2: Column names do not match!

DOWNLOAD SAMPLE DATA:

Sample data

[https://chandoo.org/wp/wp-content/uploads/2023/02/different-files-formats.zip]

Use the instructions in the video to combine the data.

More about Power Query feature

An awesome Excel trick to combine data from files when formats don't match is to use the Power Query feature. This feature can be found in the Data tab of Excel and it allows you to easily merge multiple data sets that have different formats into one table. With Power Query, you can select which columns or rows you would like to keep, filter out unwanted information, and even transform your data before combining them together. Additionally, if you need to update your combined dataset regularly with new files or records in those files, then this trick makes it easy for you as well since any changes made will automatically be reflected in your combined dataset.

7 days ago — See how to quickly merge two tables in Excel by matching data in one or more columns and how to combine worksheets based on column headers.

Combine by category · Open each source sheet. · In your destination sheet, click the upper-left cell of the area where you want the consolidated data to appear.

Power Query is the best way to merge or combine data from multiple Excel files in a single file. You need to store all the files in a single folder and then ...

Excel Trick #12 – Data has Duplicates · Highlight Duplicate Data: Select the data and Go to Home –> Conditional Formatting –> Highlight Cells Rules –> Duplicate ...

Dec 4, 2022 — The Excel Consolidate function allows an analyst to combine multiple Excel files / workbooks into one. The function helps with data ...

To get started, first make sure all of your data to be merged is in the first sheet of your spreadsheet. You'll also need to set up your column names to match ...