+ Reply to Thread
Results 1 to 7 of 7

Sort By Currency Sign NOT Values

  1. #1
    Forum Contributor
    Join Date
    09-30-2008
    Location
    London
    Posts
    124

    Sort By Currency Sign NOT Values

    Dear all,

    I have a list of values in column A like

    € 447,325.80
    $384,258.57
    $358,782.34
    € 331,385.40
    $306,990.83
    £304,438.18
    $284,294.17
    £250,071.39
    $222,879.52
    $202,603.22
    $181,621.94
    € 143,944.00
    $137,240.12


    I want to sort by Currency sign like all $ values come first then £ value and then €.

    Please can you help.

    Might be if can Extract Currency sign from cell then it will be good but how to do?


    Regards
    Vinay

  2. #2
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Sort By Currency Sign NOT Values

    For Excel 2007 using custom sort "sort on value" from "A - Z" I get $, then £ and finaly €

    I'm I missing something?

    Alf

  3. #3
    Forum Contributor
    Join Date
    08-22-2013
    Location
    columbus,oh
    MS-Off Ver
    Office 365
    Posts
    190

    Re: Sort By Currency Sign NOT Values

    Data>Sort>Sort on>values>order by>Custom list> Type your custom sort list >ok

  4. #4
    Forum Contributor
    Join Date
    09-30-2008
    Location
    London
    Posts
    124

    Re: Sort By Currency Sign NOT Values

    Strange! I am getting below result
    using Excel 2007 using custom sort "sort on value" from "A - Z"

    € 143,944.00
    £250,071.39
    £304,438.18
    € 331,385.40
    € 447,325.80
    $137,240.12
    $181,621.94
    $202,603.22
    $222,879.52
    $284,294.17
    $306,990.83
    $358,782.34
    $384,258.57

    Its sort on Value A-Z. I don't want that.

    Vinay

  5. #5
    Forum Contributor
    Join Date
    08-22-2013
    Location
    columbus,oh
    MS-Off Ver
    Office 365
    Posts
    190

    Re: Sort By Currency Sign NOT Values

    You have to create your custom sort list
    Select the range >then click sort>it should be sort on values> order >from drop down select >custom list>$,£,€.
    Just make sure your data is formatted correctly as the format cell>currency> and type or else it wont sort correctly.

  6. #6
    Forum Contributor
    Join Date
    09-30-2008
    Location
    London
    Posts
    124

    Re: Sort By Currency Sign NOT Values

    Hi ALF & Pdalal,
    I have tried your ways but still not working but I have got something that I want and would like to share

    first need to created UDF

    Function GetTextValue(ByVal arg As Range) As String
    GetTextValue = arg.Cells(1, 1).Text '//Cell value (or top left cell value if range is more than one cell)
    End Function

    now type in Column B1=Left(=LEFT(GetTextValue(A1),2)

    It will extract Currency sign from cell and then you can sort any order!

    Vinay

  7. #7
    Forum Contributor
    Join Date
    09-30-2008
    Location
    London
    Posts
    124

    Re: Sort By Currency Sign NOT Values

    sorry

    now type in Column B1=LEFT(GetTextValue(A1),2)

    Thanks
    Vinay

+ 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. Concatenate formula not taking decimal places/currency sign
    By woodsonline in forum Excel General
    Replies: 4
    Last Post: 05-27-2009, 03:34 AM
  2. Replies: 1
    Last Post: 06-12-2006, 04:20 PM
  3. Replies: 3
    Last Post: 03-23-2006, 02:25 PM
  4. Currency sign.
    By FjV in forum Excel General
    Replies: 2
    Last Post: 10-26-2005, 10:05 AM
  5. [SOLVED] Changing Dollar sign to another currency not listed in Excel
    By Rehan in forum Excel General
    Replies: 1
    Last Post: 04-12-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