Results 1 to 5 of 5
  1. #1
    Star Lounger
    Join Date
    May 2011
    Posts
    94
    Thanks
    6
    Thanked 1 Time in 1 Post

    Excel Sort Issue

    Sometimes - and only sometimes

    When sorting imported txt data files, the sort function will place a record that should end up well down within the sorted output work sheet at the top of the sheet.

    I have inspected the txt record and cannot find any special characters in the sort field that should cause this problem.

    Ideas?

  2. #2
    Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    9,433
    Thanks
    371
    Thanked 1,456 Times in 1,325 Posts
    MMI,

    We'd need some sample data to figure this one out.
    May the Forces of good computing be with you!

    RG

    PowerShell & VBA Rule!

    My Systems: Desktop Specs
    Laptop Specs

  3. #3
    Gold Lounger Maudibe's Avatar
    Join Date
    Aug 2010
    Location
    Pa, USA
    Posts
    2,631
    Thanks
    115
    Thanked 645 Times in 589 Posts
    mmi16

    Was any of the data to be sorted copied from an internet web site? If so, the clean and trim functions may help remove hidden non printable characters prior to sorting:

    Cell B3 =Clean(Trim(a3))

    HTH,
    Maud

  4. The Following User Says Thank You to Maudibe For This Useful Post:

    mrjimphelps (2015-12-22)

  5. #4
    WS Lounge VIP
    Join Date
    Dec 2009
    Location
    Earth
    Posts
    8,168
    Thanks
    47
    Thanked 978 Times in 908 Posts
    Or copy / paste text only.

    cheers, Paul

  6. #5
    Lurker
    Join Date
    Dec 2015
    Location
    Mansfield
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Another way to ensure that the data does not have any embedded codes or data is to copy and paste it into Notepad. Notepad can only contain text and nothing more. Worpad amongst others may appear to contain only text but can hold embedded information

Posting Permissions

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