Home |
Search |
Today's Posts |
#4
![]() |
|||
|
|||
![]()
One way to try
(a revision to the formula in my earlier response to you in the other branch) Assuming the sample data is in col A, A1 down and is representative (i.e. 3 numerics before the alphas) Put in B1: =IF(A1="","",IF(LEN(A1)=3,A1,LEFT(TRIM(A1),3)+ROW( )/10^10)) Copy B1 down Now select cols A and B, do a Data Sort (Sort by *column B*) Ascending OK You'll get the desired sort order in col A: 110 110LEG 115 115SAP 117 117LEG 120 -- Rgds Max xl 97 --- GMT+8, 1° 22' N 103° 45' E xdemechanik <atyahoo<dotcom ---- "MXC" wrote in message ... The desired output in this example would be: 110 110LEG 115 115SAP 117 117LEG 120 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I sort by row instead of by column? | Excel Worksheet Functions | |||
"-" ignored in sort | Excel Discussion (Misc queries) | |||
Excel Sort function should not sort the cell formatting! | Excel Worksheet Functions | |||
Keeping Row 1 at the top during a Data Sort... | Excel Worksheet Functions | |||
Data > Sort function amnesia? | Excel Discussion (Misc queries) |