Google表格带有左公式
我想使用sumifs公式,但是总间隔范围中有文本。
Example:
|Criteria|Sum Interval|
|--------|------------|
| A | 1 - Good |
| A | 2 - Regular|
| C | 3 - Bad |
因此,我想检查标准字段,并在满足时总结总间隔的第一个字符。我尝试了这样的事情: = sumifs(arrayformula(left(suminterval,1)),标准,'a')
在这种情况下,公式应返回3(1 + 2)
- arrayformula(left(suminterval,1))=间隔仅具有第一个字符
此工作当我单独使用时,但是当我将其用作参数时,接收一条消息,说该论点必须是一个范围。
PS:孔解决方案必须是唯一的公式。
I want to use the sumifs formula, but the sum interval range has text in it.
Example:
|Criteria|Sum Interval|
|--------|------------|
| A | 1 - Good |
| A | 2 - Regular|
| C | 3 - Bad |
So, I want to check the criteria field and, when met, sum the first character of the Sum Interval. I tried something like this:
= sumifs( arrayformula(left(suminterval, 1)) , criteria, 'A')
In this case, the formula should return 3 (1 + 2)
- arrayformula(left(suminterval, 1)) = interval with only first character
This work when used alone, but when I use it as an argument, a receive a message saying that the argument must be a range.
Ps: The hole solution has to be in an only formula.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试:
try: