answer:Your parameters are in the wrong order. The last parameter should be a criterion condition, according to microsoft Office SUMIF documentation. So the N column part should be first. From the link: Important: The order of arguments differ between the SUMIFS and SUMIF functions. In particular, the sum_range argument is the first argument in SUMIFS, but it is the third argument in SUMIF. If you are copying and editing these similar functions, make sure you put the arguments in the correct order.