Sort data is same other as excisting data

louvaek

New Member
Joined
Feb 11, 2010
Messages
7
Hey experts,

I have a sorting problem :(
In my first sheet, I have this data

32AA400
32AA303
32AZ555
32BE444
32YU883

This in one column, and it's sorted in the way i want it to be (so manually sorted)

In my second sheet, I have this data:

32YU883 street ID 1
32YU883 street ID 4
32YU883 street ID 9
32YU883 street ID 10
32AA303 street ID 2
32AA303 street ID 4
32BE444 street ID 99
32AA400 street ID 44
32AA400 street ID 2
32AA400 street ID 1
32AZ555 street ID 7
32AZ555 street ID 42

Now I want to sort the data in my second sheet, in the same order as the data in the first sheet, like this:

32AA400 street ID 44
32AA400 street ID 2
32AA400 street ID 1
32AA303 street ID 2
32AA303 street ID 4
32AZ555 street ID 7
32AZ555 street ID 42
32BE444 street ID 99
32YU883 street ID 1
32YU883 street ID 4
32YU883 street ID 9
32YU883 street ID 10

Can I do this with a formula, or is there a sorting option in excel to complete this task? Just don't know where to start ...
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

Forum statistics

Threads
1,224,520
Messages
6,179,266
Members
452,902
Latest member
Knuddeluff

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