我想应用一些条件格式,将一行的每个单元格与前一行的单元格进行比较。如果不同,则该行会突出显示。
![Example of desired output](https://i.stack.imgur.com/RMbPl.jpg)
我使用的是 Excel 2007。这可能吗?如果是这样,有人可以向我提供将其应用于整个数据表的步骤吗?
对的,这是可能的。这在以前版本的 Excel 中也是可能的。
条件很简单。
Select the data, starting from the second row of data (the third row counting from the header), bring up the condition formatting dialog, select "Formula" and enter =A3<>A2
, =A3<>OFFSET(A3,-1,0)
where A3
is the top-left cell of the selection.
Note the absence of dollar signs - Excel will automatically suggest them, so delete accordingly.
由于引用不是绝对的,因此格式将正确应用于整个表格。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)