跳到主要內容

如何在Excel中從另一個工作簿創建下拉列表?

在工作簿內的工作表之間創建數據驗證下拉列表非常容易。 但是,如果下拉列表所需的源數據位於另一個工作簿中,您會怎麼做? 在本教程中,您將詳細了解如何從 Excel 中的另一個工作簿創建下拉列表。

在Excel中從另一個工作簿創建下拉列表


在Excel中從另一個工作簿創建下拉列表

要從另一個工作簿創建drop dpwn列表,請執行以下操作。

1.首先,將包含源數據的工作簿重命名為“源數據”或者其他你喜歡的。 重命名工作簿後,打開它。

2. 選擇源數據范圍(本例中為 A2:A10),然後單擊 配方師 > 定義名稱。 看截圖:

3.在彈出 新名字 對話框中,鍵入 資料清單 ,在 姓名 框中,然後單擊 OK 按鈕。

4。 按 按Ctrl + S 保存工作簿。

5. 打開要在其中創建下拉列表的工作簿,然後單擊 公式 > 定義名稱.

6。 在裡面 新名字 對話框,您需要:

1)。 在 姓名 對話框。 在這種情況下,我們輸入 全新;
2)。 複製和粘貼 = SourceData.xlsx!SourceList 框;
3)。 點擊 OK 按鈕。 看截圖:

筆記:

1)。 源數據 此公式中是包含源數據的工作簿的名稱;
2)。 和 資料清單 是您在源數據工作簿中指定的範圍名稱;
3)。 如果源數據的工作簿名稱包含空格或其他字符如-、#...,則需要將工作簿名稱用單引號括起來,如 ='Source Data.xlsx'! 資料清單.

7.選擇插入下拉列表的單元格,點擊 數據 > 數據驗證.

8.在此 數據驗證 對話框,轉到 設定 標籤,選擇 名單 ,在 下拉列表,輸入 =新 ,在 資源 框,最後單擊 OK 按鈕。 看截圖:

備註:“ =新 您在Source框中輸入的是您在上述第6步中指定的範圍名稱。

9.然後 Microsoft Excel中 彈出提示框,只需單擊 按鈕。

現在,將使用其他工作簿中的數據創建下拉列表。 看截圖:

備註: 這種方法有點受挫,使用下拉列表時,需要確保源數據工作簿是打開的,否則下拉列表不會顯示。


相關文章:

最佳辦公生產力工具

🤖 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 (14)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Bonjour, merci beaucoup, j'avais ce souci et je viens d'avoir la réponse.

Svp j'ai un souci.
J'ai plusieurs feuilles Excel contenant des articles en colonne et leurs quantités.
J'ai consolidé toutes les feuilles sur une seule feuille pour avoir la somme des quantités par article sur cette feuille.

Quand je modifie, les quantités sur les différentes feuilles, la somme des quantités consolidées sur la feuille principale se met à jour.

Mais quand je modifie le nom d'un article sur une feuille ou j'ajoute un nouvel article sur une des feuilles. La modification de l'article n'est pas faite sur la feuille principale où j'ai tout consolidé. Svp comment faire?
This comment was minimized by the moderator on the site
Hallo.
gibt es eine andere Möglichkeit diese Verknüpfung für eine Drop-fown Liste zu erstellen sodass dabei die Quelle nicht permanent geöffnet sein muss?

Danke.
This comment was minimized by the moderator on the site
Hi Sebastian,

As far as I know, this is the most common solution to this question.
Someone recommend to dynamically import the source data into the target workbook using Power Query. But I haven't explored the Power Query option. Sorry about that.
This comment was minimized by the moderator on the site
It is working. Wow learning alot from excel
This comment was minimized by the moderator on the site
I am looking for the configuration info to be in another file/workbook. This suggestion doesn't really fit the the need. Thank you.
This comment was minimized by the moderator on the site
<p>
</p>
This comment was minimized by the moderator on the site
Didn't work
This comment was minimized by the moderator on the site
It works only if both workbooks are opened :(
If SourceData.xlsx file is closed the drop-down list won't scrolled...
This comment was minimized by the moderator on the site
This is true. Frustrating.
This comment was minimized by the moderator on the site
Thank you very much, l have managed to link my drop down list to another in a separate workbook.
This comment was minimized by the moderator on the site
how to get a list from another work sheet in a different folder? EX. i have a worksheet.xls and i have another sheet in folder link as new folder/worksheet.xls
This comment was minimized by the moderator on the site
It seems as if you close the source data workbook, the dropdowns in the New workbook do not work. Do you have to have both workbooks open at the same time?
This comment was minimized by the moderator on the site
Yes. The source list needs to be open always. Otherwise, it does not work.
This comment was minimized by the moderator on the site
IT S WORKINGTHANK U
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations