Re: Custom sort list question

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Bernie Deitrick (_at_)
Date: 05/11/04


Date: Tue, 11 May 2004 11:45:34 -0400

Hyun,

You're correct, that custom lists can only be used as the first sort key.
You will need to add a helper column with a sort order for the component
column. An easy way is to copy the Component column to the new column, then
do a successive replace to change the component type to numbers for sorting.

HTH,
Bernie
MS Excel MVP

"Hyun Yu" <hyunyu@yahoo.com> wrote in message
news:2gc9viF15qnnU1@uni-berlin.de...
> I have a table with the following columns: Vendor, Component, Purchase
> Date, Price.
>
> All entries in the Component column are in one of the following five
groups:
> "Processor", "Memory", "Video Card", "Hard Drive", and "Power Supply".
>
> What I'd like to do is be able to sort the table by Vendor first, then by
> Component, but in the following order for Components: "Processor",
> "Memory", "Hard Drive", "Video Card", and then "Power Supply". Obviously
> that list is not in alphabetical order. Is it possible to specify a
> customized sort list? I've looked in Excel (2003) help, and it mentions
> using a custom list, but that only seems to work when the cell being
sorted
> with the custom list is the first in the "Sort by" dialogue (in my case,
> "Vendor").
>
> Thanks for any help.
>
>



Relevant Pages

  • Re: Help With Sorting
    ... the data, sort, first key order, change to custom list that I have ... added through tools, options, custom lists. ... I tried a custom list of just a to z but that didnt work and then I ... So I cant add a col at AT and I cant insert one at Col A as it will ...
    (microsoft.public.excel)
  • Re: Help With Sorting
    ... the data, sort, first key order, change to custom list that I have ... added through tools, options, custom lists. ... I tried a custom list of just a to z but that didnt work and then I ... So I cant add a col at AT and I cant insert one at Col A as it will ...
    (microsoft.public.excel)
  • Re: Sort Macro
    ... 'cause that's the way excel works. ... OrderCustom Optional Variant. ... the list of custom sort orders. ... than or equal to 5 (Microsoft Excel has four built-in custom lists that cannot ...
    (microsoft.public.excel.misc)
  • Re: Pivot Table Report formatting - cant select Data Source Order
    ... For pivot tables built from Excel data, the items are listed in Ascending order when the pivot table is created. ... If you don't want to sort the items manually, you could create a custom list, and base the sort order on that. ... Select the Custom Lists tab ... It's importing them in ascending order by default, and I can't select Data Source Order from the toolbar's Sort and Top 10/AutoSort options. ...
    (microsoft.public.excel.misc)
  • Custom Sorts
    ... When you select your custom sort order, ... OPTIONS and CUSTOM LISTS. ... >I then select the range of cells I want to sort, ... DATA SORT OPTIONS and select the custom list. ...
    (microsoft.public.excel.misc)