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
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: