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

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

ken2step

Well-known Member
Joined
Jan 9, 2003
Messages
638
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.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,151,821
Messages
5,766,639
Members
425,364
Latest member
jstubs99

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