+ Reply to Thread
Results 1 to 6 of 6

Sorting Numbers as a Text in Ascending Order

  1. #1
    Forum Contributor
    Join Date
    03-05-2018
    Location
    Tbilisi, Georgia
    MS-Off Ver
    2013, 2016
    Posts
    271

    Sorting Numbers as a Text in Ascending Order

    Good day everybody.

    I need formula to sort the below values in ascending order:

    Now:
    01-12
    01-13
    02-05
    02-04
    01-08
    01-09
    01-08
    03-03
    03-01

    Need be:
    01-08
    01-08
    01-09
    01-12
    01-13
    02-04
    02-05
    03-01
    03-03

    Thank you.
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: Sorting Numbers as a Text in Ascending Order

    Please try at
    D2
    =TEXT(AGGREGATE(15,6,--SUBSTITUTE($A$2:$A$10,"-",),ROWS(D$2:D2)),"00-00")
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    03-05-2018
    Location
    Tbilisi, Georgia
    MS-Off Ver
    2013, 2016
    Posts
    271

    Re: Sorting Numbers as a Text in Ascending Order

    Excellent! Thank you Bo_Ry. Problem solved.

  4. #4
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,469

    Re: Sorting Numbers as a Text in Ascending Order

    alternative formula

    Cell C2 formula , Drag down

    HTML Code: 

  5. #5
    Forum Contributor
    Join Date
    03-05-2018
    Location
    Tbilisi, Georgia
    MS-Off Ver
    2013, 2016
    Posts
    271

    Re: Sorting Numbers as a Text in Ascending Order

    Thank you wk9128. This works too.

  6. #6
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,469

    Re: Sorting Numbers as a Text in Ascending Order

    You're Welcome. Thank You for the feedback

+ 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. [SOLVED] Formula for making numbers in random order change to ascending order
    By bansche123 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-25-2021, 09:18 AM
  2. [SOLVED] Sorting lists of numbers in pairs and in ascending order
    By Lekan17 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-03-2020, 11:29 AM
  3. sorting ascending and descending order
    By beepetark in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-30-2019, 01:10 PM
  4. sorting numbers into ascending order
    By stevy123 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-03-2012, 08:00 AM
  5. x axis ascending order without sorting
    By vbidiot in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-30-2008, 09:31 AM
  6. Sorting Data in ascending order
    By sharon2006 in forum Excel General
    Replies: 1
    Last Post: 03-13-2006, 09:10 PM
  7. Sorting Numbers in Ascending or Descending Order
    By ExcelTip in forum Tips and Tutorials
    Replies: 0
    Last Post: 08-28-2005, 11:25 AM

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