math - 如何评估谷歌电子表格中的字符串

标签 math google-sheets indexing google-sheets-formula google-query-language

我想知道这在谷歌表格中是否可行:


cell A2 has string  100*2 + 50

How to get the result in another cell, such as A3 = evaluate(A2) and get 250?

我在这里分享了公开的 Google 工作表“stringEvaluate”:

https://docs.google.com/spreadsheets/d/10NzbtJhQj4hQBnZXcmwise3bLBIAWrE0qwSus_bz7a0/edit#gid=337388679

必填

从另一个字符串单元格获取数学结果

我的尝试

=query(A2)   This gives the same string, does not evaluate

最佳答案

尝试:

=INDEX(QUERY(, "select "&A2), 2)

enter image description here

关于math - 如何评估谷歌电子表格中的字符串,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67878087/

相关文章:

algorithm - 比较三维结构

python - 生成点不在对方范围内?

mysql - Google 表格 JDBC 脚本中的西里尔数据库内容

google-sheets - 让东京股票价格数据出现在 Google 电子表格中

indexing - 通过faiss中的C++接口(interface)remove_ids

sql - 如何为动态搜索字符串创建索引

用于涉及复数的矩阵运算的 Java 库?

c++ - 我如何接受字符串或 double 值作为输入? C++

google-apps-script - 比较谷歌电子表格上的行

python - Numpy 像 python 一样否定索引