按日期求和!!sumif+text 报错sumproduc
excel吧
全部回复
仅看楼主
吧务
level 11
按日期求和!!
sumif+text 报错
sumproduct 没问题!!
求解!
2026年04月22日 02点04分 1
吧务
level 11
sum+month也可以,,sumif没道理不行呀!
2026年04月22日 02点04分 2
level 12
好像第一个参数只能是区域吧,用其他函数就好了
2026年04月22日 02点04分 3
level 5
{=SUM((MONTH(B3:B10)=8)*(C3:C10))}
{=SUM((TEXT(B3:B10,"m")="8")*(C3:C10))}
文本与数字区别
2026年04月22日 02点04分 5
是的sum+month可以的!
2026年04月22日 03点04分
吧务
level 15
函数的参数类型为range或ref的只能是引用,不能是内存数组.
sumif/sumfis countif/countifs subtotal这些函数都涉及这个问题.
btw:能返回引用的只有3个函数 offset indirect index
2026年04月22日 03点04分 6
大佬说的对,,,
2026年04月22日 03点04分
level 13
拆着用就好了,sum+if
=sum(if(month(A2:A10)=E1,B2:B10))
2026年04月22日 04点04分 7
撅折用对吧,,哈!
2026年04月22日 05点04分
1