Sort 4 columns individually without losing the order in the other 3

Ironman

Well-known Member
Joined
Jan 31, 2004
Messages
1,069
Office Version
  1. 365
Platform
  1. Windows
Hi

Row A:D is filtered so I can sort any of those columns.

My issue is that when I sort Column A Largest to Smallest or any other column then the data in the rows doesn't 'stick' with that column and the numbers become nonsensical.

Here's the data:



Book1
ABCDE
178DIST.AVE TIMEROUTE ##RUNSROUTE DETAILS
1792.20:273214Cullingworth Road/Viaduct (up and down)/Halifax Road/Greenside Lane
1803.00:372911Cullingworth Road/Up viaduct/Down Station Road/Back up/Down viaduct/Halifax Road/Greenside Lane
1814.20:543315Cullingworth Road/Viaduct/Station Road/Lane Side/Ling Bob/Wilsden Road/Bents Lane/Hallas Bridge
1824.21:03411Hallas Bridge/Down Bents Lane/Harden Lane/Smithy Lane/Cross Lane/Lee Lane/Sandy Banks/Harden Lane/Bents Lane/Hallas Bridge
1835.01:08342Cullingworth Road/Viaduct/Station Road/Lane Side/Ling Bob/Haworth Road/Shay Lane/Crack Lane/Main Street/Bents Lane/Hallas Bridge
1845.31:14353Cullingworth Road/Viaduct/Station Road/Lane Side/Ling Bob/Haworth Road/Shay Lane/Coplowe Lane/Cross Lane/Smithy Lane/Main Street/Bents Lane/Hallas Bridge
1855.41:11402Cullingworth Road/Shay Lane/Coplowe Lane/Smithy Lane/Bents Lane/Hallas Bridge
1866.71:27423Cullingworth Road/Shay Lane/Crack Lane/Main Street/Harden Lane/Mill Hill Top/Wilsden Road/Mad Mile/Home
1877.01:35363Cullingworth Road/Viaduct/Station Road/Lane Side/Ling Bob/Haworth Road/Wilsden Road/Cottingley Road/Lee Lane/Cross Lane/Smithy Lane/Wilsden Road/Bents Lane/Hallas Bridge
1887.01:31391Cullingworth Road/Viaduct/Ling Bob/Haworth Road/Shay Lane/Coplowe Lane/Smithy Lane/Main Street/Harden Lane/Mill Hill Top/Wilsden Road/Mad Mile/Greenside Lane
1897.71:44374Cullingworth Road/Viaduct/Station Road/Lane Side/Ling Bob/Haworth Road/Wilsden Road/Cottingley Road/Lee Lane/Cross Lane/Coplowe Lane/Crack Lane/Main Street/Bents Lane/Hallas Bridge
1909.42:13383Cullingworth Road/Viaduct/Harecroft/Ling Bob/Wilsden Road/Cottingley Road/Lee Lane/Cross Lane/Coplowe Lane/Crack Lane/Main Street/Harden Lane/Wilsden Road/Mad Mile/Home
19110.42:271425Hallas Br/Down Bents Ln/Up Harden/Smithy/Lee Farm/Black Hills/Golf Course/Beck Foot Ln/Wagon Ln/Up LLC to top of 5-Rise Locks/Back to 3-Rise Locks & over Br/Brown Cow/Main Rd home
19213.13:12431Hallas Br/Down Bents Ln/Up Harden/Smithy/Lee Farm/Black Hills/Golf Course/Beck Foot Ln/Wagon Ln/Up LLC beyond Duck House to grass chicane/Back to 3-Rise Locks & over Br/Brown Cow/Main Rd home
19315.33:45441Hallas Br/Down Bents Ln/Up Harden/Smithy/Lee Farm/Black Hills/Golf Course/Beck Foot Ln/Wagon Ln/Up LLC to junct. of Granby Ln (Riddlesden)/Back to 3-Rise Locks & over Br/Brown Cow/Main Rd home
Analysis
Cell Formulas
RangeFormula
B179=C66
B180=C47
B181=C86
B182=C151
B183=C94
B184=C102
B185=C143
B186=C159
B187=C110
B188=C135
B189=C119
B190=C127
B191=C31
B192=C167
B193=C175
D179=A66
D180=A47
D181=A86
D182=A151
D183=A94
D184=A102
D185=A143
D186=A159
D187=A110
D188=A135
D189=A119
D190=A127
D191=A31
D192=A167
D193=A167



Hope you can help - thank you.
 
Last edited:
does this make sense

Excel Workbook
ABCDEFG
1178DIST.AVE TIMEROUTE ##RUNSROUTE DETAILS
21792.200:273214Cullingworth Road/Viaduct (up and down)/Halifax Road/Greenside Lane2.2 0.01875 32 14
3180300:372911Cullingworth Road/Up viaduct/Down Station Road/Back up/Down viaduct/Halifax Road/Greenside Lane
4
52.2 0.01875 32 14Cullingworth Road/Viaduct (up and down)/Halifax Road/Greenside Lane
6
7Cullingworth Road/Viaduct (up and down)/Halifax Road/Greenside Lane
Sheet1
 
Upvote 0

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Thanks for your trouble Mole - I'm sorry but I don't see how your suggestion will enable me to sort columns B:E above.
 
Upvote 0
as long as the numbers are all sorted together thereby maintaining their individual relationships then the route will align on the unique combination of them from the vlookup
 
Upvote 0
Referring back to my first post, all I want to do is be able to sort any of the first 4 columns from smallest to largest and largest to smallest. I think the cell links are making this difficult though.

Yes but we may need to change tack to achieve your actual goal. You have many criteria Rank, Date, Time & Pace. Once filtered then you calculate average and you want the hyperlinks to follow any type of list that you set?

Can you clarify please.
 
Upvote 0
Mole - Thanks again, though I don't understand what the value in G2 is doing in E5.

RasGhul - I posted that just so the formulas in the originating cells can be seen. My first post shows the copied results from those cells that I now want to sort. Maybe if those copied formulas were automatically converted to values it would make a difference?
 
Upvote 0
G2 shows how to concatenate the values.

E5 is part of a single line VLOOKUP to demonstrate from
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,636
Latest member
laura12345

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