Oz du Soleil takes you on a visual journey of the six types of joins in Get & Transform in Excel 2016, including Full Outer, Inner, Left Outer, Left Anti, Right Anti, and Right Outer.
- [Instructor] Joins are six useful methods Get & Transform gives us for merging datasets. However, understanding them can be difficult. I struggled with this. See, they're named things like inner join, right anti join, left outer join, but the inside of what, left right of what. Let's give you examples to help you understand. You and I are leading a new product orientation and we have two lists: people who are required to attend, people who have enrolled.
Notice that there are people on both lists. Notice that Nisha is on both lists. Ty is required, Jo is enrolled. And looking at it this way, we see Sam, Nisha, Lloyd and Anton are on both lists, required and enrolled. Let's look at it one more way. Now we see the people that are on both lists, they're paired up, and this starts to look like our old friend from 8th grade, the Venn diagram.
Now we can see the left side, right side, and inner, where both circles overlap. Now let's look at each join in a Venn diagram format. The inner join, only the people who are on both the left and the right sides. Left outer join, everybody on the left side, whether they have a match on the right side or not. Left anti join, only the people on the left side who do not have a match on the right side.
Right outer join, everybody on the right side, whether they have a match on the left side or not. Right anti join, everybody on the right side who do not have matches on the left side. Full outer join, everybody whether they have a match or not. So when you're merging data with Get & Transform it will help to visualize that data in terms of the Venn diagram.
- What is Get & Transform?
- Querying data
- Working with columns
- Using formulas
- Pivoting and unpivoting data
- Grouping data
- Appending a query
- Merging/combining data with joins