Relating two lists-Index? Lookup? Match?, Vlookup?

Marc Enzi

Board Regular
Joined
Dec 13, 2004
Messages
92
I have several very long lists with data that I am trying to use to create a comprehensive list.

Airports have both a 3 letter IATA code (International Airline Transport Association) they also have a 4 letter ICAO code (International Civil Aeronautics Association). So Chicago O'Hare has a 3 letter IATA Code ORD and an ICAO COde of KORD, Mexico City is MEX (IATA) and MMMX (ICAO).

I have one partial list (Sheet 1) of both codes, and another list (SHeet 2)of ICAO codes (but no IATA codes)

I want to take the sheet 1 and use it to populate the IATA code column on sheet 2.

Sheet 1
IATA ICAO Name
AAA....NTGA...French Polynesia
ABE....KABE....Allentown PA
MEX....MMMX...Mexico City
ORD...KORD...Chicago IL

Sheet 2
IATA....ICAO....Name
...........KABE....Allentown PA
...........KORD...Chicago IL
...........MMMX...Mexico City
...........NTGA....French Polynesia

Thanks I appreciate it.
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Re: Relating two lists

Marc Enzi said:
I have several very long lists with data that I am trying to use to create a comprehensive list.

Airports have both a 3 letter IATA code (International Airline Transport Association) they also have a 4 letter ICAO code (International Civil Aeronautics Association). So Chicago O'Hare has a 3 letter IATA Code ORD and an ICAO COde of KORD, Mexico City is MEX (IATA) and MMMX (ICAO).

I have one partial list (Sheet 1) of both codes, and another list (SHeet 2)of ICAO codes (but no IATA codes)

I want to take the sheet 1 and use it to populate the IATA code column on sheet 2.

Sheet 1
IATA ICAO Name
AAA....NTGA...French Polynesia
ABE....KABE....Allentown PA
MEX....MMMX...Mexico City
ORD...KORD...Chicago IL

Sheet 2
IATA....ICAO....Name
...........KABE....Allentown PA
...........KORD...Chicago IL
...........MMMX...Mexico City
...........NTGA....French Polynesia

Thanks I appreciate it.

Sheet1(source)
Book3
ABCD
1IATAICAOName
2AAANTGAFrench Polynesia
3ABEKABEAllentown PA
4MEXMMMXMexico City
5ORDKORDChicago IL
6
Sheet1


Sheet2(destnation)
Book3
ABCD
1IATAICAOName
2ABEKABEAllentown
3ORDKORDChicago
4MEXMMMXMexico
5AAANTGAFrench
6
Sheet2


A2, copied down:

=INDEX(Sheet1!$A$2:$A$5,MATCH(B2,Sheet1!$B$2:$B$5,0))
 
Upvote 0

Forum statistics

Threads
1,211,710
Messages
6,103,452
Members
447,866
Latest member
bowers261

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top