Sorting Revision Labels in Excel

Hockeynow70

New Member
Joined
Nov 14, 2013
Messages
4
Greetings,

I need the forum's help again. I've tried everything I can think of but can't get Excel to do what I want (I don't know how to write VBA yet).

We have revision controlled documents and I need to sort large lists to determine, for example, the latest Revision in the list. To do this, I need Excel to sort by Part Number, then by Revision in the order they are shown below.

Note, the "SORT ORDER" column is just for reference; I don't require that in the spread sheet if the method will sort the rows in the order indicated. Can anyone help? I'm running Excel 2010 on Win7. Thanks in advance.

Here is a sample of how I need Excel to sort (ascending downward):

[TABLE="class: grid, width: 190"]
<tbody>[TR]
[TD]SORT ORDER[/TD]
[TD]PART NUMBER[/TD]
[TD]SORTED REV VALUES[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]XLO2328[/TD]
[TD]--[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]XLO2328[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]XLO2328[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]XLO2328[/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]XLO2328[/TD]
[TD]A1[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]XLO2328[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]XLO2328[/TD]
[TD]B1[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]XLO2328[/TD]
[TD]AA[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]XLO2328[/TD]
[TD]AB[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]XLO2328[/TD]
[TD]BA[/TD]
[/TR]
</tbody>[/TABLE]

Wait, on second thought, I guess I DO need the sort order so that I can determine which one is the highest Rev level by a TRUE/FALSE statement. I don't think Excel will recognize by default that "AA" is greater than "B1".

Warm regards,
Chris
 
Last edited:

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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