Tip Printed from ExcelTip.com
The SUMIF Formula – Using Comparison Operators ( ) as Criteria


Use the or comparison operators as criteria in the SUMIF formula.
Example:


1. In cell E2, type the criterion 501.
2. In cell D2, insert the SUMIF formula shown in the Formula Bar.

Result:
The SUMIF formula returns only the total of cells B12:B17 because the value of cells A12 to A17 are 501.