Hey, I have read some similar threads here and tried some of them but still no solution for me.
I have a large database where I would like to list all destinations of each driver for certain days. The main challenges are 1. any driver can appear in any of 3 columns, 2. there can be more than one matches. I have managed to use index; match formulas with IFNA logic to solve the first challenge, but cannot solve the second one to concat the multiple matches as it would work in a pivot table. Pivot table is not an option becase of the first challenge. Below is an example.
Data is in Sheet 1, expected result in Sheet 2 B2:C5
I have a large database where I would like to list all destinations of each driver for certain days. The main challenges are 1. any driver can appear in any of 3 columns, 2. there can be more than one matches. I have managed to use index; match formulas with IFNA logic to solve the first challenge, but cannot solve the second one to concat the multiple matches as it would work in a pivot table. Pivot table is not an option becase of the first challenge. Below is an example.
Data is in Sheet 1, expected result in Sheet 2 B2:C5
Sheet 1 | A | B | C | D | E | Sheet 2 | A | B | C | |
1 | Date | Driver 1 | Driver 2 | Driver 3 | Destination | 1 | 2021.03.17 | 2021.03.20 | ||
2 | 2021.03.17 | Driver A | Barcelona | 2 | Driver A | Barcelona | Barcelona, Prague | |||
3 | 2021.03.17 | Driver B | Driver D | Wien | 3 | Driver B | Wien | Wien | ||
4 | 2021.03.17 | Driver C | Budapest | 4 | Driver C | Budapest | Budapest, Prague | |||
5 | 2021.03.20 | Driver A | Barcelona | 5 | Driver D | Wien | Wien | |||
6 | 2021.03.20 | Driver B | Driver D | Wien | ||||||
7 | 2021.03.20 | Driver C | Budapest | |||||||
8 | 2021.03.20 | Driver A | Driver C | Prague |