excel导入数据校验_从Excel数据验证列表中选择多个项目

本文介绍了如何在Excel中创建数据验证下拉列表,允许用户选择多个项目而不是仅限一个。通过编程自定义,可以选择的项目可以在同一单元格、一行或一列中显示。提供了一个包含多种选择选项的示例文件供下载,并有相关视频教程展示这一功能。
摘要由CSDN通过智能技术生成

excel导入数据校验

You've probably used an Excel data validation drop down list, where you can click the arrow, and select an item to fill the cell. With a bit of programming, you can customize a drop down list, to select multiple items.

您可能已经使用了Excel数据验证下拉列表 ,您可以在其中单击箭头,然后选择一个项目来填充单元格。 通过一些编程,您可以自定义下拉列表,以选择多个项目。

单选下拉 (Single Selection Drop Down)

By default, data validation drop downs only allow you to select one item.

默认情况下,数据验证下拉列表仅允许您选择一项。

In the worksheet shown below, you can select a month from the drop down, and it overwrites any previous selection in that cell.

在下面显示的工作表中,您可以从下拉菜单中选择一个月,它会覆盖该单元格中以前的所有选择。

Data Validation Drop Down

从下拉列表中选择多个项目 (Select Multiple Items From the Drop Down List)

Instead of limiting users to a single selection, you can use a bit of programming, combined with the data validation list, and allow multiple selections.

您可以使用一些编程,再结合数据验证列表,而不是将用户限制为单个选择,并允许多个选择。

You can display all the selected items across a row, or down a column, or keep them in the same cell. Keep reading, to see some examples of this technique, and how it works.

您可以在一行或一列中显示所有选定的项目,或将它们保留在同一单元格中。 继续阅读,以查看该技术的一些示例以及其工作方式。

There is also a video that shows the multiple selection drop down list. To try it for yourself, follow the download link for the sample file, near the end of this article.

还有一个视频,显示多选下拉列表。 若要自己尝试,请遵循本文末尾的示例文件的下载链接。

有关选择多个项目的更多文章 (More Articles on Select Multiple Items)

[Update]: Since posting this article on selecting multiple items from an Excel drop down list, I've added more articles on this topic. Here

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值