Sequential numbering of decimals

NikkiMc204

New Member
Joined
May 24, 2021
Messages
23
Office Version
  1. 365
  2. 2016
  3. 2013
Platform
  1. Windows
Hi can anyone help me with a formula or formula's

In column A I have a list of numbers with either 1 or 2 decimal points like so

A1
1.0
2.2.1
1.1
1.1.1
1.2
1.2.1
2.1
2.1.1
2.2

I just want to simply put them from smallest to largest but I'm just going round in circles, so i give up, i've thrown the towel in and have come to you guys/gals to ask for assistance.
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
For 365 how about
++Fluff.xlsm
AB
1
211
32.2.11.1
41.11.1.1
51.1.11.2
61.21.2.1
71.2.12.1
82.12.1.1
92.1.12.2.1
102.22.2
Main
Cell Formulas
RangeFormula
B2:B10B2=LET(r,A2:A10,SORTBY(r,LEFT(r,1),1,MID(r,3,1),1))
Dynamic array formulas.
 
Upvote 0
Is it a structured table, or just a range?
 
Upvote 0
I wish i knew. It was converted into a table pressing ctrl+t so there's multiple rows and columns with various headings. The particular title heading for all the decimal numbering is in the column titled "I.D" if that helps.
 
Upvote 0
I just realised, that formula can be used, so I deleted my previous post.
Try
++Fluff.xlsm
AB
1
211
32.2.11.1
41.11.1.1
51.1.11.2
61.21.2.1
71.2.12.1
82.12.1.1
92.1.12.2.1
102.22.2
Main
Cell Formulas
RangeFormula
B2:B10B2=INDEX(LET(r,$A$2:$A$10,SORTBY(r,LEFT(r,1),1,MID(r,3,1),1)),ROWS(B$2:B2))
 
Upvote 0
Solution
Oh you are the greatest - seriously, let me buy you a cup of coffee or something.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

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