[英]Setting up the range in the criteria section of sumif formula
I would like to see the sum of B given it is in the range from 17-Feb to 23-Feb. 我想看看B的总和,因为它的范围是从2月17日到2月23日。
A B
17-Feb 5.00
19-Feb 12.00
22-Feb 7.00
26-Feb 10.00
My estimations so far: 我到目前为止的估计:
=sumif(A:A,????, B:B)
How do I set up a criteria which would take values from 17-Feb to 23-Feb? 如何设置一个将值从2月17日更改为2月23日的条件?
I also tried =sum(sumif(A:A,{17-Feb;?;?;23-feb}, B:B)
but it wouldn't let me. 我也尝试过=sum(sumif(A:A,{17-Feb;?;?;23-feb}, B:B)
但它不允许我这样做。
Particularly the problem is in entering the date in the array. 特别是问题在于在数组中输入日期。
You need SUMIFS
to accomplish this... 您需要SUMIFS
才能完成此任务...
Try this: 尝试这个:
=SUMIFS(B:B,A:A,">=2014/02/17",A:A,"<=2014/02/23")
Hope this does the trick 希望这能解决问题
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.