-
-
nannan 数据老手Lv5
发表于2020-1-13 15:38
悬赏1
已解决
楼主
在所在单元格的背景颜色处写了这样一个句子,为了实现判断该数值位于哪个区间段则显示一种颜色,一共是5个区间段,但是显示出来只有一个颜色,这是为什么? case when (@txt<100 and @txt>=0) then '#C4D1E6' when (@txt<500 and @txt>=100) then '#ACBFDC' when (@txt<1000 and @txt>=500) then '#88A4CC' when (@txt<5000 and @txt>=1000) then '#7191C2' else '#4D76B3' end

3个回答
把@txt换乘self.txt试试 还是不行的话 先写一个简单的表达式 检查下这个写法有没有问题