+ Reply to Thread
Results 1 to 8 of 8

sorting ascending and descending order

  1. #1
    Registered User
    Join Date
    11-22-2018
    Location
    hyderabad
    MS-Off Ver
    2010
    Posts
    57

    sorting ascending and descending order

    i need this sorting with functions and whenever i upload a new value so it has to take automatically sort
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    04-26-2015
    Location
    Toronto, Canada
    MS-Off Ver
    2010
    Posts
    502

    Re: sorting ascending and descending order

    You could use LARGE & SMALL Formulas to sort your data.
    Attached Files Attached Files
    Uploading an attachment will assist Forum Members in finding the correct Solution for you. Create a dummy worksheet if necessary, add your start data and show where / what your expected results should be. TO ADD A FILE:

    Go to 'Advanced. click on 'Manage Attachments. Select 'Browse & Choose your file, Select 'Upload and then close the Attachment window.

  3. #3
    Registered User
    Join Date
    11-22-2018
    Location
    hyderabad
    MS-Off Ver
    2010
    Posts
    57

    Re: sorting ascending and descending order

    in place of dates if it is names with age
    name32
    name25
    name17
    name10

  4. #4
    Valued Forum Contributor
    Join Date
    04-26-2015
    Location
    Toronto, Canada
    MS-Off Ver
    2010
    Posts
    502

    Re: sorting ascending and descending order

    You should enter your data in 2 columns, one for the name and one for the age.
    If you need to extract the age from your data into a seperate column use: =RIGHT(A1,LEN(A1)-MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},A1&"0123456789"))+1)

  5. #5
    Registered User
    Join Date
    11-22-2018
    Location
    hyderabad
    MS-Off Ver
    2010
    Posts
    57

    Re: sorting ascending and descending order

    if the data will be like this

    Abcd12
    Date20
    Abcd2
    Date200
    Numeric5
    Numeric2

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: sorting ascending and descending order

    Helper column to determine sort order:
    =COUNTIF($A$2:$A$7,"<="&A2)

    change < to > for Z to A sorting. To return a sorted list:

    =INDEX($A$2:$A$7,MATCH(ROWS($1:1),$B$2:$B$7,0))
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  7. #7
    Registered User
    Join Date
    11-22-2018
    Location
    hyderabad
    MS-Off Ver
    2010
    Posts
    57

    Re: sorting ascending and descending order

    thanq for your concern and quick reply
    but Mr.Glenn sorting as per age not as per characters or words
    Attached Files Attached Files
    Last edited by beepetark; 12-30-2019 at 01:13 PM.

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: sorting ascending and descending order

    Upload a sheet showing REPRESENTATIVE raw data AND manually calculated expected results.

+ 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. VBA Code to sort in ascending AND descending order
    By infinitecables in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-07-2017, 11:10 AM
  2. [SOLVED] any way to arrange the categories on a bar chart by ascending/descending order
    By tukae in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 12-26-2015, 08:01 AM
  3. macro to sort in ascending/descending order
    By apio in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-21-2012, 02:46 AM
  4. [SOLVED] Changing the auto fill order from ascending to descending
    By Dave C. in forum Excel General
    Replies: 11
    Last Post: 12-25-2011, 03:10 PM
  5. Can you sort a chart out in Ascending/Descending Order
    By dandavis1 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 11-26-2010, 09:52 AM
  6. one macro to sort text in ascending and descending order
    By jpruffle in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-13-2008, 10:24 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