Sorting non straightforward lists

ipsdan

Board Regular
Joined
Aug 31, 2004
Messages
74
I have a list of numbers that need to be sorted. Obviously this is straightforward. However in the list, although some numbers are the same value, priority needs to be given to specified values. When these values are written down the value which is to be given priority is denoted with a *. Therefore any number with a * is to be treated as bigger than the same number without a *, ie/ 163* is greater than 163.
Is there any way to get Excel to recognise this when sorting a list without a work around? I know I could use a number in a second column instead of the * but I would prefer not to do this.
Thanks for any help.
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

ken2step

Well-known Member
Joined
Jan 9, 2003
Messages
632
I don't think using the sort function will work like that since once you add the * to the number Excel now sees that as TEXT not Numeric.
 

Forum statistics

Threads
1,148,047
Messages
5,744,493
Members
423,880
Latest member
CRE_finance_guy

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
Top