Results 1 to 6 of 6

Unusual Custom Cell Format Needed to Correctly Sort Values

Threaded View

  1. #1
    Registered User
    Join Date
    08-18-2010
    Location
    Santa Cruz CA
    MS-Off Ver
    2003, 2007, 2010
    Posts
    5

    Unusual Custom Cell Format Needed to Correctly Sort Values

    Hi,

    I have a spreadsheet that contains a column with values. These values can be alphanumeric, but often just have numbers. Also, some have leading zeros. An example of the column would be:

    080
    080A
    085V
    086
    128
    119
    119C
    016
    143D
    143B
    144

    I want it to sort first numerically and then alphabetically, and I need to keep the leading zeros present. I've tried it set as text, but the results are inconsistent. For instance 080 will show up before 016. Setting it to just be a number drops the leading zeros. I know how to maintain the zeros through custom formatting, but the list still does not sort correctly.

    Any advice on what custom format would correct this would be great, as would pointers to anything else I should be looking at.

    Thanks very much for your time, and please let me know if you have any questions.
    Last edited by momus44; 08-18-2010 at 07:14 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1