View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete_UK Pete_UK is offline
external usenet poster
 
Posts: 8,856
Default Excel sort ( exclude letters include hyphens)?

When you say "then by value" do you mean the numerical value of
numbers to the right of the hyphen, or the value of those numbers to
the left?

In your example data, what would you expect the resulting order to be
after sorting according to your rules?

Pete

On Jul 1, 4:14*pm, always confused <always
wrote:
I'm trying to use the sort comand on excel so that my list looks like this
05-024
AB05-543
05-678
002-23

What was asked of me is to sort the list so that letters are not taken into
consideration and so that it is sorted by the number of digits to the left of
the hyphen then by value.
Does anyone know how to do this?