How to merge or combine two excel files onto 1 worksheet

Manny74

Board Regular
Joined
May 6, 2016
Messages
124
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
So I have 2 Microsoft Excel files....(see below)
How do merge/combine the two files onto 1 worksheet? Without having to copy & paste.....


1 is called, let's say Test1
NSUPNAMEMED RECDISCH_DISPOSITION
5WBROWN, CHARLIE999SNF
5NWOODSTOCK, JOHN888Home Health
4EBENNETT, LYLE777TRANSFER

The other is called, let's say, Test2
NURSE_UNITPATIENTPERSON IDDISCHARGE_ORDER_DETAILS
3EDOE, JOHN666SNF
3SDOE, JOSEPH555HOME HEALTH
3NDORSEY, LUKE444HOME HEALTH
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Well, here is one way.

Let's say that on sheet "Test1", your data is in cells A1:D4
And on sheet "Test2", your data is in cells A1:D4 also

On sheet Test1, you could go to cell A5, and enter this formula:
=Test2!A2
now autofill/drag that formula down to row 7 and out to column D, and you will have all your data on sheet "Test1".
 
Upvote 0
Hi Joe4, This is a great workaround!
Its working well.
But is there a way to merge and/or combine two worksheets, without using formulas?
 
Upvote 0
I tried clicking on the Data tab, clicking on Consolidate but I see my options are count, sum, average, etc.
It seems its more for number totals?
 
Upvote 0
I'm a bit confused about your term to merge/combine. What do you want your end result to look like based upon the example provided.
 
Upvote 0
Hi Alan, I'd like to combine/merge the two excel spreadsheets onto one spreadsheet, to look like this:

NSUPNAMEMED RECPERSON IDDISCH_DISPOSITIONDISCHARGE_ORDER_DETAILS
5WBROWN, CHARLIE999SNF
5NWOODSTOCK, JOHN888Home Health
4EBENNETT, LYLE777TRANSFER
3EDOE, JOHN666SNF
3SDOE, JOSEPH555HOME HEALTH
3NDORSEY, LUKE444HOME HEALTH
 
Upvote 0
If you change the headers to be exactly the same for the Unit and Patient, you can do an append very quickly using Power Query. The end result will look like the following:

Book1
ABCDEF
1NSUPNAMEMED RECDISCH_DISPOSITIONPERSON IDDISCHARGE_ORDER_DETAILS
25WBROWN, CHARLIE999SNF
35NWOODSTOCK, JOHN888Home Health
44EBENNETT, LYLE777TRANSFER
53EDOE, JOHN666SNF
63SDOE, JOSEPH555HOME HEALTH
73NDORSEY, LUKE444HOME HEALTH
Sheet3
 
Upvote 0
The only other option I have to offer you other than copy/paste or using formula is some sort of a VBA solution (and Alan has offered a Power Query solution).
I think that pretty covers all the bases.
Excel hasn't come up with a mind-reading solution yet, maybe in the next release!;)
 
Upvote 0

Forum statistics

Threads
1,215,001
Messages
6,122,648
Members
449,092
Latest member
peppernaut

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top