跳到主要內容

如何基於Excel中的下拉列表突出顯示行?

本文將討論如何根據下拉列表突出顯示行,以以下屏幕截圖為例,當我從E列的下拉列表中選擇“進行中”時,我需要用紅色突出顯示該行。從下拉列表中選擇“已完成”,我需要用藍色突出顯示該行,當我選擇“未開始”時,將使用綠色突出顯示該行。

使用條件格式,根據下拉列表突出顯示具有不同顏色的行

通過使用有用的功能,根據下拉列表突出顯示具有不同顏色的行


使用條件格式,根據下拉列表突出顯示具有不同顏色的行

通常情況下, 條件格式 功能可以幫助您完成此任務,請執行以下操作:

1。 首先,請插入下拉列表,選擇要插入下拉列表的單元格,然後單擊 數據 > 數據驗證 > 數據驗證,請參見屏幕截圖:

2. 數據驗證 對話框中的 設定 標籤,選擇 名單 形成 下拉菜單中 資源 文本框,請點擊 按鈕可在下拉列表中選擇要使用的值。 看截圖:

3。 插入下拉列表後,然後應用 條件格式 到數據范圍,請根據下拉列表選擇要突出顯示行的數據范圍,請參見屏幕截圖:

4。 然後點擊 首頁 > 條件格式 > 新規則,並在中 新格式規則 對話框,單擊 使用公式來確定要格式化的單元格 ,在 選擇規則類型 列錶框,然後輸入此公式 = $ E2 =“未開始”格式化此公式為真的值 文本框,請參見屏幕截圖:

注意: 在這個公式中, E2 是第一個下拉列表所在的單元格,文本“沒有開始”是您創建的下拉列表中的值。

5。 然後點擊 格式 按鈕去 單元格格式 對話框,請在下拉列表中顯示“未開始”值時選擇一種要突出顯示指定行的顏色,請參見屏幕截圖:

6。 然後點擊 OK > OK 關閉對話框。

7。 然後重複上述4-6個步驟以將條件格式應用於其他下拉值,例如,輸入公式: = $ E2 =“已完成”= $ E2 =“進行中” 為完成或進行中的行,並根據需要分別指定每個項目的顏色。

8。 現在,所有下拉列表值都已應用了條件格式,當您從下拉列表中選擇項目時,該行將以您指定的顏色突出顯示。 看截圖:


通過使用有用的功能,根據下拉列表突出顯示具有不同顏色的行

如果需要為多個下拉列表項上色,上述方法可能會有些麻煩,因此,在這裡,我將介紹一個簡單的功能, Excel的Kutools's 彩色下拉列表,借助此強大功能,您可以盡快解決此任務。 點擊下載Kutools for Excel!

提示:要應用此 彩色下拉列表 功能,首先,您應該下載 Excel的Kutools,然後快速輕鬆地應用該功能。

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

1。 首先,您應該創建要使用的下拉列表,請參見屏幕截圖:

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

3。 在 彩色下拉列表 對話框,請執行以下操作:

  • 選擇 數據范圍行 選項從 適用於 部分;
  • 然後,選擇要突出顯示行的下拉列表單元格和數據范圍;
  • 最後,根據需要分別為下拉列表項指定顏色。

4。 然後,單擊 OK 要關閉對話框,現在,當您從下拉列表中選擇項目時,該行將以您指定的顏色突出顯示。

點擊下載Kutools for Excel並立即免費試用!


演示:基於帶條件格式的下拉列表突出顯示行


更多相關文章:

  • 在Excel中使用超鏈接創建下拉列表
  • 在Excel中,添加下拉列表可以幫助我們高效而輕鬆地解決我們的工作,但是,如果您曾經嘗試使用超鏈接創建下拉列表,則當您從下拉列表中選擇URL地址時,它將打開超鏈接。自動嗎? 本文,我將討論如何在Excel中使用激活的超鏈接創建下拉列表。
  • 創建下拉列表,但在Excel中顯示不同的值
  • 在Excel工作表中,我們可以使用“數據驗證”功能快速創建一個下拉列表,但是,您是否曾經嘗試在單擊下拉列表時顯示其他值? 例如,我在A列和B列中具有以下兩列數據,現在,我需要使用Name列中的值創建一個下拉列表,但是,當我從創建的下拉列表中選擇名稱時,數字列中的值顯示如下屏幕截圖。 本文將介紹解決此任務的詳細信息。
  • 在Excel中創建帶有圖像的下拉列表
  • 在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 (12)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
THANK YOU!!! I've been working trying to figure this rule out without applying it to each individual row.
This comment was minimized by the moderator on the site
I can get this to apply this to a single row, however I have over 3000. This would be very time consuming. Is there another way to apply this same funtion to all my rows easily without manually repeating this.
This comment was minimized by the moderator on the site
Hi.I have tried this but it highlights my whole sheet ,why is this happening?help?
This comment was minimized by the moderator on the site
Yes, when you choose the cell for the formula your Excel version makes it like this: =$E$2

HOWEVER you need to remove the second dollar sign for it to work just like in the example on this page. =$E2="Completed"
I have no idea what the difference is and why it happens though. I see you replied 3 years ago but maybe this will help someone else.
This comment was minimized by the moderator on the site
IT DID! Thank you! I was going out of my mind!!
This comment was minimized by the moderator on the site
Hello, Ash,
You can view the video to check the detailed information of the steps.
This comment was minimized by the moderator on the site
I did exactly what's told and on the demo but it highlights the whole selection. Not the row.
This comment was minimized by the moderator on the site
Hi, Elle,
Would you mind to send your worksheet to my email account? Or you can insert your problem as a screenshot here.
This comment was minimized by the moderator on the site
I have tried this but it only highlights the drop down cell not the entire line. aM I MISSING SOMETHING??
This comment was minimized by the moderator on the site
Hello, David,
After inserting the drop down list, first, you should select the the data range not the drop down list column only, and then when applying the formula in conditional formatting, please enter the formula: =$E2="Not Started", remember enter the $ sign before the cell reference.

Hope this can help you, thank you!
This comment was minimized by the moderator on the site
Thank you! Just what I needed
This comment was minimized by the moderator on the site
YES! I couldn't remember how to do this and the solution is so simple (once you know it). Thank you! :)
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations