Results 1 to 5 of 5
  1. #1
    2 Star Lounger
    Join Date
    May 2011
    Posts
    168
    Thanks
    11
    Thanked 3 Times in 3 Posts

    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,899
    Thanks
    420
    Thanked 1,585 Times in 1,434 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,920
    Thanks
    152
    Thanked 746 Times in 678 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,953
    Thanks
    61
    Thanked 1,104 Times in 1,027 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
  •