简体   繁体   中英

(Excel) conditional formatting based on adjacent cell, whole column

I'm trying to highlight the changes in a long list of data, so I would like to have the cell shaded if its value is different than the cell above. I can implement this for a single pair of cells using conditional formatting, but I can't get it to work for a whole column. Here's what I want it to look like (I performed this shading manually, for this example):

柱

I tried this, but it doesn't propagate down the column when I select the column.

格式

First time responding to a question on Stack Overflow, so apologies if the formatting on this response is messy.

You will want the formula to read: { =A2<>A1 }

Conditional Formatting Rules Manager

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM