+ Reply to Thread
Results 1 to 8 of 8

Sort on accented (French) characters

  1. #1
    Forum Contributor
    Join Date
    06-09-2009
    Location
    Greece
    MS-Off Ver
    Office 365
    Posts
    133

    Sort on accented (French) characters

    Would it be possible to sort a column with the accented and special characters first? I.e. words beginning with (either a capital or lowercase letter):

    Àà, Ââ, Ææ, Çç, Éé, Èè, Êê, Ëë, Îî, Ïï, Ôô, ??, Ùù, Ûû, Üü, ?ÿ

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Sort on accented (French) characters

    Does the solution I offered in this thread Find (case and diacritics insensitive) duplicates in one column not work for this?

    Just add the special characters and their substitute to the lookup list e.g. Æ = A.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  3. #3
    Forum Contributor
    Join Date
    06-09-2009
    Location
    Greece
    MS-Off Ver
    Office 365
    Posts
    133

    Re: Sort on accented (French) characters

    Thank you very much for the solution for the other issue. This is slightly different in that I only want sorting with words starting with those letters, i.e. words starting with other characters should be at the bottom of the sheet, like this:

    À
    à
    Â
    â
    Æ
    æ
    Ç
    ç
    É
    é,
    È
    è
    Ê
    ê
    ë
    a
    b
    c
    d
    e

  4. #4
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Sort on accented (French) characters

    Assuming your Data is in A2 down and you need to sort according to the first character.

    In B2
    Please Login or Register  to view this content.
    Drag/Fill Down

    Then sort on Column B Order:= Smallest to Largest
    and
    Then on Column A Order:= A to Z
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    06-09-2009
    Location
    Greece
    MS-Off Ver
    Office 365
    Posts
    133

    Re: Sort on accented (French) characters

    Thanks!

    Strange thing, when I sort on B column, all values become 2. (Tried with Excel 2003/2007/2010).
    Could it be my local?

  6. #6
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Sort on accented (French) characters

    Strange thing, when I sort on B column, all values become 2.
    I don't see how that can be, unless all the data begins with an unaccented letter.

    The formula is based on the ASCII value of each leading chatacter, local settings should not affect this.

    Can you post a typical sample of your data, say a hundred or so rows?

  7. #7
    Forum Contributor
    Join Date
    06-09-2009
    Location
    Greece
    MS-Off Ver
    Office 365
    Posts
    133

    Re: Sort on accented (French) characters

    Here is a sample file.
    Attached Files Attached Files

  8. #8
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Sort on accented (French) characters

    Hmm?

    I don't get the problem you have.

    When I open your file the returned values are all 2, but if I reconfirm the code the values are 1 or 2 as expected.

    I reset my computer to French(France) and similarly, the language option in Excel, but no difference.

    I don't know why you are getting only 2s.

    Did the file in your other thread work okay?

+ Reply to Thread

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