Google sheets 在跳过空格时比较列中上一个单元格值的条件格式
在Google表单中,我有数值列,我想将数值的减少设置为红色。我使用了一个简单的公式来比较前一个单元格的值,但是我不知道如何获取列中最后输入的值,跳过任何空白单元格Google sheets 在跳过空格时比较列中上一个单元格值的条件格式,google-sheets,gs-conditional-formatting,Google Sheets,Gs Conditional Formatting,在Google表单中,我有数值列,我想将数值的减少设置为红色。我使用了一个简单的公式来比较前一个单元格的值,但是我不知道如何获取列中最后输入的值,跳过任何空白单元格 | | A | |---|---------| | 1 | Numbers | |---|---------| | 2 | 100| | 3 | 75| // Red (decrease from 100) | 4 | 90| | 5 | | | 6 |
| | A |
|---|---------|
| 1 | Numbers |
|---|---------|
| 2 | 100|
| 3 | 75| // Red (decrease from 100)
| 4 | 90|
| 5 | |
| 6 | 70| // Red (decrease from 90)
| 7 | 71|
| 8 | |
| 9 | 68| // Red (decrease from 71)
|10 | 65| // Red (decrease from 68)
我的A2简单公式:A is=ANDA1,A2请从A2中选择ColumnA,然后选择格式、条件格式…、单元格格式(如果…),自定义公式为enter: 对于格式化样式,选择红色,完成
=and(A2<>"",A2<vlookup(1E+100,A$1:A1,1,1))