跳到主要内容

如何在Excel中根据相邻单元格值突出显示单元格?

当然,如果需要突出显示相邻单元格等于或大于该单元格的单元格,则可以将它们一一进行比较,但是,在Excel中有没有解决该问题的快捷方法?

突出显示与相邻单元格相等的单元格

使用 Kutools for Excel 突出显示单元格是否等于或不等于相邻单元格

如果大于或小于相邻单元格,则突出显示单元格


突出显示与相邻单元格相等的单元格

假设,如果要突出显示相邻单元格相等的单元格,则条件格式设置功能可以帮您一个忙,请执行以下操作:

1。 选择要突出显示的单元格,如果它们等于相邻的单元格,然后单击 主页 > 条件格式 > 新规则,请参见屏幕截图:

doc突出显示基于相邻的1

2。 在 新格式规则 对话框,单击 使用公式来确定要格式化的单元格 ,在 选择规则类型 列表框,然后输入以下公式: = $ A2 = $ B2 格式化此公式为真的值 文本框,请参见屏幕截图:

doc突出显示基于相邻的2

3。 然后点击 格式 按钮去 单元格格式 对话框,在 标签,请指定您要使用的颜色,请参见屏幕截图:

doc突出显示基于相邻的3

4。 然后点击 OK > OK 关闭对话框,并且等于相邻单元格的单元格立即被突出显示,请参见屏幕截图:

doc突出显示基于相邻的4


使用 Kutools for Excel 突出显示单元格是否等于或不等于相邻单元格

如果你有 Kutools for Excel,其 比较单元格 实用程序,您可以快速比较两列,并为每行查找或突出显示相同或不同的值。

Kutools for Excel : 带有300多个便捷的Excel加载项,可以在30天内免费试用. 

安装后 Kutools for Excel,请这样做:

1。 点击 库工具 > 比较单元格,请参见屏幕截图:

2。 在 比较单元格 对话框,请执行以下操作:

  • (1.)从 在中查找值 根据 单独的文本框;
  • (2.)选择 相同的细胞 选择等于相邻小区的小区;
  • (3.)最后,请指定需要突出显示单元格的单元格颜色或字体颜色。
  • (4.)和所有等于相邻单元格的单元格立即被突出显示。

doc突出显示基于相邻的10

3. 要突出显示不等于相邻像元值的像元,请选择 不同的细胞 ,在 比较单元格 对话框,您将根据需要获得以下结果。

doc突出显示基于相邻的11

单击立即下载并免费试用 Kutools for Excel !


演示:使用 Kutools for Excel 突出显示单元格是否等于或不等于相邻单元格

Kutools for Excel:具有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 Tab 为 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