Learn more about sumproduct here

http://www.xldynamic.com/source/xld.SUMPRODUCT.html

The formula you're looking for is

=Sumproduct((F1:F100="BPS")*(P1:P100="General")*(I1:I100))