+ Reply to Thread
Results 1 to 7 of 7

Sort other than by alphabetical ascending/ descending

  1. #1
    Melissa
    Guest

    Sort other than by alphabetical ascending/ descending

    I've got 3 values: High, Medium, Low. How can I sort my table by all "High"
    items first, followed by "Medium" items, then by "Low" items? I can't use
    alphabetical sorting coz either ascending or descending order won't work.

  2. #2
    Rowan
    Guest

    RE: Sort other than by alphabetical ascending/ descending

    Hi Melissa

    Use a helper column. Assume your data is in Column A starting in Row 2. In
    row 2 in any unused column enter the fomula:

    =IF(A2="High",1,IF(A2="Medium",2,3))

    Copy this down to the end of your data. Then select all data and sort by
    this new column ascending. The helper column can then be hidden.

    Hope this helps
    Rowan

    "Melissa" wrote:

    > I've got 3 values: High, Medium, Low. How can I sort my table by all "High"
    > items first, followed by "Medium" items, then by "Low" items? I can't use
    > alphabetical sorting coz either ascending or descending order won't work.


  3. #3
    R.VENKATARAMAN
    Guest

    Re: Sort other than by alphabetical ascending/ descending

    one pedestrian way is to have anoter column which designates high as
    A,medium as B and low as C. you can use <if>function for this.
    and then sort according to this new column


    Melissa <Melissa@discussions.microsoft.com> wrote in message
    news:C11A3662-264D-40C2-99D7-4F2EECABB876@microsoft.com...
    > I've got 3 values: High, Medium, Low. How can I sort my table by all

    "High"
    > items first, followed by "Medium" items, then by "Low" items? I can't use
    > alphabetical sorting coz either ascending or descending order won't work.




  4. #4
    Biff
    Guest

    Re: Sort other than by alphabetical ascending/ descending

    Hi!

    Use a helper column.

    Assume D1:D100 contains entries of either High, Medium or Low.

    In E1 enter this formula and copy down:

    =MATCH(D1,{"High","Medium","Low"},0)

    Then sort on column E ascending.

    Biff

    "Melissa" <Melissa@discussions.microsoft.com> wrote in message
    news:C11A3662-264D-40C2-99D7-4F2EECABB876@microsoft.com...
    > I've got 3 values: High, Medium, Low. How can I sort my table by all
    > "High"
    > items first, followed by "Medium" items, then by "Low" items? I can't use
    > alphabetical sorting coz either ascending or descending order won't work.




  5. #5
    Dave Peterson
    Guest

    Re: Sort other than by alphabetical ascending/ descending

    Personally, I'd cheat.

    I edit|replace
    what: High
    with: 1High
    replace all

    then Medium with 2Medium and finally Low with 3Low

    do the sort and put the values back.

    But you could create a new custom list.
    Tools|Options|Custom Lists tab
    Type in:
    High, Medium, Low
    in the list entries box
    Click Add

    And back to try the sort.


    Melissa wrote:
    >
    > I've got 3 values: High, Medium, Low. How can I sort my table by all "High"
    > items first, followed by "Medium" items, then by "Low" items? I can't use
    > alphabetical sorting coz either ascending or descending order won't work.


    --

    Dave Peterson

  6. #6
    Earl Kiosterud
    Guest

    Re: Sort other than by alphabetical ascending/ descending

    Melissa,

    Make a custom list (Tools - Options - Custom Lists. Into the List entries
    box, type: High, Medium, Low separated by commas as shown. Click Add, OK).
    Now when you sort (Data - Sort), use the Options button, and open the First
    key sort order box, and select your list.
    --
    Earl Kiosterud
    www.smokeylake.com

    "Melissa" <Melissa@discussions.microsoft.com> wrote in message
    news:C11A3662-264D-40C2-99D7-4F2EECABB876@microsoft.com...
    > I've got 3 values: High, Medium, Low. How can I sort my table by all
    > "High"
    > items first, followed by "Medium" items, then by "Low" items? I can't use
    > alphabetical sorting coz either ascending or descending order won't work.




  7. #7
    Melissa
    Guest

    Re: Sort other than by alphabetical ascending/ descending

    Thanks Earl! That's exactly what I needed without having to create new
    "helper" columns.

    "Earl Kiosterud" wrote:

    > Melissa,
    >
    > Make a custom list (Tools - Options - Custom Lists. Into the List entries
    > box, type: High, Medium, Low separated by commas as shown. Click Add, OK).
    > Now when you sort (Data - Sort), use the Options button, and open the First
    > key sort order box, and select your list.
    > --
    > Earl Kiosterud
    > www.smokeylake.com
    >
    > "Melissa" <Melissa@discussions.microsoft.com> wrote in message
    > news:C11A3662-264D-40C2-99D7-4F2EECABB876@microsoft.com...
    > > I've got 3 values: High, Medium, Low. How can I sort my table by all
    > > "High"
    > > items first, followed by "Medium" items, then by "Low" items? I can't use
    > > alphabetical sorting coz either ascending or descending order won't work.

    >
    >
    >


+ 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