google-sheets - Google Spreadsheet Conditional Formatting with another Cell Value from Queries
问题描述
So I have this formula:
=if(D7>=D5,"PROFIT", IF(D7<=D6,"LOSS", "ACTIVE"))
and as you can see in the picture the value of D7 is not >=D5 and not <=D6 but the formula in D9 keeps giving me value LOSS which is not true. I was expecting to give value "ACTIVE".
Data in D6 and D5 are parsed with the query. Data in D7 is parsed with importxml.
Could you help me with this? Thank you
解决方案
我的查询有问题。我不知道为什么,但是查询“order by A desc LIMIT 10, 1”的这一部分打破了我的公式。我删除了这部分,只留下了“=query(App!A1:K,”select B“”和它工作得很好。如果有人可以帮助解释为什么这个添加会影响我的公式,那将会有很大帮助。
推荐阅读
- ruby-on-rails-5 - 物化 1.0.0 gem 不允许 jquery 函数
- amazon-ec2 - EC2 实例上的 Fastai 大小不匹配,但在本地机器上不匹配
- php - 无法在php中附加文件
- java - 正则表达式匹配硬模式
- node.js - AWS X 射线未生成
- c# - 数学函数包含 3 个变量,但其中一个似乎未计算在内
- python - 计算没有len()的字符数并组合变量
- mysql - MySQL 使用 group by 计算计数、总和和百分比
- c# - 是否可以在派生类中添加 XmlIgnore 属性?
- javascript - 无效的道具:道具“数据”的类型检查失败。预期数组,得到对象