scrubbing a list

Marc Enzi

Board Regular
Joined
Dec 13, 2004
Messages
92
I am trying to boil down a list of airport codes.

I have several sources IATA1 & 2) none of which are complete...anyhow....here is what I have and what I want to do...

IATA_1....IATA_2...IATA_3...ICAO...Airport_Name
SOZ........#N/A...................LFKS....Solenzara
BOU........BOU....................LFLD.....Bourges
#N/A........VHY....................LFLV.....Vichy
#N/A........#N/A...................LFMC....Le Luc

I want excel to sort out IATA_1 and IATA_2 and decide to use the code that is not an error (sometimes there is no error and both sources are correct- and sometimes both sources are an error) and place it in IATA_3.

IATA_1....IATA_2...IATA_3...ICAO...Airport_Name
SOZ........#N/A......SOZ.......LFKS....Solenzara
BOU........BOU.......BOU......LFLD.....Bourges
#N/A........VHY......VHY........LFLV.....Vichy
#N/A........#N/A.....NONE .....LFMC....Le Luc



Thanks for the help
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Forum statistics

Threads
1,214,539
Messages
6,120,100
Members
448,944
Latest member
SarahSomethingExcel100

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