Another way.
Apply the second range in a new tab.
With target countries in E1:F1 array enter this formula in E2, fill down and across until you get blanks. If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.
|
A |
B |
C |
D |
E |
F |
G |
1 |
Name |
ID |
Country |
|
DE |
US |
|
2 |
Smith |
12345 |
US |
|
Smith |
12345 |
US |
3 |
Jones |
54321 |
CA |
|
Johnson |
34512 |
DE |
4 |
Johnson |
34512 |
DE |
|
Knight |
54312 |
US |
5 |
Harris |
21543 |
UK |
|
|
|
|
6 |
Knight |
54312 |
US |
|
|
|
|
Bookmarks