简体   繁体   English

Excel 2010,如果它们匹配另一列中的单元格,则突出显示单元格

[英]Excel 2010, highlight cells if they match cells in another column

Simple one really, how do I highlight cells in column A if their value appears in column B? 简单的说真的,如果它们的值出现在B列中,如何突出显示A列中的单元格? I found a thread that does the opposite: 我发现一个相反的线程:

Change the color of cells in one column when they don't match cells in another column 当它们与另一列中的单元格不匹配时,更改一列中的单元格的颜色

Thanks 谢谢

  • Select column A 选择列A
  • Select conditional formatting --> new rule 选择条件格式->新规则
  • Select "use formula to determine which cells to format" 选择“使用公式来确定要格式化的单元格”
  • Enter the formula =COUNTIF(B:B,A1)=1 in the formula bar 在公式栏中输入公式=COUNTIF(B:B,A1)=1
  • Select a color to highlight and press OK 选择要突出显示的颜色,然后按OK。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 突出显示不在另一列中的单元格 - Highlight cells that are not in another column 根据另一列中单元格的值突出显示单元格 - Highlight cells based on the value of cells in another column 仅当连续单元格 Excel 2010 时突出显示重复项 - Highlight duplicates only if consecutive cells Excel 2010 根据 Excel 2010 中另一列的日期平均一列中的单元格 - Averaging cells in one column based on date of another column in Excel 2010 使用Excel条件格式-想要突出显示与另一个单元格区域中的任何单元格匹配的区域中的单元格 - With Excel Conditional Formatting - Want to Highlight Cells in a range that match any from another range of cells 如果两个单元格匹配,则从 Excel 中的另一列返回值 - If Two Cells Match, Return Value From Another Column in Excel 在Excel中,如果单元格值为X,则高亮显示行和列 - In Excel, highlight row and column if cells value is X Excel函数帮助 - 将工作表中的2个单元格与另一个工作表中的2个单元格进行比较,如果它们匹配,则从其他列返回值 - Excel Function Help - Compare 2 Cells in Worksheet to 2 Cells in another worksheet, if they match, return value from a different column 如何在Excel中突出显示单元格? - How to Highlight Cells in Excel? Excel VBA用于隐藏一个工作表中的单元格(如果它们匹配另一个工作表中的单元格) - Excel VBA for hiding cells in one sheet if they match cells in another sheet
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM