跳到主要內容

如果兩個單元格在Excel中不相等,如何更改顏色?

工作表中有兩個列表需要比較,如果兩個相鄰的單元格不相等,則需要更改行顏色,如下面的屏幕截圖所示,您有什麼好的方法在Excel中處理此工作嗎?
doc更改單元格(如果不等於1)

顏色單元格(如果不等於條件格式)

如果單元格與比較單元格不相等,則為顏色單元格好主意3


顏色單元格(如果不等於條件格式)

1.選擇兩個比較的列表,如果彼此相等,則單擊 首頁 > 條件格式 > 新規則.
doc更改單元格(如果不等於2)

2。 在裡面 新格式規則 對話框中,選擇 使用公式來確定要格式化的單元格,然後輸入此公式 = $ A1 <> $ B1格式化此公式為真的值。 然後點擊 格式 打開 單元格格式 對話框,然後在下面選擇一種顏色 標籤。 看截圖:
doc更改單元格(如果不等於3)

3。 點擊 OK > OK。 如果兩個單元格彼此不相等,則單元格將被著色。
doc更改單元格(如果不等於1)


如果單元格與比較單元格不相等,則為顏色單元格

如果要選擇單元格並給它們上色(如果彼此不相等),則可以應用 Excel的Kutools選擇相同和不同的單元格 效用。

Excel的Kutools, 與以上 300 方便的功能,使您的工作更加輕鬆。 

安裝後 Kutools for Excel,請執行以下操作:(立即免費下載Kutools for Excel!)

1.按住分別選擇兩個列表 按Ctrl 鍵。 看截圖:
doc更改單元格(如果不等於4)

2。 點擊 庫工具 > 選擇選擇相同和不同的單元格,在彈出 對話框,檢查 每一行 和  不同的細胞 選項,然後檢查 填充背景色 or 填充字體顏色 選項,然後選擇所需的一種顏色。 看截圖:
doc更改單元格(如果不等於4)

3。 點擊 Ok,會彈出一個對話框,提醒您已選擇並突出顯示了多少個不同的單元格。 請點擊 OK 關閉提醒對話框。 看截圖:
doc更改單元格(如果不等於4)

 

最佳辦公生產力工具

🤖 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
From the instructions the first method will not work. The formula doesn't auto-increment. If it does work I can't seem to figure it out with the steps provided. Thank you.
This comment was minimized by the moderator on the site
I found that I have to have both text color and fill color to get accurate results... ALSO, my data had to be formatted identically, so I was trying to compare a number format to a general format and that messed things up too. For the auto increment, you have to have the whole column selected when applying the conditional formatting AND your formula has to start with the first row: so =$H1<>$B1 worked where =$H2<>$B2 did not. Hope that helps.
This comment was minimized by the moderator on the site
Hello, First time, I leave my comments here. Can I ask how the Excel file will be showed on other's laptop if I use the products on my laptop with Excel installed Kutools and then send to them?
Thank youK
This comment was minimized by the moderator on the site
Hi, Khanh Mai, if your Excel file has been edited by Kutools for Excel, and when you sent the file to others, the file shown as what it shown in your laptop.
This comment was minimized by the moderator on the site
why this formula not working in my excel sheet (=$A1<>$B1)
This comment was minimized by the moderator on the site
Hi, could you check the formula you type is correct? Maybe there are some spaces?
This comment was minimized by the moderator on the site
Thank you!
Don't forget, if you want to drag your settings to other cells and have them
compare line by line by themselves, you need to remove the $ signs in the formula.
This comment was minimized by the moderator on the site
Te quiero tío.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations