跳到主要內容

在Excel下拉列表中選擇值時如何自動填充其他單元格?

假設您已根據範圍 A2:A8 中的值建立了下拉清單。您的目標是在從下拉清單中進行選擇後,將 B2:B8 中的相關值自動填入指定儲存格中。例如,從清單中選擇「Natalia」會自動將她的分數「40」填入儲存格 E2 中,如螢幕截圖所示。本指南將引導您透過兩種簡單的方法來實現此功能。

下拉列表使用VLOOKUP功能自動填充
下拉列表自動使用了不起的工具進行填充
下拉列表的更多教程...


下拉列表使用VLOOKUP功能自動填充

在下拉列表中進行選擇時,請執行以下操作以自動填充其他單元格。

  1. 選擇要自動填入對應值的空白儲存格。
  2. 將以下公式複製並貼上其中,然後按 Enter 鍵。
    =VLOOKUP(D2,A2:B8,2,FALSE)
    備註:在公式, D2 代表帶有下拉清單的單元格, A2:B8 定義包含查找值和所需結果的表範圍,以及 2 指定結果位於表格範圍的第二列。調整列號以符合結果在範圍內的位置,例如更改 23 對於第三列。根據需要調整這些參數以適合您的資料設定。
  3. 從現在開始,當您在下拉清單中選擇名稱時,E2 將自動填入特定的分數。

用Kutools for Excel自動填充下拉列表

您可以根據下拉清單選擇輕鬆填入其他值,而無需記住公式 在列表中查找值 的公式 Excel的Kutools.

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

  1. 選擇用於定位自動填入值的儲存格(例如儲存格 C10),然後按一下 庫工具 > 公式助手 > 公式助手,請參見屏幕截圖:
  2. 公式助手 對話框中,指定參數如下:
    1. 選擇一個公式 框,找到並選擇 在列表中查找值;
      保養竅門:您可以檢查 篩選 框,在文本框中輸入特定單詞以快速過濾公式。
    2. 在 表格數組 框,單擊 鏡頭查詢值4 按鈕選擇包含查詢值和結果值的表格範圍;
    3. 在 外觀值 框,單擊 鏡頭查詢值4 按鈕以選擇包含要搜索的值的單元格。 或者,您可以直接在此框中輸入值;
    4. 在  框,單擊 鏡頭查詢值4 按鈕以指定要從中返回匹配值的列。 或者,您可以根據需要直接在文本框中輸入列號。
    5. 點擊 OK.

現在,將基於下拉列表選擇在單元格C10中自動填充相應的單元格值。

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


演示:下拉列表自動填充而無需記住公式


相關文章:

在Excel下拉列表中鍵入時自動完成
如果您有一個包含大值的數據驗證下拉列表,則需要在列表中向下滾動以查找合適的列表,或直接在列錶框中鍵入整個單詞。 如果在下拉列表中鍵入第一個字母時有允許自動完成的方法,一切將變得更加容易。 本教程提供了解決問題的方法。

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

在Excel中創建可搜索的下拉列表
對於具有眾多價值的下拉列表,找到合適的價值並非易事。 以前,我們已經介紹了一種在下拉框中輸入第一個字母時自動完成下拉列表的方法。 除了自動完成功能之外,您還可以使下拉列表可搜索,以提高在下拉列表中查找適當值時的工作效率。 為了使下拉列表可搜索,請嘗試本教程中的方法。

如何在Excel中使用多個複選框創建下拉列表?
許多Excel用戶傾向於創建帶有多個複選框的下拉列表,以便每次都從列表中選擇多個項目。 實際上,您無法使用數據驗證功能創建帶有多個複選框的列表。 在本教程中,我們將向您展示兩種在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 (29)
Rated 3.5 out of 5 · 1 ratings
This comment was minimized by the moderator on the site
I want to make a data base on excel, but I want it to be when I choose from the dropdown list the next column must change automatically.
How do I do that.
For example from the dropdown list I will choose, Medical and then the next column must give me a date and in the same row if I change from medical to something else that date must change as well.
Can you assist me or is it impossible.
This comment was minimized by the moderator on the site
Hi Yolanda,

The method provided in the article is the one that automatically changes the matching data based on the selection of the drop-down list. For clarity, please provide a screenshot of your data and the result you want to get.
This comment was minimized by the moderator on the site
Спасибо, но не работает Ваша формула. Я вчера мозг сломал себе весь!
Путем перебора и подстановок вышел вот к такой формуле:

=ВПР(A6;A12:B16;2;ЛОЖЬ)

!!ВОТ ЭТА ТОЧНО РАБОТАЕТ!!
This comment was minimized by the moderator on the site
هل تعمل الخاصية بعد حفظ الملف على جهاز اخر ؟؟
بمعنى هل يلزم وجود الاداة على الجهاز الاخر ؟
Rated 3.5 out of 5
This comment was minimized by the moderator on the site
Hi,
Formulas created by Kutools for Excel will remain after sending a workbook to someone else who does not have Kutools installed.
This comment was minimized by the moderator on the site
Hi. I've noticed that the autopopulate works only on a first name basis. If you were to type a surname or family name, you would not see it working. Any chance of fixing this?
This comment was minimized by the moderator on the site
hi, thanks for your code. I would like to autocomplete and make multiple selections in a drop down list. Can you help me please?, thank you
This comment was minimized by the moderator on the site
If you would like the exact same data to populate in numerous cells, select the range of cells, type the data and then, Ctrl Enter. Magic!
This comment was minimized by the moderator on the site
Hi
I want to know the most effiecient way to create a template we can easily auto populate with corresponding information .
I'll try to explain :
I want to make a list saying : if we type the airline code ( 3 digits ) we need to deliver it to 'that' specific warehouse.
We have like 6 warehouses , each handling multiple airlines . So if we type airline code 'x' it should automatically indicate to which warehouse we should deliver .
What do I do :D , which formula is to be used , how do we select a wide range of values ( all the different ailrines )
This comment was minimized by the moderator on the site
HI I WANT TO KNOW HOW to INSERT A COMPANY NAME AND COMPANY ADDRESS AUTOMATICALLY GENERATED LIKE
RAMYA TRADE---------CHENNAI
KAVYA TRADE----------MADURAI
RAMYA TRADE----------CHENNAI
This comment was minimized by the moderator on the site
Hi,
You need to prepare your data as a table range in advanced, and then apply one of the above methods.
This comment was minimized by the moderator on the site
I want to do this, but I do not want to use a drop down, the cells will be populated with a value/name from data on another sheet, sort of like a leaderboard so the names will move up and down accordingly I need certain values to follow those names up or down.
This comment was minimized by the moderator on the site
Hello, I have tried this and keep getting error #NA in the field ... Anyone know how to fix this.

For reference, I am trying to auto-populate contact information when the person selects a contact name from the drop down. So if someone selects John Smith from the drop down, his company, phone number, and email will auto populate in the next couple cells.

The formula I am using is =VLOOKUP(B7;Brokers!A2:D36,3,0). Open Office keeps changing the false at the end of my formula to a 0. I tried using True in lieu of False no change. I tried adding $ before the Array range values still getting #N/A....Can anyone advise how I can get this to work
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