Hello all, need a little help!

LucasCu

New Member
Joined
Aug 27, 2014
Messages
2
Hi there,

I'm new here, and I will begin my journey into Excel by asking a quick (and probably simple) question.

I am currently setting up a database on global airports and I have an issue with two columns that I want to remain linked.

For example:

[TABLE="width: 379"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Airport Name[/TD]
[TD]IATA
Code[/TD]
[/TR]
[TR]
[TD]Adelaide International Airport[/TD]
[TD]ADL
[/TD]
[/TR]
[TR]
[TD]Bendigo Airport[/TD]
[TD]BXG[/TD]
[/TR]
[TR]
[TD]Brisbane International Airport[/TD]
[TD]BNE[/TD]
[/TR]
[TR]
[TD]Canberra International Airport[/TD]
[TD]CBR
[/TD]
[/TR]
</tbody>[/TABLE]

Once my database is complete, I want to be able to sort the data I have entered, but as the IATA code is directly connected to the airport, I want the two columns to be sorted together. In the eventuality that someone wishes to sort airports A-Z, I want the IATA code to be sorted with it.

I'm a beginner with excel, and any help is much appreciated!

Kind regards

Lucas
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Airport Name in column A, IATA code in B
Highlight both columns at the top
Click on DATA
Click on SORT
Sort by Column A
This will sort the Airports A-Z (default) - but you can change the order as well...
 
Upvote 0

Forum statistics

Threads
1,225,073
Messages
6,182,700
Members
453,132
Latest member
nsnodgrass73

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