View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
hearthd hearthd is offline
external usenet poster
 
Posts: 1
Default sorting numbers with an irregular number of digits

I am working on a database and am importing customer numbers that
initially started with 1 digit and now include 5 digit numbers. When
sorted, the numbers with fewer digits are mixed in with the larger
digit numbers. Is there a way to add zeroes to the smaller numbers so
they sort correctly?