google-sheets - 大于或等于自定义数字格式

标签 google-sheets formatting rounding number-formatting

我正在寻找自定义格式该值,但当我的结果是 15.0 或 14.9 时,该公式不起作用。我尝试放置 <= 或 =< 但自定义数字格式无法识别它。

这是我当前的公式。

[>15.0]0.0[color 50]"▲";[<14.9]0.0[red]"▼";0.0

enter image description here enter image description here enter image description here enter image description here enter image description here

最佳答案

用途:

[>=15.0]0.0[color 50]"▲";[<=14.9]0.0[red]"▼";0.0

enter image description here

enter image description here


更新

尝试:

[>=15.0]0.0[color 50]"▲";[<=14.9999999999999]0.0[red]"▼";0.0

enter image description here

关于google-sheets - 大于或等于自定义数字格式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69935584/

相关文章:

c# - 在 C# 中舍入 double 值

postgresql - 更改数字在 psql 中的打印方式

google-sheets - 如何使用 Google Sheets 公式将数据矩阵转换为关系表?

json - 电子表格问题

至少有 10 个字符的长整数的 java String 格式

java - Google DateTime 类 - Java 中的日期格式

ios - bezierPathWithRoundedRect : gives bad result on retina screen

javascript - 为什么我的单选按钮响应无法响应我的 Google 电子表格?

google-apps-script - Google App Script - 如何从库中调用函数

javascript - 如何使用 Javascript 在 HTML 中添加换行符