[英]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.
我希望单元格 B1 变成某种颜色或根据 A1 的值有一个向上/向下箭头,但我正在寻找它来重复整个数据范围。 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.我尝试了几种在网上找到的不同方法,但都没有奏效。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.