如果语句参考多个带有字符串的单元格
如果(a1 = c1:c10),1,0)我有方程式。 单元格范围C1:C10是每个单个字符串的单元格(SO c1 ='word1',c2 ='word2'等。 我想看看A1是否匹配其中任何一个。这个方程式对字符串不起作用,因此希望对此获得一些指示。
I have equation If(A1=c1:c10),1,0)).
The cell range C1:C10 are cells that each contain an individual string (so cell c1 = 'word1', c2 = 'word2' etc.
I want to see if A1 matches any of these. This equation doesn't work for strings, so was hoping to get some pointers on this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在下面的Promula-
Try below formula-
我想看看A1是否匹配了这些
您可以计算多少次单元A1中的单词出现在范围C1:C10中。如果计数为零,则意味着没有匹配,否则有1个或更多匹配。只需在细胞B1中使用Countif与IF合并:
I want to see if A1 matches any of these
You can count how many times the word in cell A1 appears in range C1:C10. IF the count is zero, it means there is no match, else there is 1 or more matches. Just use COUNTIF combined with IF in cell B1: