excel自定义排序出错_使用Excel自定义列表按您的方式进行排序

excel自定义排序出错

You know how to sort an Excel list alphabetically, and with Excel 2007 you can even sort an Excel list by colour.

您知道如何按字母顺序对Excel列表进行排序,在Excel 2007中,您甚至可以按颜色对Excel列表进行排序

Did you know that you can also create a custom list in Excel and use that to sort your data, instead of sorting in alphabetical or numerical order?

您知道吗,您还可以在Excel中创建自定义列表,然后使用该列表对数据进行排序,而不是按字母顺序或数字顺序进行排序?

Instead of sorting the products in this table alphabetically, we’ll create a custom list of products, and use it when sorting the list.

我们将创建一个自定义产品列表,而不是按字母顺序对表中的产品进行排序,并在对列表进行排序时使用它。

CustomSort01

在Excel中创建自定义列表 (Create a Custom List in Excel)

You can create a custom list in Excel by importing a list from a worksheet, or by typing a new list. In this example, there is a worksheet named Lists, and it contains a product list.

您可以通过从工作表中导入列表或键入新列表来在Excel中创建自定义列表。 在本示例中,有一个名为Lists的工作表,它包含一个产品列表。

We’ll import that list, to create the custom list.

我们将导入该列表,以创建自定义列表。

CustomSort02
打开自定义列表窗口: (To open the custom list window:)
  • Select the cells that contain the list items

    选择包含列表项的单元格
  • On the Ribbon, click the File Tab (or the Office Button in Excel 2007)

    在功能区上,单击“文件”选项卡(或Excel 2007中的“ Office”按钮)
  • Then click Options.

    然后单击选项。
  • Excel 2010 and later: Click the Advanced category, then scroll down to the General section

    Excel 2010和更高版本:单击“高级”类别,然后向下滚动到“常规”部分
  • Excel 2007: Click the Popular category, then look in the Top Options section

    Excel 2007:单击“流行”类别,然后在“顶部选项”部分中查找
  • Click Edit Custom Lists

    单击编辑自定义列表

要添加自定义列表: (To add a custom list:)
  • In the Custom Lists dialog box, the list address -- $A$2:$A$5 -- should appear in the Import range box. If not, you can click in the Import range box, and type a range, or select a range on the worksheet.

    在“自定义列表”对话框中,列表地址-$ A $ 2:$ A $ 5-应出现在“导入范围”框中。 如果不是,您可以单击“导入范围”框,然后键入一个范围,或在工作表上选择一个范围。

  • To add the selected range as a custom list, click the Import button.

    要将所选范围添加为自定义列表,请单击导入按钮。
  • The list items will appear in the List entries section of the Custom List dialog box, and at the end of the list of existing Custom Lists.

    列表项将出现在“自定义列表”对话框的“列表条目”部分中,以及现有“自定义列表”列表的末尾。
CustomSort05
  • Click OK to close the Custom Lists dialog box, and click OK to close the Excel Options window.

    单击“确定”关闭“自定义列表”对话框,然后单击“确定”关闭“ Excel选项”窗口。

使用自定义列表 (Use the Custom List)

You can use the custom lists when sorting, and you can also use them with the AutoFill feature. Type any item from a custom list in a cell, then use the Fill handle to complete the list.

排序时可以使用自定义列表,也可以将它们与自动填充功能一起使用。 在单元格中的自定义列表中键入任何项目,然后使用“填充”手柄完成列表。

CustomSort07

按自定义顺序对Excel列表进行排序 (Sort the Excel List in Custom Order)

To sort your list based on your custom list, follow these steps:

要根据您的自定义列表对列表进行排序,请按照下列步骤操作:

  • Select a cell in the table that you want to sort.

    在表中选择要排序的单元格。
  • On the Ribbon’s Data tab, click Sort

    在功能区的“数据”选项卡上,单击“排序”
  • In the Sort dialog box, select a Column from the first drop down, and select Values from the Sort On drop down.

    在“排序”对话框中,从第一个下拉列表中选择一个列,然后从“排序依据”下拉列表中选择“值”。
  • In the Order drop down, click Custom List

    在订单下拉列表中,单击自定义列表
  • In the Custom List dialog box, select your custom list, and click OK

    在“自定义列表”对话框中,选择您的自定义列表,然后单击“确定”。

  • Click OK to close the Sort dialog box

    单击“确定”关闭“排序”对话框

The list is sorted in the order of the items in your custom list.

该列表按自定义列表中项目的顺序排序。

观看Excel排序视频 (Watch the Excel Sort Video)

To see the steps for adding an Excel Custom List, then sorting by that Custom List, watch this short Excel video tutorial.

要查看添加Excel自定义列表然后按该自定义列表排序的步骤,请观看此简短的Excel视频教程。

演示地址

翻译自: https://contexturesblog.com/archives/2010/03/10/sort-it-your-way-with-excel-custom-lists/

excel自定义排序出错

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值