join you have three choices . only include rows matched by field on both tables, incl ALL ROWS from Sheet1 match and unmatch , incl ALL rows frm Sh2

YANECKC

Board Regular
Joined
Jun 13, 2002
Messages
199
in microsoft access you only have three choices in design join. Only include rows matched by field, include ALL ROWS from Sheet1 and matched rows from sheet2, include ALL ROWS from Sheet2 and matched rows from sheet1. How can i include ALL ROWS from both Sheet1 and Sheet2 matched and unmatched ? It would be like clicking on the second and third choices together.
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
I would do it in a series of queries.
1. Do the first, all rows form Sheet1 with the matches from Sheet2.
2. Create another unmatched query from Sheet2 to Sheet1, which only returns the records from Sheet2 that have no match from sheet.

Between these two queries, you should have ALL the possible records.
Then, perform a Union query between these two queries you just created to get your complete data set.
See: Use a union query to combine multiple queries into a single result - Microsoft Support

Just note that the data in Union Queries is not editable.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,183
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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