+ Reply to Thread
Results 1 to 4 of 4

Sorting a sheet by column len

  1. #1
    Registered User
    Join Date
    06-17-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    2

    Sorting a sheet by column len

    Hi, I need to sort sheet by column len. What I did:
    1) In new column I have length of desired column (LEN function is used)
    2) Than I go to Data - > Sort -> Select Column(column with length is selected) -> Done

    But data is not sorted correctly. What I did wrong, please help.
    Last edited by Vuyko; 06-17-2012 at 01:04 PM. Reason: Solved

  2. #2
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: Sorting a sheet by column len

    Hello and welcome to the forum,

    Did you select both the column to be sorted AND the column that contains the Len function? Then did you sort by the column containing the Len function rather than the original column?
    Please consider:

    Thanking those who helped you. Click the star icon in the lower left part of the contributor's post and add Reputation.
    Cleaning up when you're done. Mark your thread [SOLVED] if you received your answer.

  3. #3
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Sorting a sheet by column len

    Good day,

    You need to select the entire set of data while sorting, else only the selected column will get sorted. Please select the column preceding the LEN function column too while sorting.

    Press on the star button if you like the post and your problem is solved!

  4. #4
    Registered User
    Join Date
    06-17-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Sorting a sheet by column len

    Thank you! My problem is solved!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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