手机版

Create a drop-down list(2)

时间:2025-07-14   来源:未知    
字号:

In the Define Name dialog box, click Add, and then click Close.

Select the cell where you want the drop-down list.

1.

2.

3. On the Data menu, click Validation, and then click the Settings tab. In the Allow box, click List. If the list is in the same worksheet, enter a reference to your list in the Source box.

If the list is elsewhere, enter the name you defined for your list in the Source box.

Make sure the reference or name is preceded with an equal sign (=).

4.

5.

6. Make sure the In-cell drop-down check box is selected. Specify whether the cell can be left blank: Select or clear the Ignore blank check box. To display optional input instructions when the cell is clicked, click the Input Message tab, make sure the

Show input message when cell is selected check box is selected, and then fill in the title and text for the message.

7. Specify how you want Microsoft Excel to respond when invalid data is entered.

Click the Error Alert tab, and make sure the Show error alert after invalid data is entered check box is selected.

Select one of the following options for the Style box:

To display an information message that does not prevent entry of invalid data, click Information.To display a warning message that does not prevent entry of invalid data, click Warning.To prevent entry of invalid data, click Stop.

Fill in the title and text for the message (up to 225 characters).

Note If you don't enter a title or text, the title defaults to " Microsoft Excel" and the message to: "The value you entered is not valid. A user has restricted values that can be entered into this cell."

Notes

Applying data validation to a cell does not format the cell. A drop-down list you create for a cell will be represented by an arrow next to that

cell . To enter information in that cell, click the arrow, and then click the entry you want. To make entering of repeated data easier, Excel automatically generates a drop-down list of all the unique

items in a column. This drop-down list is not attached to a specific cell, nor is it represented by an arrow. To select information from this drop-down list, right-click the cell directly above or below other entries in a column, and then click Pick From Drop-down List.

Tip

If the entry list is short, you can type the entries directly in the Source box, separated by the Microsoft Windows list separator character (commas by default). For example, you could type Low, Average, High in the Source box instead of entering the three words on a worksheet.

…… 此处隐藏:498字,全部文档内容请下载后查看。喜欢就下载吧 ……
Create a drop-down list(2).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
×
二维码
× 游客快捷下载通道(下载后可以自由复制和排版)
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能出现无法下载或内容有问题,请联系客服协助您处理。
× 常见问题(客服时间:周一到周五 9:30-18:00)