Hello,
I have two datatables and I would like to match the values in it in order to get the relevant data
I have this table with the data I will need to use depending on parameters
| Country | Air Transport | Sea Transport | Arrival Airport | Departure Port | Arrival Port | City | City (bis) | Road Transport |
|---|---|---|---|---|---|---|---|---|
| CHINA | 170502 | 161998 | 145106 | 145731 | 145722 | SHANGHAI | ||
| SINGAPORE | 120791 | 120791 | 145723 | 145731 | 145723 | |||
| JAPAN | 170502 | 173327 | 145157 | 145731 | 145819 | TOKYO | HANEDA | |
| SOUTH KOREA | 100566 | 12791 | 144944 | 145731 | 145699 | INCHEON | ||
| RUSSIA | 170584 |
I need to match the country and the shipment type
For example:
If my shipment is going to CHINA, through Boat, I will need
The row for China, the code for sea transport as well as the departure and arrival ports + the cities
if it’s china by plane:
- I will need the codes for the airports + the cities
If it’s russia then it’s only by road and I will need the code.
Basically I need the codes for the corresponding transportation and any corresponding data that is not empty
I will have a second table to match a code with the corresponding type
02 : ROAD
01 : PLANE
03 : BOAT
How can I achieve this please?
Thank you

