obiwann

Board Regular
Joined
Jan 2, 2014
Messages
142
I have a column that represents a Quote number that starts with the number 100-18DS01 and ends with 999-18DS07. I sort in a descending manner with the last quote created being 999-18DS07. After creating quote number 1000-18DS07 and 1001-18DS07 and then clicking the sort button it put the two new quotes at the bottom of the column as 1000-18DS07 and 1001-18DS07. It should show as follows:

1001-DS1807
1000-DS1807
999-DS1807
998-DS1807
etc...

Can anyone help me with this?

Thanks
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
You could add a helper column like below and sort descending on it. Hide the helper column if you wish.
Excel Workbook
AB
1HdrHelper
21001-DS18071001
31000-DS18071000
4999-DS1807999
5998-DS1807998
6221-DS1807221
7100-DS1807100
Sheet1
 
Upvote 0
Thanks Joe,

When I sort it puts 999 at the top and the last 3 in the column are 1002, 1001, 1000
 
Upvote 0
Thanks Joe,

When I sort it puts 999 at the top and the last 3 in the column are 1002, 1001, 1000
Do you have headers on the raw data and helper columns?

Can you post the raw data that leads to the result you describe, and the exact formula you used in the helper column?
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,944
Messages
6,122,384
Members
449,080
Latest member
Armadillos

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