The SUMIF() formula is the correct one. That's not at issue.
The issue is you have errors in your data, errors we will never spot with you posting sample text excerpts.
Post up your workbook with the SUMIF() formula already in it so we can see your data and how you put in the formula. This way we can see what's wrong.
Click GO ADVANCED and use the paperclip icon to post up a desensitized copy of your workbook.
Bookmarks