Sort Text and Special

C

Charles

Hi All:

I have a column which contains records with text format and records with
special format. Now I need to sort them but I have to change their format
to text first. I cannot change the records with special format because I
need to keep leading zeros. What can I do? Thanks for any advice or
suggestion.

Charles
 
D

Dave Peterson

Do all the specially formatted cells use the same format?

Maybe a helper column:

=if(isnumber(a1),text(a1,"000000"),a1)

Use the same number format that the cell uses.

Then copy it down and sort by that column.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top