+ Reply to Thread
Results 1 to 2 of 2

Sorting colums in Excel

  1. #1
    Registered User
    Join Date
    08-24-2017
    Location
    Denmark
    MS-Off Ver
    365/2016
    Posts
    1

    Question Sorting colums in Excel

    Hi there

    I have a column which looks like this:

    110
    111
    111b
    112
    113
    114a
    114b
    115
    Osv.

    When I sort it, all the cells with 3 digits on top and all the cells containing 3 digits and a letter are in the bottom.
    I looks like this:

    110
    111
    112
    113
    115
    111b
    114a
    114b

    Is there a funktion in Excel which can sort the column correct?

    Kind regards
    Overgaard

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,973

    Re: Sorting colums in Excel

    Any text is considered greater than number in Excel. Hence, all string that has text will end up at bottom.

    If you need to sort based on number and then on alphabet, you'd need helper columns or VBA.

    Helper column method.

    Add 2 columns, 1 for number part and another for text part (use formula etc to extract each).

    Then use those 2 columns to sort.

    See attached sample (Check sort ribbon tool in data tab).
    Attached Files Attached Files
    "Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something."
    ― Robert A. Heinlein

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Sorting two colums
    By lfiano in forum Excel General
    Replies: 1
    Last Post: 06-12-2014, 06:06 PM
  2. Replies: 4
    Last Post: 07-16-2012, 03:28 AM
  3. Sorting & summing colums
    By SloopJohnB in forum Excel General
    Replies: 2
    Last Post: 01-18-2007, 04:14 PM
  4. Sorting Colums
    By Kate000 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-04-2006, 12:55 AM
  5. Sorting colums
    By Kate000 in forum Excel General
    Replies: 3
    Last Post: 04-03-2006, 09:45 PM
  6. [SOLVED] Sorting Data Colums
    By Jez in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-02-2006, 05:35 PM
  7. Sorting Colums into alphabetical order
    By tox in forum Excel General
    Replies: 3
    Last Post: 02-22-2005, 12:06 PM

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