Learn about how the SUMIF function (and COUNTIF, etc.) cannot accept arrays. If you need to sum by year from transactional data the SUMIF and YEAR functions cannot be used together. Instead we can use the SUMPRODUCT function. Adding with 1 one criteria condition.
Download file: http://flightline.highline.edu/mgirvin/ExcelIsFun.htm
If you wnat to add the B column, use:
=SUMPRODUCT(--(YEAR(A2:A10)=D3),B2:B10)
ExcelIsFun 1 year ago
this look more to counting but how to sum the qty to get total number?
yuenmxk 1 year ago
That is for sure!
ExcelIsFun 1 year ago
Perhaps some better error responses would help as well. :)
krn14242 1 year ago