Trouble sorting rows in Excel

tomkar

New Member
Joined
Dec 5, 2013
Messages
7
Hi,

I am having problem with sorting the following rows according to its values in an ascending order. I would like to have it sorted based on the number before the first dot "x." then the middle number and finally the last number.

I have tried filter, advanced sort, but I cant seem to get it to work. I need mrExcels expertise.
Current order
3.
3.10
3.10.1
3.2
3.2.1
10.
10.9
10.9.1
10.1
10.1.2
2.
2.1
2.1.1

<tbody>
</tbody>

Regards Tomas
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
To do that the length of each section must be the same:

03
03.10
03.10.1
03.02
03.02.1
10
10.09
10.09.1
10.01
10.01.2
02
02.01
02.01.1

<COLGROUP><COL style="WIDTH: 48pt" width=64><TBODY>
</TBODY>
 
Upvote 0
OK, yes that works. Thanks for the quick answer.

But if I would like to keep it as the original, without even sections, is it possible to sort it using VBA? And if so, how? I am curious because I had another sorting issue in another file which involved vba.
 
Upvote 0

Forum statistics

Threads
1,215,025
Messages
6,122,731
Members
449,093
Latest member
Mnur

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