跳到主要內容

如何在Excel中使用圖像創建下拉列表?

在 Excel 中,我們可以快速輕鬆地創建帶有單元格值的下拉列表,但是,您是否嘗試過創建帶有圖像的下拉列表,也就是說,當您從下拉列表中單擊一個值時,它的相對值圖像將立即顯示如下演示所示。 在本文中,我將討論如何在 Excel 中插入帶有圖像的下拉列表。

按命名範圍功能創建帶有圖像的下拉列表

通過強大的功能創建多個帶有圖像的下拉列表

根據具有有用功能的單元格值插入多張圖片


按命名範圍功能創建帶有圖像的下拉列表

通常,您可以創建一個命名範圍,然後使用鏈接的圖片在 Excel 中解決此任務。

1. 首先,您應該創建兩列,其中包含單元格值及其相關圖像,請參見屏幕截圖:

注意: 要快速輕鬆地根據單元格值插入多個圖像,請 點擊此處查看.

2. 然後,您需要創建一個包含單元格值的下拉列表,請單擊要輸出下拉列表值的單元格,然後單擊 數據 > 數據驗證 > 數據驗證,請參見屏幕截圖:

3。 在 數據驗證 對話框中的 設定 標籤,選擇 名單 來自 下拉列表,然後選擇要創建下拉列表的單元格值 資源 部分,請參見屏幕截圖:

4。 然後點擊 OK 按鈕,並創建帶有單元格值的下拉列表,從下拉列表中選擇一項,請參見屏幕截圖:

5。 然後,點擊 公式 > 定義名稱,請參見屏幕截圖:

6。 在 新名字 對話框,請執行以下操作:

  • 輸入一個名為 我的形象 姓名 文本框;
  • 然後復制並粘貼此公式: =INDEX(Sheet1!$A$2:$B$6,MATCH(Sheet1!$E$2,Sheet1!$A$2:$A$6,0),2) 進入“引用”文本框。

備註:在以上公式中:

  • Sheet1!$ A $ 2:$ B $ 6:是工作表和範圍,其中包含您要使用的值和圖片;
  • Sheet1!$ E $ 2:是工作表中創建下拉列表的單元格;
  • Sheet1!$ A $ 2:$ A $ 6:是您要創建的單元格列表,基於下拉列表;
  • 可變數 2 是包含圖像的列號。 如果圖像在C列中,則應輸入3。

7。 然後點擊 OK 關閉對話框。 然後需要根據E2中的單元格值將對應的圖片從原來的範圍內復制粘貼到單元格F2中,看截圖:

8. 接下來,您應該選擇單元格 F2 中的圖片,然後輸入此公式 = myimage (我的形象 是您在編輯欄中輸入的在步驟5)中命名的範圍名稱,請參見屏幕截圖:

9。 輸入公式後,按 Enter 鍵,現在,當您從下拉列表中選擇一項時,其相關圖片將立即顯示。 看截圖:


通過強大的功能創建多個帶有圖像的下拉列表

如果你有 Excel的Kutools,其 圖片下拉列表 功能,您只需點擊幾下即可創建多個帶有相關圖像的下拉列表。

注意:要應用此 圖片下拉列表,首先,您應該下載 Excel的Kutools,然後快速輕鬆地應用該功能。

安裝後 Excel的Kutools,請這樣做:

1. 首先,您應該創建兩列,其中包含工作表中的值和相關圖像。

2。 然後,單擊 庫工具 > 下拉列表 > 圖片下拉列表,請參見屏幕截圖:

3。 在 圖片下拉列表 對話框中,如果已創建單元格值和圖像的列,請忽略step1,然後選擇原始數據和圖像範圍以及輸出範圍,請參見屏幕截圖:

4。 然後,單擊 Ok 按鈕,已在所選單元格中創建了帶有圖像的下拉列表,當從下拉單元格中選擇一項時,其對應的圖片將顯示如下演示所示:

立即免費下載Kutools for Excel!


根據具有有用功能的單元格值插入多張圖片

要快速基於單元格值插入相對圖像而又不一一插入,我建議使用一種功能強大的工具-Excel的Kutools,其 匹配導入圖片 實用程序,您可以方便地完成此工作。

安裝後 Excel的Kutools,請這樣做:

1。 點擊 Kutools 加 > 進出口 > 匹配導入圖片,請參見屏幕截圖:

2。 在 匹配導入圖片 對話框,請執行以下操作:

  • 選擇要插入圖片的單元格值 比賽範圍 文本框;
  • 然後點擊 加入 按鈕選擇相應的圖片並將其插入到列錶框中;
  • 然後點擊 進口尺寸 按鈕,為彈出的圖片指定圖片的大小 導入圖片尺寸 對話框;
  • 最後點擊 進口 按鈕。

3. 然後,在彈出的對話框中,選擇要插入圖片的單元格,看截圖:

4。 點擊 OK,圖片已插入與單元格值一致的特定單元格中。

立即免費下載Kutools for Excel!


更多相關文章:

  • 在Excel中增加下拉列表字體大小
  • 下拉列表是 Excel 中一個非常有用的功能,當您在工作表中創建下拉列表時,您是否嘗試過增加下拉列表的字體大小以使所選記錄更大且更具可讀性,如左圖所示?
  • 在Excel中創建多級依賴下拉列表
  • 在Excel中,您可以快速,輕鬆地創建從屬下拉列表,但是,您是否曾經嘗試過創建如以下屏幕快照所示的多級從屬下拉列表? 本文,我將討論如何在Excel中創建一個多級依賴下拉列表。
  • 在Excel中基於下拉列表突出顯示行
  • 本文將討論如何根據下拉列表突出顯示行,以以下屏幕截圖為例,當我從E列的下拉列表中選擇“進行中”時,我需要用紅色突出顯示該行。從下拉列表中選擇“已完成”,我需要用藍色突出顯示該行,當我選擇“未開始”時,將使用綠色突出顯示該行。
  • 創建下拉列表,但在Excel中顯示不同的值
  • 在Excel工作表中,我們可以使用“數據驗證”功能快速創建一個下拉列表,但是,您是否曾經嘗試在單擊下拉列表時顯示其他值? 例如,我在A列和B列中具有以下兩列數據,現在,我需要使用Name列中的值創建一個下拉列表,但是,當我從創建的下拉列表中選擇名稱時,數字列中的值顯示如下屏幕截圖。 本文將介紹解決此任務的詳細信息。

最佳辦公生產力工具

🤖 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 (10)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
how do i repeat the last method in next cell
This comment was minimized by the moderator on the site
Hello, guys,
Sorry for this, the method is only applied to one cell.
If anyone have the good method to make this work for a column, please comment here!
Thank you!
This comment was minimized by the moderator on the site
I found it difficult to follow but managed it. I want to know how I can make a full column have this option though, not just one cell. Can anybody assist please? Thanks.
This comment was minimized by the moderator on the site
Hi, Nice add on to Excel. I had also the same reference error. =INDEX(Sheet1!$A$2:$B$6,MATCH($A$2,Sheet1!$A$2:$A$6,0),2) The comma , should be written as a semicolon like ; Further had to read it lots of time. I think that it should be rewritten in more clear instruction text. I will help you with that if you like. I have also one question: When I want to insert a row in my target worksheet the formula is not working. I use the following formula: =INDEX(Pictos!$A$2:$B$11;VERGELIJKEN($D5;Pictos!$A$2:$A$11;0);2) Translate into English: =INDEX(Pictos!$A$2:$B$11;MATCH($D5;Pictos!$A$2:$A$11;0);2) What I do wrong? Best regards, Ed Boon
This comment was minimized by the moderator on the site
Hi, Nice add on to Excel. I had also the same reference error. =INDEX(Sheet1!$A$2:$B$6,MATCH($A$2,Sheet1!$A$2:$A$6,0),2) The comma , should be written as a semicolon like ; Further had to read it lots of time. I think that it should be rewritten in more clear instruction text. I will help you with that if you like. I have also one question: When I want to insert a row in my target worksheet the formula is not working. I use the following formula: =INDEX(Pictos!$A$2:$B$11;VERGELIJKEN($D5;Pictos!$A$2:$A$11;0);2) Translate into English: =INDEX(Pictos!$A$2:$B$11;MATCH($D5;Pictos!$A$2:$A$11;0);2) What I do wrong? Best regards, Ed Boon
This comment was minimized by the moderator on the site
I can get everything to work except the last step when I name the image.I get a "reference not valid" statement
This comment was minimized by the moderator on the site
Before this step, you have to match correctly Fruits and Pictures.
Good luck !
This comment was minimized by the moderator on the site
Thank you so much. It really cool technique.
This comment was minimized by the moderator on the site
I can get everything to work except the last step when I name the image.I get a reference not valid...any thoughts?
This comment was minimized by the moderator on the site
I have the same error as JAson. Some basic settings different?
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations