admin管理员组文章数量:1122846
I am trying to get both "Win"
and "MTT Cash"
results
=COUNTIFS(ResultsLog!C:C,A11,ResultsLog!F:F,"Win" & "MTT Cash")
It works when I just have "Win" but if I add & "MTT Cash"
then it returns 0
All help appreciated
I am trying to get both "Win"
and "MTT Cash"
results
=COUNTIFS(ResultsLog!C:C,A11,ResultsLog!F:F,"Win" & "MTT Cash")
It works when I just have "Win" but if I add & "MTT Cash"
then it returns 0
All help appreciated
Share Improve this question edited Nov 22, 2024 at 20:29 Patsytalk 7181 gold badge1 silver badge14 bronze badges asked Nov 22, 2024 at 11:27 JontyJonty 271 silver badge8 bronze badges 1- Make sure to provide input and expected output as plain text table in the question. Check my answer or other options to create a table easily, which are easy to copy/paste. Avoid sharing links like spreadsheets, which make the question useless for others or images, which are hard to copy. Also, note that your email address can also be accessed by the public, if you share Google files. – TheMaster Commented Nov 22, 2024 at 14:05
2 Answers
Reset to default 1You may try:
=countifs(ResultsLog!C:C,A11,index(xmatch(ResultsLog!F:F,{"Win","MTT Cash"})^0),1)
You may also try QUERY()
with matches
operator.
=QUERY(ResultsLog!C:F,"select count(C) where C='" & A11 & "' and F matches 'Win|MTT Cash' label count(C) ''")
本文标签: if statementMultiple Criteria in GooGle SheetsStack Overflow
版权声明:本文标题:if statement - Multiple Criteria in GooGle Sheets - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736304087a1932111.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论