Performing calculations based on multiple criteria, using SUMPRODUCT function

Problem:

Calculating the total sum of discounts made.
A discount is available when the value in the discount column (F) = “”YES”” and
only for prices higher than 2000.

Solution:

To find the discount on the price in cell B7, according to the above criteria,
use the following formula:
=SUMPRODUCT(((B2:B5=E2)*(A2:A5>E3)),C2:C5/100)

Example:

Price_____Discount______Percentage
2500______YES___________20
1500______NO____________30
500_______YES___________10
3000______YES__________ 10

Result:___30.00%
Screenshot // Performing calculations based on multiple criteria, using SUMPRODUCT function
Performing calculations based on multiple criteria, using SUMPRODUCT function

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Terms and Conditions of use

The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.

Visit Us On TwitterVisit Us On FacebookVisit Us On Google PlusVisit Us On Youtube