不能比较两个字符串值
所以我使用这个公式来尝试比较两个“字符串”值。在这种情况下,列2/3中的一些值将仅为数字,而另一些将包含文本。我有一个助手列检查,两者都是字符串值,但它仍然不会匹配。我也尝试过collect和contains。
我试图将网格1的column2中的值拉到网格2上。任何帮助都会很感激。
=INDEX({Grid 1 | Column2}, MATCH([Column2]@row + "", {Grid 1 | Column3}))
最佳答案
-
杰夫瑞斯曼 ✭✭✭✭✭✭
问候,
杰夫瑞斯曼,IT业务分析师及项目协调员,三菱电机特灵美国
链接:智能表功能帮助页面链接:Smartsheet公式错误信息
如果我的回答帮助解决了您的问题,请将其标记为接受,以便其他用户稍后可以找到它。谢谢!
答案
-
杰夫瑞斯曼 ✭✭✭✭✭✭
@Joseph帕尔多我认为你错过了行索引值在你的index /MATCH结束。试试这个,用, 0放置后你的范围匹配:
=INDEX({Grid 1 | Column2}, MATCH([Column2]@row + "", {Grid 1 | Column3}), 0))
问候,
杰夫瑞斯曼,IT业务分析师及项目协调员,三菱电机特灵美国
链接:智能表功能帮助页面链接:Smartsheet公式错误信息
如果我的回答帮助解决了您的问题,请将其标记为接受,以便其他用户稍后可以找到它。谢谢!
-
约瑟夫·帕尔多 ✭✭
谢谢你的建议。我不知道为什么我忘了这个公式,但我也试过了。我用了0和1。
还有其他想法吗?我几乎到了不能比较存储为字符串的数值的地步了。
-
杰夫瑞斯曼 ✭✭✭✭✭✭
问候,
杰夫瑞斯曼,IT业务分析师及项目协调员,三菱电机特灵美国
链接:智能表功能帮助页面链接:Smartsheet公式错误信息
如果我的回答帮助解决了您的问题,请将其标记为接受,以便其他用户稍后可以找到它。谢谢!
-
约瑟夫·帕尔多 ✭✭
这个工作!非常感谢,现在我有两个单独的公式,我想把它们合起来。
我试图通过比较来获得Column2 (Grid1或G1)中的值在G2上的Column2值,在G1上的Column3值。和检查如果Test6列值包含在G1的Column6中。基本上就是尝试将匹配添加到我现有的公式中。
=INDEX(COLLECT({Grid 1 | Column 2}, {Grid 1 | Column6}, CONTAINS([Test6]@row, @cell),[Column2]@row + "", {Grid 1 | Column3}), 1)
有什么想法吗?
帮助文章参考资料欧宝体育app官方888
类别
I hope you're well and safe!<\/p>
Yes, absolutely.<\/p>
Here's the structure.<\/p>
=INDEX({ColumnWithTheValueYouWantToShow}, MATCH(CellThatHaveTheValueToMatch@row,{ColumnWithTheValueToMatchAgainsTheCell}, 0))<\/p>
I hope that helps!<\/p>
Be safe, and have a fantastic week!<\/p>
Best,<\/p>
Andrée Starå<\/strong><\/a> | Workflow Consultant \/ CEO @ WORK BOLD<\/strong><\/a><\/p>
If you're using dependencies in a Project Sheet, then the Duration column is not able to be updated via formulas <\/a>or cell links. This is because it's used in combination with the Start and Finish dates in your sheet to automatically generate data (e.g. if you add the Start date and a Duration, the Finish date populates. If you add the Start date and Finish date, the Duration automatically populates).<\/p>