+ Reply to Thread
Results 1 to 5 of 5

Sort textual fractions as per numerator only

  1. #1
    Forum Contributor
    Join Date
    11-28-2008
    Location
    Reykjavík, Iceland
    MS-Off Ver
    Any of: 2003 & 2007
    Posts
    412

    Sort textual fractions as per numerator only

    Hi,

    How can I sort the range B2:B7 to get range C2:C7 as the result ?

    As always, I will appreciate minimum Formulas not to mention Helper columns, VBA etc...

    If helper column(s) is a must - then the fewer the better.

    Thanks, Elm
    Attached Files Attached Files
    Last edited by ElmerS; 06-08-2010 at 10:15 AM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Sort textual fractions as per numerator only

    =LEFT(A2, FIND("/", A2 & "/") - 1) and sort on that.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Sort textual fractions as per numerator only

    Using the specifics of the example (and as usual in no way intended as advised)

    B2: =SUBSTITUTE(SMALL(0+SUBSTITUTE($A$2:$A$7;"/";",");ROWS(B$2:B2));",";"/")
    confirmed with CTRL + SHIFT + ENTER
    copied down

    (note I used , as decimal separator)

  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 textual fractions as per numerator only

    Try in C2

    Please Login or Register  to view this content.
    Fill / Drag down

    Then sort

    This can be done with a macro to remove the helper column if you wish.

    Hope this helps.

    If you need any further information, please feel free to ask further

    However

    If this takes care of your needs, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED. It helps everybody!
    Also
    If you are satisfied by any members response to your problem please consider using the scales icon top right of thier post to show your appreciation.

  5. #5
    Forum Contributor
    Join Date
    11-28-2008
    Location
    Reykjavík, Iceland
    MS-Off Ver
    Any of: 2003 & 2007
    Posts
    412

    Re: Sort textual fractions as per numerator only

    Thanks all three of you,

    I will adopt DO suggestion because it sorts the result values - eliminating the need to sort the source values as per the other two formulas.

    Elm

+ 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