提示:其他語言是Google翻譯的。 你可以訪問 English 版本。
登入
x
or
x
x
註冊
x

or

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

假設您已經根據單元格範圍B8:B14中的值創建了一個下拉列表。 當您在下拉列表中選擇任何值時,您希望單元格範圍C8:C14中的相應值自動填充到所選單元格中。 例如,當您在下拉列表中選擇Lucy時,它將自動在單元格D88中填充分數16。 見下面的屏幕截圖。

為了得到如上所示的結果截圖顯示,您需要VLOOKUP功能。 在本教程中,我們將向您展示如何使用VLOOKUP函數在Excel下拉列表中選擇值時自動填充其他單元格。

下拉列表自動填充VLOOKUP功能

下拉列表自動填充而不用記住公式


將多個工作表/工作簿合併到一個工作表/工作簿中:

將多個工作表或工作簿合併到一個工作表或工作簿中可能是您​​日常工作中的一項重大任務。 但是,如果你有 Kutools for Excel,其強大的實用性 - 結合 可以幫助您將多個工作表,工作簿快速合併到一個工作表或工作簿中。 立即下載Kutools for Excel的全功能60天免費試用版!

Kutools for Excel:使用超過200便捷的Excel加載項,可以免費試用60天內沒有限制的完整功能。 立即下載免費試用版!

Office選項卡在Office中啟用選項卡式編輯和瀏覽,使您的工作更輕鬆......
Kutools for Excel解決了您的大多數問題,並使您的生產率提高了80%
  • 重用任何東西: 將最常用或最複雜的公式,圖表和其他任何內容添加到您的收藏夾中,並在將來快速重複使用它們。
  • 超過20文本功能: 從文本字符串中提取數字; 提取或刪除部分文字; 將數字和貨幣轉換為英文單詞。
  • 合併工具:將多個工作簿和工作表合二為一; 合併多個單元格/行/列,而不會丟失數據; 合併重複的行和總和。
  • 拆分工具:根據價值將數據分割成多個工作表; 一本工作簿可轉換為多個Excel,PDF或CSV文件; 一列到多列。
  • 粘貼跳過 隱藏/過濾行; 數和總和 按背景顏色; 將個性化電子郵件批量發送給多個收件人。
  • 超級過濾器: 創建高級過濾方案並應用於任何工作表; 分類 按週,日,頻率等; 過濾 通過大膽,公式,評論......
  • 超過300強大的功能; 與Office 2007-2019和365一起使用; 支持所有語言; 在您的企業或組織中輕鬆部署。

下拉列表自動填充VLOOKUP功能

請按照以下步驟在下拉列表中選擇時自動填充其他單元格。

1。 選擇一個空白的單元格,你想自動填充相應的值。

2。 複製並粘貼公式 = VLOOKUP(B16,B8:C14,2,FALSE)配方欄,然後按 輸入 鍵。

備註:在公式中, B16 是單元格包含下拉列表,和 B8:C14 是包含下拉列表數據和自動填充數據的單元格範圍,以及數字 2 根據指定的單元格範圍指示填充值所在的列號。 例如,如果返回的值位於範圍的第三列,請將2更改為3。 您可以根據您的需要更改公式中的變量值。

3。 從現在開始,當您在下拉列表中選擇一個名稱時,單元格D16將根據單元格範圍B9:C14自動填充特定分數。


下拉列表自動填充Kutools for Excel

Y你可以很容易地填充其他值的基礎上下拉列表選擇,而不用記住公式 在列表中尋找一個值 公式 Kutools for Excel.

Kutools for Excel : 與超過300方便的Excel加載項,在60天免費試用沒有限制.

1。 選擇一個單元格來定位自動填充值(稱為單元格C10),然後單擊 Kutools > 配方助手 > 在列表中尋找一個值。 看截圖:

2。 在裡面 配方助手 對話框:

1)。 在裡面 表格數組 框中,選擇包含下拉列表值和填充值的表格。

2)。 指定包含下拉列表的單元格 Look_value 框。

3)。 選擇具有填充值的列 框,最後點擊 OK 按鈕。

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

提示。如果您想免費試用此實用程序,請轉到 免費下載軟件 首先,按照上述步驟進行操作。


Office Tab - 在Excel中選項卡式瀏覽,編輯和管理工作簿:

Office選項卡將Web瀏覽器(如Google Chrome,Internet Explorer新版本和Firefox)中顯示的選項卡界面帶到Microsoft Excel。 它 是一個省時的工具,在你的工作中無可替代。 見下面的演示:

點擊免費試用Office Tab!

Excel的Office選項卡


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


相關文章:


Kutools for Excel解決了您的大多數問題,並使您的生產率提高了80%

  • 重用: 快速插入 複雜的公式,圖表 以及你以前用過的任何東西; 加密單元格 密碼; 創建郵件列表 並發送電子郵件...
  • 超級方程式酒吧 (輕鬆編輯多行文字和公式); 閱讀佈局 (輕鬆讀取和編輯大量單元格); 粘貼到過濾範圍...
  • 合併單元格/行/列 不丟失數據; 分裂細胞含量; 組合重複的行/列...防止重複的細胞; 比較範圍...
  • 選擇複製或唯一 行; 選擇空行 (所有細胞都是空的); 超級查找和模糊查找 在許多工作簿中; 隨機選擇......
  • 精確複製 多個單元格而不更改公式參考; 自動創建參考 多張表; 插入項目符號,複選框等等......
  • 提取文本,添加文本,按位置刪除, 刪除空間; 創建和打印分頁小計; 在單元格內容和註釋之間轉換...
  • 超級過濾器 (將過濾方案保存並應用到其他工作表); 高級排序 按月/週/日,頻率等; 特殊過濾器 用粗體,斜體......
  • 結合工作簿和工作表; 根據鍵列合併表; 將數據拆分為多個表格; 批量轉換xls,xlsx和PDF...
  • 超過300強大的功能。 支持Office / Excel 2007-2019和365。 支持所有語言。 在您的企業或組織中輕鬆部署。 全功能30天免費試用。
kte tab 201905

Office選項卡為Office提供選項卡式界面,使您的工作更輕鬆

  • 在Word,Excel,PowerPoint中啟用選項卡式編輯和閱讀,Publisher,Access,Visio和Project。
  • 在同一窗口的新選項卡中打開並創建多個文檔,而不是在新窗口中。
  • 通過50%提高您的工作效率,每天為您減少數百次鼠標點擊!
官方底部
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    surly · 1 years ago
    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.
  • To post as a guest, your comment is unpublished.
    Aly · 1 years ago
    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
  • To post as a guest, your comment is unpublished.
    lluis · 1 years ago
    thanks for the code, but it only works for me in the first list, I have some inderect lists after the first that don't show any value. Is there any solution? Thanks in advance. ;)
    • To post as a guest, your comment is unpublished.
      crystal · 1 years ago
      Good day,
      In the formula, please change the number 2 to the list you need. For example, if the returned value locates in the third column of your range, please change 2 to 3.
  • To post as a guest, your comment is unpublished.
    GNR · 2 years ago
    I am trying to create a spreadsheet for employee evaluations. I have a series of questions and then there is a drop down box with either yes or no. I need for the yes/no drop down boxes to auto populate another box titled "call score" and for it to be a percentage value that will change with each drop down box that is used.

    Also, I need for this percentage to show in another field titled "Total score" and I need this box to change colors with the value. For example, if the percentage is between 92% and 100%, then the box should be highlighted blue.

    Does this make sense? And is this possible?

    Thanks in advance
    GNR
  • To post as a guest, your comment is unpublished.
    BB · 2 years ago
    Will this work to populate multiple columns? IE column a contains the pic list and B-D i want to auto populate with values.
  • To post as a guest, your comment is unpublished.
    Anonymous · 2 years ago
    Do not download Kutools! It gives viruses to your computer.
  • To post as a guest, your comment is unpublished.
    Michelle · 2 years ago
    I'm trying to get a drop down list to pull up an entire table based off of what month is selected how would i go about doing that? all i can find is how to pull values from a table
  • To post as a guest, your comment is unpublished.
    Irshad · 3 years ago
    Hello,

    Can you tell what is a formula for this example....

    ex: If any number comes between 15000-20000 in 'B column' then 'A column' automatically add ABC name and If any number comes between 21001-25000 in 'B column' then 'A column' automatically add XYZ name.
  • To post as a guest, your comment is unpublished.
    Melissa · 3 years ago
    I'm attempting to do this exact thing where the dropdown list has almost 500 items (Facility), and I want excel to automatically populate the adjacent cell with the correct state. I already had the menu list on a separate sheet, Menus, and I added a column to the right for State.

    Sheet 1 (ID List) looks something like this:

    A1 | B1 |...| J1 | K1
    Lname | Fname |...| Facility | State

    Menu sheet contains the data for the dropdown and auto-populate values:
    C D
    Facility | State
    Aliceville | AL
    Lancaster | AL
    Hughes | TX

    So my formula looks like this: =VLOOKUP(J5,Menus!B2:C483,2,FALSE)

    The problem is when I copy the formula in the State cell to other cells, either by copying the first cell, and pasting into another cell or a range or cells; or by selecting the cell and dragging down - excel correctly changes the formula for the cell containing the drop down list (dragging down From J2, it changes to J3), but it also changes the range for the menu data:

    =VLOOKUP(J2,Menus!B2:C483,2,FALSE)
    =VLOOKUP(J3,Menus!B3:C484,2,FALSE)

    Forcing me to manually go in and change the menu range in each cell.

    This document is very fluid and I'm adding rows constantly - so I need a way to automate this without this little glitch.

    Solution greatly appreciated, thanks in advance!
    • To post as a guest, your comment is unpublished.
      Jason · 3 years ago
      In the menu data, add $ in front of the number. =VLOOKUP(J2,Menus!B$2:C$483,2,FALSE) Notice I did not add the $ in the J2 as I assume this is the number you want to change. Then highlight the field, drag down the rest of the way through the column, and use Ctrl-D to copy and paste the formula automatically changing only the row number of the J column.
      • To post as a guest, your comment is unpublished.
        JLR · 2 years ago
        Thank you so much for this answer. I've been struggling with the same exact issue as Melissa.
  • To post as a guest, your comment is unpublished.
    Dino Appla · 3 years ago
    Brilliant, thank you for the simple answer
  • To post as a guest, your comment is unpublished.
    James R. Leichter · 4 years ago
    Thank you for this post. This solved my Excel question in two minutes. It was way easier to understand and follow than any other page I looked at. That includes Microsoft's web page.
  • To post as a guest, your comment is unpublished.
    Claire · 4 years ago
    Hi,

    I'm trying to find a way of auto-populating a cell which displays the value selected from a filter.

    So, if my filter was days of the week, and I selected "Wednesday", I need another cell to just display Wednesday.

    I have tried linking cells, but was unsuccessful. I've also tried some basic VBA, but this didn't work either!

    I am certainly no excel expert, but I must be doing something wrong as I wouldn't have expected it to be so difficult!

    Please can you help?
    • To post as a guest, your comment is unpublished.
      JOEY · 2 years ago
      Hi! I am a freelance excel expert and accepting any kind of excel job.