ExcelNewbie2020
Active Member
- Joined
- Dec 3, 2020
- Messages
- 343
- Office Version
- 365
- Platform
- Windows
I have a source data (code column) that has duplicate values with different names.. Would it be possible for a lookup function to look for similar value but the different return value. Please find below expected result.. thank you.. (Excel 2021)
source | expected result | ||||
Code | Name | Code | Name | ||
AAA | Lara | AAA | Lara | ||
BBB | Gayle | AAA | Welles | ||
CCC | Ponting | BBB | Gayle | ||
AAA | Welles | BBB | Perot | ||
BBB | Perot | CCC | Ponting | ||
CCC | Murdoch | CCC | Murdoch | ||
DDD | Kipling | DDD | Kipling | ||
EEE | Coolidge | EEE | Coolidge | ||
EEE | Porter | EEE | Porter | ||
GGG | Connery | GGG | Connery | ||
HHH | Beatty | GGG | Fenty | ||
GGG | Fenty | HHH | Beatty |