ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Have a list of items, 285, 285-A, 36-B, 23-D, 36 and need to sort (https://www.excelbanter.com/excel-worksheet-functions/105376-re-have-list-items-285-285-36-b-23-d-36-need-sort.html)

David Billigmeier

Have a list of items, 285, 285-A, 36-B, 23-D, 36 and need to sort
 
Create a helper column with the following formula:

=SUBSTITUTE(A1,"-","")

Then sort by this column.
--
Regards,
Dave


"Challenged" wrote:

Have a database and need to subtotal by a column that has no set number of
characters, some with "-" and a letter after, some just whole numbers. I
want to sort by the whole number and ignore the "-". Ideas?



All times are GMT +1. The time now is 07:57 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com