Alternate Sorting.

monosij

New Member
Joined
Mar 26, 2013
Messages
1
Hi,

I have a peculiar situation where I want to sort by. Can anyone give me any pointers please if this can be achieved.

I have the following data

C1C2C3
100141A
100142B
141100A
142100C

<colgroup><col style="width:48pt" span="3" width="64"> </colgroup><tbody>
</tbody>

<tbody>
</tbody>
and this is how i need the data to be displayed after sorting

C1C2C3
100141A
141100A
100142B
142100C

<colgroup><col style="width:48pt" span="3" width="64"> </colgroup><tbody>
</tbody>





If you notice C1 and C2 have the same values but half the list is inverted and I need to be able to bring the rows which have the same combination together. Another complexity is that this needs to be dynamic as it is not necessary that the pairs will always exist and I'm fine for the ones that are not in pairs to be stacked together at the end.

Any help is much appreciated.
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
The values in column 3 do not identify pairs, correct? Can you add a helper column?

If you can add a helper column, put the formula "=MIN(Ax:Bx) & MAX(Ax:Bx)" Then sort on that.
 
Upvote 0

Forum statistics

Threads
1,203,270
Messages
6,054,488
Members
444,727
Latest member
Mayank Sharma

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