Example:
Does anyone know how to combine multiple files that contain a different amount of columns with power querry?
-Column names that are the same and should all line up
-Some spreadsheets have additional columns (e.g. File 3, Column "Education 2"), which the other spreadsheets do not have
-I can not manually add or rearrange columns in the spreadsheets as I have hundreds of files, with each file containing hundreds of columns
-For the final output / result, I do not need the columns in any specific order. I just need to preserve all the data
Can someone point me in the right direction? When I tried to combine the worksheets, I ended up missing columns for some reason.
Output:
Does anyone know how to combine multiple files that contain a different amount of columns with power querry?
-Column names that are the same and should all line up
-Some spreadsheets have additional columns (e.g. File 3, Column "Education 2"), which the other spreadsheets do not have
-I can not manually add or rearrange columns in the spreadsheets as I have hundreds of files, with each file containing hundreds of columns
-For the final output / result, I do not need the columns in any specific order. I just need to preserve all the data
Can someone point me in the right direction? When I tried to combine the worksheets, I ended up missing columns for some reason.
Name | Age | Work History 1 | Education 1 | ||
File 1 | John | 17 | Toys R us | Jeffersion High School | |
Name | Age | Work History 1 | Work History 2 | Education 1 | |
File 2 | Paul | 19 | OfficeMax | McDonalds | Adams High School |
Name | Age | Work History 1 | Education 1 | Education 2 | |
File 3 | Steven | 31 | Costco | Douglass High School | Stevens School |
Output:
Name | Age | Work History 1 | Education 1 | Work History 2 | Education 2 | |
File 1 | John | 17 | Toys R us | Jeffersion High School | Null | Null |
File 2 | Paul | 19 | OfficeMax | Adams High School | McDonalds | Null |
File 3 | Steven | 31 | Costco | Douglass High School | Null | Stevens School |
Last edited: