+ Reply to Thread
Results 1 to 7 of 7

Sorting a group of data from ascending to descending

  1. #1
    Registered User
    Join Date
    01-17-2013
    Location
    New South Wales, Australia
    MS-Off Ver
    Excel 2010
    Posts
    13

    Sorting a group of data from ascending to descending

    Hi all,

    I’m having trouble getting the =match function to return a greater than value. Turns out I need my data set to be sorted in descending order. So I need to swap my data set around.

    My data can be changed at any time by an "in use" selection, when not "in use" the data can go to a dummy value depending on what is required. I've found this dummy value to be annoying when trying to collate max and then using match +1 to return the cell above. I could simply go a1 = a99 and a2 = a98 but I have just under 100 cells and this would take time. How can I get this done using excel?

    Delay In Use In Use Delay
    25 Y 25
    50 N
    75 Y 75
    100 Y 100
    125 Y 125
    150 Y 150
    175 N
    200 Y 200
    250 Y 250

    Thanks in advance for the help.

    Linc
    Forum Data.xlsx

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Sorting a group of data from ascending to descending

    If i sort Z to A I get this result.

    Excel 2007 => data => sort Z to A.

    You need to select the whole range (including the headers).

    See the attached file.
    Attached Files Attached Files
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,051

    Re: Sorting a group of data from ascending to descending

    This may be applied to the wrong column, but the principle is sound. In E6, copied down, use this...

    =LARGE($B$6:$B$14,ROW(A1))

    Adjust references as needed
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    01-17-2013
    Location
    New South Wales, Australia
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Sorting a group of data from ascending to descending

    Thanks for the replies,

    Oeldere, I should have clarrified that I was hoping that this data didn't have to be managed and that data in column B and D are not meant to be edited. Appoligies about not being clear enough.

    FDibbins, This has worked for the most part so thank you for that.

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,051

    Re: Sorting a group of data from ascending to descending

    for the most part? what part isnt working, and what would your expected outcome be?

  6. #6
    Registered User
    Join Date
    01-17-2013
    Location
    New South Wales, Australia
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Sorting a group of data from ascending to descending

    Haha, as in that step has worked which has put me 1 step closer to solving a greater problem im having... This could be another dead end though so that is the "most part section".

  7. #7
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Sorting a group of data from ascending to descending

    Thanks for the reply.

    Glad I could help.

    If the question is solved, will you mark your question as solved?

    If you have (other) questions or comments , on this item, just ask or comment.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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