Forum Discussion

rjboudreau's avatar
rjboudreau
Copper Contributor
Aug 09, 2023
Solved

Combine Multiple Excel Sheets with Different Columns

Hi all,

 

I am attempting to combine multiple excel sheets into one sheet where some column headers match, and some are different. If sheet1 does not have the same header as sheet2, then I would like blank cells. Is something like this possible without manually creating blank columns so both sheets have the same headers?

Ex:

Table 1:

NameDemo Data 1Demo Data 2
PaulAddress 1Phone 1
JohnAddress 2Phone 2
SarahAddress 3Phone 3

 

Table 2:

NameDemo Data 1Demo Data 3Demo Data 4

Jacob

Address 4Zip 4State 4
YesseniaAddress 5Zip 5State 5
LarryAddress 6Zip 6State 6

 

Desired result:

NameDemo Data 1Demo Data 2Demo Data 3Demo Data 4
PaulAddress 1Phone 1  
JohnAddress 2Phone 2  
SarahAddress 3Phone 3  

Jacob

Address 4 Zip 4State 4
YesseniaAddress 5 Zip 5State 5
LarryAddress 6 Zip 6State 6
  • Seems I found the answer myself with some more playing around! Thank you to anyone currently typing an answer. For anyone who needs this in the future:
    1. Load both sheets as as data connections and add to the data model.
    2. Then click Get Data in the data tab and select Combine Queries -> Append

2 Replies

  • rjboudreau's avatar
    rjboudreau
    Copper Contributor
    Seems I found the answer myself with some more playing around! Thank you to anyone currently typing an answer. For anyone who needs this in the future:
    1. Load both sheets as as data connections and add to the data model.
    2. Then click Get Data in the data tab and select Combine Queries -> Append

Resources