跳到主要內容

如何在Excel的單元格中創建或插入下拉列表?

您可以使用以下方法來幫助自己或他人在工作表中更有效地進行數據輸入 下拉列表。 使用下拉列表,您可以快速從列表中選擇一個項目,而無需手動輸入自己的值。


使用Excel中的內置功能創建數據驗證下拉列表

1.首先,您需要創建一個列表,其中包含將在下拉列表中顯示的數據。

尖端:在許多情況下,您可能需要添加新數據或從列表中刪除數據。 為了使用最新數據自動更新下拉列表,您需要將源列表轉換為表。
  • 請選擇整個列表,然後按 按Ctrl + T 鍵,然後單擊 OK ,在 創建表格 對話。

2.選擇放置下拉列表的位置。

3。 點擊 數據 > 數據驗證。 見截圖:

4.在彈出 數據驗證 對話框,請執行以下操作:

  • 設定 標籤,選擇 名單 來自 下拉列表;
  • 點擊 資源 框,然後選擇在步驟1中創建的數據;

保養竅門:

  • 如果數據列表尚未轉換為表格,並且您仍要在從列表中添加或刪除數據時使用新數據更新下拉列表,請直接在“ 資源 箱:
    = OFFSET(Sheet2 $ A $ 2,0,0,COUNTA(Sheet2 $ A:!$ A),1)
    就我而言, Sheet2!$ A $ 2 表示數據列表的第一個單元格(不包括標題單元格),以及 Sheet2!$ A:$ A 表示數據列表位於列A中。您可以根據數據的位置更改它們。 您可以 點擊了解更多關於 補償功能.
  • 您也可以手動將項目鍵入 資源 裝箱並分開 逗號。 看截圖:

5。 轉到 輸入信息。 標籤,填寫 稱呼 盒子和 輸入 如果要在選擇下拉列表單元格時顯示輸入消息,請在消息框顯示。

6.繼續單擊 錯誤警報 標籤,填寫 稱呼 盒子和 錯誤信息 框。

7。 點擊 OK 完成整個設置。 現在,將創建下拉列表。

筆記:

1.僅當選擇單元格時,下拉箭頭才可見。
2.當在下拉列表單元格中輸入無效數據時,錯誤警報將彈出,並帶有特定的標題和錯誤消息。

使用出色的工具快速創建簡單的下拉列表

在這裡強烈推薦 創建簡單的下拉列表 的效用 Excel的Kutools。 使用此工具,您只需單擊幾下即可輕鬆創建一個簡單的下拉列表。

申請前 Excel的Kutools首先下載並安裝.

1.選擇單元格範圍以輸出下拉列表,然後單擊 庫工具 > 下拉列表 > 創建簡單的下拉列表

2。 在裡面 創建簡單的下拉列表 對話框,請進行以下配置。

  • 您在步驟1中選擇的範圍會顯示在 適用於 框。 您可以根據需要更改範圍。
  • 資源 部分,如果您要基於單元格區域的數據創建下拉列表,或者只需要手動輸入值,請選擇 輸入值或引用單元格值 選項;
  • 在文本框中,選擇單元格範圍或鍵入值(以逗號分隔),然後將基於該值創建下拉列表。
  • 點擊 OK 按鈕。 看截圖:

備註:如果要基於自定義列表創建下拉列表,請選擇 自定義列表 在選項 資源 部分中,在 自定義列表 框,然後單擊 OK 按鈕。

現在,將創建一個簡單的下拉列表,如下面的演示所示。

  如果您想免費試用(30天)此實用程序, 請點擊下載,然後按照上述步驟進行操作。


更多下拉列表操作:

最佳辦公生產力工具

🤖 Kutools 人工智慧助手:基於以下內容徹底改變數據分析: 智慧執行   |  生成代碼  |  建立自訂公式  |  分析數據並產生圖表  |  呼叫 Kutools 函數...
熱門特色: 尋找、突出顯示或識別重複項   |  刪除空白行   |  合併列或儲存格而不遺失數據   |   沒有公式的回合 ...
超級查詢: 多條件VLookup    多值VLookup  |   跨多個工作表的 VLookup   |   模糊查詢 ....
高級下拉列表: 快速建立下拉列表   |  依賴下拉列表   |  多選下拉列表 ....
欄目經理: 新增特定數量的列  |  移動列  |  切換隱藏列的可見性狀態  |  比較範圍和列 ...
特色功能: 網格焦點   |  設計圖   |   大方程式酒吧    工作簿和工作表管理器   |  資源庫 (自動文字)   |  日期選擇器   |  合併工作表   |  加密/解密單元格    按清單發送電子郵件   |  超級濾鏡   |   特殊過濾器 (過濾粗體/斜體/刪除線...)...
前 15 個工具集12 文本 工具 (添加文本, 刪除字符,...)   |   50+ 圖表 類型 (甘特圖,...)   |   40+ 實用 公式 (根據生日計算年齡,...)   |   19 插入 工具 (插入二維碼, 從路徑插入圖片,...)   |   12 轉化 工具 (數字到單詞, 貨幣兌換,...)   |   7 合併與拆分 工具 (高級合併行, 分裂細胞,...)   |   ... 和更多

使用 Kutools for Excel 增強您的 Excel 技能,體驗前所未有的效率。 Kutools for Excel 提供了 300 多種進階功能來提高生產力並節省時間。  點擊此處獲取您最需要的功能...

產品描述


Office選項卡為Office帶來了選項卡式界面,使您的工作更加輕鬆

  • 在Word,Excel,PowerPoint中啟用選項卡式編輯和閱讀,發布者,Access,Visio和Project。
  • 在同一窗口的新選項卡中而不是在新窗口中打開並創建多個文檔。
  • 將您的工作效率提高 50%,每天為您減少數百次鼠標點擊!
Comments (15)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Highly appreciate the page. Great!
This comment was minimized by the moderator on the site
Perfect! Simple screen shots made building the drop down easy.
This comment was minimized by the moderator on the site
I was able to follow these steps and create a drop down list, however, when I save and exit, the next time I open the spreadsheet the drop down list is no longer there. How do I get it to save?
This comment was minimized by the moderator on the site
That's good example.... :P
This comment was minimized by the moderator on the site
How do I create a drop downlist with a Description that is different than my returned value? For Example: Description in List is - "ABG Interests" But I only want to return - "ABG" to the Cell Thanks
This comment was minimized by the moderator on the site
After I have created my drop down box with a description of different types of equipment, can I have in another column (a rate for each piece of equipment) automatically generate. If so can you please let me know how to do this.
This comment was minimized by the moderator on the site
Great thanks! Now I'm looking to add a macro (linked to button)depending on the selection of the item on the menu...does anyone know what the syntax is for the drop down menu items?
This comment was minimized by the moderator on the site
Thank you :)it helped a lot
This comment was minimized by the moderator on the site
I am most grateful, thanks
This comment was minimized by the moderator on the site
Generous!!! Thanks a lot!
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations