跳到主要內容

如何在Excel中根據相鄰單元格值突出顯示單元格?

當然,如果需要突出顯示相鄰單元格等於或大於該單元格的單元格,則可以將它們一一進行比較,但是,在Excel中有沒有解決該問題的快捷方法?

突出顯示與相鄰單元格相等的單元格

用Kutools for Excel突出顯示等於或不等於相鄰單元格的單元格

如果大於或小於相鄰單元格,則突出顯示單元格


突出顯示與相鄰單元格相等的單元格

假設,如果要突出顯示相鄰單元格相等的單元格,則條件格式設置功能可以幫您一個忙,請執行以下操作:

1。 選擇要突出顯示的單元格,如果它們等於相鄰的單元格,然後單擊 首頁 > 條件格式 > 新規則,請參見屏幕截圖:

doc高亮基於相鄰1

2。 在 新格式規則 對話框,單擊 使用公式來確定要格式化的單元格 ,在 選擇規則類型 列錶框,然後輸入以下公式: = $ A2 = $ B2 格式化此公式為真的值 文本框,請參見屏幕截圖:

doc高亮基於相鄰2

3。 然後點擊 格式 按鈕去 單元格格式 對話框,在 標籤,請指定您要使用的顏色,請參見屏幕截圖:

doc高亮基於相鄰3

4。 然後點擊 OK > OK 關閉對話框,並且等於相鄰單元格的單元格立即被突出顯示,請參見屏幕截圖:

doc高亮基於相鄰4


用Kutools for Excel突出顯示等於或不等於相鄰單元格的單元格

如果你有 Excel的Kutools,其 比較單元格 實用程序,您可以快速比較兩列並查找或突出顯示每一行相同或不同的值。

Excel的Kutools : 帶有300多個便捷的Excel加載項,可以在30天內免費試用. 

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

1。 點擊 庫工具 > 比較單元格,請參見屏幕截圖:

2。 在 比較單元格 對話框,請執行以下操作:

  • (1.)從 在中查找值 根據 單獨的文本框;
  • (2.)選擇 相同的細胞 選擇等於相鄰小區的小區;
  • (3.)最後,請指定需要突出顯示單元格的單元格顏色或字體顏色。
  • (4.)並且所有與相鄰單元格相等的單元格立即被突出顯示。

doc高亮基於相鄰10

3. 要突出顯示不等於相鄰像元值的像元,請選擇 不同的細胞 ,在 比較單元格 對話框,您將根據需要獲得以下結果。

doc高亮基於相鄰11

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


演示:用Kutools for Excel突出顯示等於或不等於相鄰單元格的單元格

Excel的Kutools:具有300多個方便的Excel加載項,可以在30天內免費試用,沒有任何限制。 立即下載並免費試用!

如果大於或小於相鄰單元格,則突出顯示單元格

要突出顯示大於或小於相鄰單元格的單元格,請執行以下操作:

1.選擇要使用的單元格,然後單擊 首頁 > 條件格式 > 新規則新格式規則 對話框中,進行以下操作:

(1.)點擊 使用公式來確定要格式化的單元格 來自 選擇規則類型 列錶框;

(2.)輸入以下公式: = $ A2> $ B2 (大於相鄰單元格)或 = $ A2 <$ B2 (小於相鄰單元格) 格式化此公式為真的值 文本框。

doc高亮基於相鄰5

2。 然後點擊 格式 按鈕去 單元格格式 對話框,然後選擇一種顏色以突出顯示所需的單元格 標籤,請參見屏幕截圖:

doc高亮基於相鄰6

3。 然後點擊 OK > OK 按鈕關閉對話框,現在,您可以看到A列中的單元格大於相鄰單元格的高度,這些單元格已根據需要突出顯示。

doc高亮基於相鄰7

最佳辦公生產力工具

🤖 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 (8)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Good afternoon. There is a table where the column has values​: text and data for it. I only need to create a new table with Name 1.
How to do this?
Thank you.

Name 1 (text)
3
7
2
Name 2 (text)
2
14
3
Name 3 (text)
40
1
7
Name 1 (text)
1
7
Name 2 (text)
7
5
This comment was minimized by the moderator on the site
I hope the translator will not let me down.
I have a large table with data in the column:
Name 1 (text)
1
2
3
..
Name 2 (text)
1
2
3
..
Name 3 (text)...
from this table, I need to extract the data between Name 1 and Name 2, they are repeated several thousand times. How do I highlight data between text cells/rows?
Please help.
This comment was minimized by the moderator on the site
Добрый день. Помогите, пожалуйста! С помощью Условного форматирования можно выделить цветом ячейки с цифрами Между, например между 5 и 7 выделится ячейка с цифрой 6. А как сделать то же самое с текстом?
Например чтоб в столбце между ячейками с текстом Имя и Город рождения выделились все ячейки с любыми значениями.
Заранее спасибо
This comment was minimized by the moderator on the site
Hello,
Sorry, I can't understand you clearly, could you explain your problem in English detailedly?
Thank you!
This comment was minimized by the moderator on the site
I hope the translator will not let me down.
I have a large table with data in the column:
Name 1 (text)
1
2
3
..
Name 2 (text)
1
2
3
..
Name 3 (text)...
from this table, I need to extract the data between Name 1 and Name 2, they are repeated several thousand times. How do I highlight data between text cells/rows?
Please help.
This comment was minimized by the moderator on the site
I have a worksheet with many rows and columns.

The columns are dates, and the row is numbers,

I want to highlight cells that are either greater than or less than the cell on its left, for the entire workbook.
This comment was minimized by the moderator on the site
need help with creating a formula. I have a spreadsheet that has a list of names in one column(s) (for example, column's A and C and in the column beside it (columns's B and D) they have a "x" in the cell if they meet certain criteria. I want to be able highlight all the cells in columns A and C that have a X beside them.

Thanks for any and all help.

~Ramy Jo
This comment was minimized by the moderator on the site
Hello, Ramy,
To solve your problem, please select the column A first, and then use this formula: =$B2="x" into the Conditional Formatting, you will higlight the corresponding cells for column A, see screenshot:
https://www.extendoffice.com/images/stories/comments/comment-skyyang/doc-highlight-cells-1.png

After highlighting the cells in column A, go on apply this formula:=$D2="x" to highlight the cells in column C.
Please try, hope it can help you!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations