简体   繁体   中英

Use Conditional Formatting to format a cell based on the value of the cell before it

I have a range of data that I am looking to format a certain way. I would like cell B1 to turn a certain color or have an up/down arrow based on the value of A1, but I'm looking for this to repeat for the entire range of data. PLease see the image for an example of what I am looking for. In this image, the cell turns green when the cell before it is lower, and red when it is higher. enter image description here

I have tried a few different methods I found online, but none have worked.

This is what I achieved with two simple Conditional Formatting rules.

在此处输入图像描述

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