跳到主要內容

如果單元格在Excel中包含文本/值/空白,如何突出顯示行?

如果單元格包含1,則doc高亮行

例如,我們在 Excel 中有一個採購表,現在我們要找出蘋果的採購訂單,然後突出顯示蘋果訂單所在的整行,如左圖所示。 我們可以使用條件格式命令或 Kutools for Excel 的功能在 Excel 中輕鬆完成,請繼續閱讀以了解如何操作。

如果單元格包含具有條件格式的特定文本/值/空白,則突出顯示整行

如果單元格包含Kutools for Excel的特定文本/值,則突出顯示整行

如果單元格在另一列中包含特定值之一,則突出顯示整行


箭頭藍色右氣泡如果單元格包含具有條件格式的特定文本/值/空白,則突出顯示行

要使用 Excel 中的條件格式命令突出顯示包含特定文本、值或空白單元格的整行單元格,您可以執行以下操作:

1. 選擇沒有列標題的採購表。

2. 點擊 首頁 > 條件格式 > 新規則。 請參閱下面的第一個屏幕截圖:
如果單元格包含3,則doc高亮行

3. 在上面第二個屏幕截圖所示的新格式規則對話框中,請執行以下操作:
(1)單擊以選擇 使用公式來確定要格式化的單元格 ,在 選擇規則類型 框;
(2)在 格式化此公式為真的值 框中輸入 = $ B2 =“ Apple”;
(3)點擊 格式 按鈕。
筆記:
(1)在公式中 = $ B2 =“ Apple”, $B2 是您將檢查是否包含特定文本或值的單元格,而“Apple”是特定文本,您可以根據需要更改它們。 而這個公式只能找出只包含特定文本或值的單元格。
(2)如果要在單元格為空白的情況下突出顯示行,請輸入 = $ B2 =“” 在步驟3-(2)中。
(3)如果要突出顯示行(如果單元格以特定文本開頭),則需要輸入 = LEFT($ B2,5)=“ Apple”; 或者如果單元格以特定文本結尾則突出顯示行,請輸入 = RIGHT($ B2,5)=“ Apple”.

4. 現在“單元格格式”對話框正在打開。 前往 標籤,指定背景色,然後點擊 OK 按鈕。
如果單元格包含4,則doc高亮行

5. 點擊 OK 按鈕關閉“新建格式規則”對話框。

然後,將突出顯示包含選定範圍內的特定內容單元格的所有行。

如果單元格在Excel中包含某些文本/值,則選擇整行

Kutools for Excel的 選擇特定的單元格 如果單元格在Excel中包含特定值,此功能可以幫助您快速選擇單元格,整個行或整個列。


廣告選擇行(如果包含)

Excel的Kutools - 使用 300 多種基本工具增強 Excel 功能。 享受全功能 30 天免費試用,無需信用卡! 立即行動吧!

箭頭藍色右氣泡如果單元格包含特定的文本/值,請使用Kutools for Excel高亮顯示行

這款獨特的敏感免洗唇膜採用 Moisture WrapTM 技術和 Berry Mix ComplexTM 成分, Excel的Kutools's 選擇特定的單元格 功能,如果單元格包含特定的文本或值,我們可以選擇行,然後在Excel中輕鬆突出顯示這些行。

Excel的Kutools - 包含 300 多個 Excel 基本工具。 享受全功能 30 天免費試用,無需信用卡! 現在下載!

1. 如果包含特定文本或值,請選擇您將在其中找到單元格的列。

2. 點擊 庫工具 > 選擇 > 選擇特定的單元格.

3. 在打開的選擇特定單元格對話框中,如上圖所示,請執行以下操作:
(1)檢查 整行 ,在 選擇類型 部分;
(2)在 具體類型 部分中,單擊第一個框並指定 包含 從下拉列表中,然後在下面的框中輸入特定的文本。
(3)點擊 OK 按鈕。

4. 在第二個選擇特定單元格對話框中,單擊 OK 按鈕。 然後,選擇具有包含特定文本或值的整行的所有單元格。

5. 點擊 填充顏色 上的按鈕 首頁 標籤,然後從下拉列表中指定突出顯示顏色。

Excel的Kutools - 使用 300 多種基本工具增強 Excel 功能。 享受全功能 30 天免費試用,無需信用卡! 立即行動吧!


箭頭藍色右氣泡 如果單元格在另一列中包含特定值之一,則突出顯示整行

有時,僅當其單元格在另一列中包含特定值之一時,才可能需要突出顯示整個行。 Kutools for Excel的 比較範圍 如果單元格輕鬆包含特定值之一,則該實用程序提供了另一種變通辦法來突出顯示整個行。

Excel的Kutools - 包含 300 多個 Excel 基本工具。 享受全功能 30 天免費試用,無需信用卡! 現在下載!

1. 點擊 庫工具 > 選擇>選擇相同和不同的單元格.

2. 在右圖所示的選擇相同和不同的單元格對話框中,請執行以下操作:

(1)在 在中查找值 框,請指定要檢查其單元格是否包含特定值之一的列;
(2)在 根據 框中,請指定包含特定值的列;
(3)在 基於 部分,請檢查 每一行 選項;
(4)在 發現 部分,請檢查 相同的價值 選項;
(5)在 結果處理 對話框,請檢查 填充背景色 選項並指定填充顏色;
(6)檢查 選擇整行 選項。

3. 點擊 OK 按鈕應用此實用程序。 然後出現另一個比較範圍對話框,向我們顯示選擇了多少行。 只需點擊 OK 按鈕將其關閉。

然後你會看到一個單元格是否包含另一列中的一個特定值,這個單元格的整行都被突出顯示並用特定的顏色填充。
doc高亮顯示其他列4

Excel的Kutools - 使用 300 多種基本工具增強 Excel 功能。 享受全功能 30 天免費試用,無需信用卡! 立即行動吧!


箭頭藍色右氣泡演示:如果單元格包含某個值或指定值之一,則突出顯示行

Excel的Kutools:超過 300 個方便的工具觸手可及! 立即開始 30 天免費試用,沒有任何功能限制。 現在就下載!

使用Kutools for Excel自動突出顯示活動的行和列

在Excel中選擇單元格時,通常僅突出顯示活動單元格。 但是,Kutools for Excel的 閱讀版式 實用程序可以自動突出顯示活動單元格的整個行和列。


廣告閱讀版式1

Excel的Kutools - 使用 300 多種基本工具增強 Excel 功能。 享受全功能 30 天免費試用,無需信用卡! 立即行動吧!


箭頭藍色右氣泡相關文章

最佳辦公生產力工具

🤖 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 (16)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
If some row cells are blank does conditional formatting works?? I was trying but it could not select there was some cells blank ...
This comment was minimized by the moderator on the site
Hi Sagar pachhai,
To add conditional formatting for blank cells, you can use the formula similar as this =$B2="".
FYI, 0 will be shown as blank if you have disabled the Show a zero in cell that have zero value option. And some formulas will also return blank too.
This comment was minimized by the moderator on the site
Please help....... In "Select specif cells" dialogue box, In contains field, I want to give a list instead of a word. and then highlight the entire rows which contains that either of the given text in list partially or completely . Is there a way to achieve this? Thank you!
This comment was minimized by the moderator on the site
Hi Umair Aziz,
In the third method introduced in this article (https://www.extendoffice.com/documents/excel/2525-excel-highlight-row-if-cell-blank-contains-value-text.html#kutools2 ), I have introduced how to highlight row if the column contains any one of values in a list.
This comment was minimized by the moderator on the site
Hi , if i type the number 5 , that 5 rows should be need to highlighted. how to do this?
Pls help
This comment was minimized by the moderator on the site
Hi Donbosoco,
Do you mean highlight every 5 rows alternatively? If so, you can apply Conditional Formatting with formula =MOD(ROW(),5)
This comment was minimized by the moderator on the site
You can also apply Kutools for Excel’s Alternate Row / Column Shading feature to highlight every nth rows or columns easily.
This comment was minimized by the moderator on the site
My excel is become little slow while filter the data for the conditional formatted column. Is there any better solution to do highlight dupes in the same column of excel?

I very frequently use filter option for the conditional formatted columns.

Please help me.
This comment was minimized by the moderator on the site
Hi Yoga,
Apply Kutools for Excel’s Select Duplicate & Unique Cells feature to find out and highlight duplicates in one column.
This comment was minimized by the moderator on the site
How to you conditionally format cells with both numbers and text, based on the number. I Have a column that has entries such as 30 days, 12 days, 84 days...etc I would like to highlight the cells <= 30 green, and >=80 Red. Thank you for your help.
This comment was minimized by the moderator on the site
I did something similar but instead used evaluation statements based on the initial date for that item. In other words I would highlight the cell containing remaining days (30 days, 12 days, etc) based off a calculation of the current date and the initial date which was kept in the cell next to the remaining days. For me 10-30 was red text, 31-60 was yellow text and 0-9 was dark red fill with bold white text. Annoying yes but called attention to it.
This comment was minimized by the moderator on the site
Let's say you have a row, and the first cell currently contains no value. The remaining cells contain values. Now, I wish to input a value into that empty cell. When I do, regardless of the data entered, I wish for the entire row to be highlighted. How do I go about doing this?
This comment was minimized by the moderator on the site
Hi Dylan,
Do you mean highlight the entire row if the specified cell is nonblank? If so, you can:
(1) Select the row
(2) Apply conditional formatting with formula , and the formula is =ISBLANK($A2)=FALSE (A2 is the first cell )
This comment was minimized by the moderator on the site
Conditional Formatting
This comment was minimized by the moderator on the site
Please remove the smooth scrolling, it's no longer necessary in modern browsers
This comment was minimized by the moderator on the site
Thank you very much for the help
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations