Drop-down List

本文介绍如何在Excel中创建下拉菜单,确保用户只能从预设列表中选择数据。步骤包括在第二个工作表上设置选项列表,然后在第一个工作表的目标单元格启用数据验证,并指定该列表为数据源。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Drop-down lists in Excel are helpful if you want to be sure that users select an item from a list, instead of typing their own values.

1. On the second sheet, type the items you want to appear in the drop-down list.

Items

Advertisement

2. On the first sheet, select cell B1.

Select Cell

3. On the Data tab, click Data Validation.

Click Data Validation

The 'Data Validation' dialog box appears.

4. In the Allow box, click List.

5. Click in the Source box and select the range A1:A3 on Sheet2.

Validation Criteria

6. Click OK.

Result:

Drop Down List

Tip: If you don't want users to access the items on Sheet2, you can hide Sheet2. To achieve this, right click on the sheet tab of Sheet2 and click on Hide.

7. You can also type the items directly into the text box, without using Sheet2. This gives the exact same result.

Type Items Directly


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值