Hello TristanPKT. Welcome to the forum and Happy Independence Day!!! 
Try array entering this formula in E3. 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.
Formula:
=IFERROR(INDEX($B$2:$B$25,MODE.MULT(IF(($D3=$A$2:$A$25)*
ISNA(MATCH($B$2:$B$25,$D3:D3,0)),MATCH($B$2:$B$25,$B$2:$B$25,0)+{0,0}))),"")
|
D |
E |
F |
G |
1 |
|
|
|
|
2 |
ID |
#1 State |
#2 State |
#3 State |
3 |
A1 |
KY |
OH |
IN |
4 |
A2 |
FL |
GA |
NC |
5 |
A3 |
NY |
MA |
PA |
6 |
A4 |
CA |
WA |
OR |
7 |
|
|
|
|
Bookmarks