How to custom sort a long file with new entries.

skippy1

New Member
Joined
Mar 11, 2023
Messages
3
Office Version
  1. 365
Platform
  1. Windows
I have an excel file file about a thousand entries that we number like following (please copy/past this in new sheet)

IndexItem Number
1​
F1
2​
F2
3​
F3
4​
F3.1
5​
F3.2
6​
F3.3
7​
F3.4
8​
F3.5
9​
F3.6
10​
F3.7
11​
F3.8
12​
F3.9
13​
F3.10
14​
F3.11
15​
F4
16​
F5
17​
F5.1
18​
F6


I would like to sort by Item Number column with ability that I can add new entries in the same format and be able to sort it again correctly.

Right now this sheet is created in sorted way.

The issue I am facing is my actual sheet has many columns. When I sort the list on a different column, how can I sort it back on Item Number column based like it is shown here?

Thanks!
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Hi,
If I correctly understand your question, you could use the Column Index ...:)
 
Upvote 0
Hi,
If I correctly understand your question, you could use the Column Index ...:)

I don't have Index column in my actual worksheet. I provided this only in this sample.

So If I sort my sheet to anything else, I lose the original sorting and I can't come back to it.
 
Upvote 0
OK ...
Can you insert a Column ... say Column A or use your first empty Column Z ...
Add header Index
in cell below type =row()-1
and copy down ... before a Copy / Paste Values for this Column which will become your "Sort Buoy" :)
 
Upvote 0
OK ...
Can you insert a Column ... say Column A or use your first empty Column Z ...
Add header Index
in cell below type =row()-1
and copy down ... before a Copy / Paste Values for this Column which will become your "Sort Buoy" :)

This was my work around, I had an extra column for sort and when I added a new row that is F3.10, I would add value 3.10 there and this were a encountered this problem between .9 and .10. Now 3.10 is smaller than the previous 3.9 so it messes the sorting.

I was wondering if there is any clever way where I can just sort on the original column because dropping F and retaining the reset doesn't work when values reaches great then .9
 
Upvote 0
Hi,
Another suggestion to create your Index Column
Excel Formula:
=SUBSTITUTE(A2,"F","")*1
 
Upvote 0

Forum statistics

Threads
1,215,097
Messages
6,123,077
Members
449,094
Latest member
mystic19

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