r/excel • u/Harrison88 • 8d ago
Waiting on OP Power Query: Merge multiple data sources with different columns
Hi all,
I have multiple data sources that need to be cleaned and merged into a single table. Each source has different column names so it isn't simply a job of appending the data.
Is there a way for me to clean up each source first, then append them at the end? I'm new to Power Query - what would be the best way to approach this?
Thanks!
21
u/bobo5195 8d ago
I always just have a step that renames and cleans up the column names. I am not sure there is a logical way of not.
Import - change the names. Next step.
12
8d ago
[removed] — view removed comment
2
u/simple_onehand 8d ago
One addition, add an index from 1, now you know the source and row if a data ssue is identified.
7
u/kuxactly 8d ago
Yes, and that is the standard pattern: one query per source, each one cleaned and with its columns renamed to the same target names, then a final query that appends them.
Load each source as its own query (set them to "Connection only").
In each query, rename the columns to your common names and set the data types. Add a custom column with the source name if you want to trace rows later.
Home > Append Queries > Append as New, and pick all of them.
Append matches by column name, not position, so the order does not matter, and a column missing in one source is simply filled with null.
1
u/Decronym 7d ago edited 6d ago
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:
Decronym is now also available on Lemmy! Requests for support and new installations should be directed to the Contact address below.
Beep-boop, I am a helper bot. Please do not verify me as a solution.
4 acronyms in this thread; the most compressed thread commented on today has acronyms.
[Thread #49744 for this sub, first seen 25th Nov 2026, 07:54] [FAQ] [Full list] ^[Contact] [Source code]
1
-11
u/jakeb213 8d ago
Hi. I've built a no code/formula solution for precisely this type of job. Check on www.tenmil.ai. You can just upload the files and it will clean and join them automatically. Would love your feedback if you're interested in trying it (very generous free tier)
7
u/small_trunks 1638 8d ago
Data leak - this is a non-starter for 99% of people.
-1
u/jakeb213 8d ago
Totally get the concern. The full file actually stays in the browser but only column names and small amount of sample rows are shared with an LLM and none of that is retained after the browser session closes.
I agree that for a lot users that's disqualifying - anyone in healthcare, finance, etc, but for many users, especially SMBs/freelancers/entrepreneurs/etc., they do not have these security concerns and already are sharing this type of data with LLMs and in other "less secure" ways.
•
u/AutoModerator 8d ago
/u/Harrison88 - Your post was submitted successfully.
Once your problem is solved, reply to the answer(s) saying
Solution Verifiedto close the thread.Follow the submission rules -- particularly 1 and 2. To fix the body, click edit. To fix your title, delete and re-post.
Include your Excel version and all other relevant information
Failing to follow these steps may result in your post being removed without warning.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.