This method allows you to copy and paste, filter and sort to perform an external connection in Excel and is useful for only one. The idea is to use VLOOKUP to find all matching records to the left and right of the tables to the right and left. [Adding another entry to table 2 to display the outer join]
Table 1
Fernando Hector Vivian Ivan
table 2
Fernando, task A, 5 hours Vivian, task B, 8 hours Thomas, task A, 5 hours
Copy both tables into one table, where the first left columns will be indicated in table 1, and the first right columns and last rows will occupy the first rows and table 2 (the headers should be row 1 for both tables). Create a VLOOKUP function for the following two columns to find the corresponding keys from the tables from left to right and from right to left.
Table 3
Name Name Task Hours Match 1 Match 2 Fernando =VLOOKUP(A2,B:B,1,FALSE) =VLOOKUP(B2,A:A,1,FALSE) Hector =VLOOKUP(A3,B:B,1,FALSE) =VLOOKUP(B3,A:A,1,FALSE) Vivian =VLOOKUP(A4,B:B,1,FALSE) =VLOOKUP(B4,A:A,1,FALSE) Ivan =VLOOKUP(A5,B:B,1,FALSE) =VLOOKUP(B5,A:A,1,FALSE) Fernando task A 5 hours =VLOOKUP(A6,B:B,1,FALSE) =VLOOKUP(B6,A:A,1,FALSE) Vivian task B 8 hours =VLOOKUP(A7,B:B,1,FALSE) =VLOOKUP(B7,A:A,1,FALSE) Thomas task B 8 hours =VLOOKUP(A8,B:B,1,FALSE) =VLOOKUP(B8,A:A,1,FALSE)
Table 3 Result
Name Name Task Hours Match 1 Match 2 Fernando Fernando N/A Hector N/AN/A Vivian Vivian N/A Ivan N/AN/A Fernando task A 5 hours N/A Fernando Vivian task B 8 hours N/A Vivian Thomas task B 8 hours N/AN/A
NOTE For large datasets, the next step will take a very long time due to the calculation of VLOOKUP. Copy and paste the columns to match 1 and match 2 columns as values so that VLOOKUP does not recount during filtering.
Filter by match 1 and match 2 to see only N / A results. Copy the master data to another heading sheet.
Name Name Task Hours Match 1 Match 2 Hector N/AN/A Ivan N/AN/A Thomas task B 8 hours N/AN/A
Filter by match 1 and match 2 to not see N / A results. Sort the keys for both so that when copying and pasting everything matches. Copy and paste the data in table 1 into a new sheet below the previously inserted data. Then copy and paste the data from table 2 to the right of the data from table 1. that you just pasted.
Name Name Task Hours Match 1 Match 2 Fernando Fernando N/A Vivian Vivian N/A Fernando task A 5 hours N/A Fernando Vivian task B 8 hours N/A Vivian
The result is lower, and you can delete, sort, regardless of external related data.
Name Name Task Hours Hector Ivan Thomas task B 8 hours Fernando Fernando task A 5 hours Vivian Vivian task B 8 hours