SUMIF Function In Excel 2010


In Excel 2010, by using SUMIF function we can calculate the sum of multiple data/entries based on desired condition. As name implies, it sums-up the data if the criteria is met. It takes three arguments in which we need to select range of data, criteria ,and sum_range to find out the desired result. This post elaborates a simple usage of SUMIF function.

Launch Excel 2010, open a datasheet on which you want to apply SUMIF conditional logic.

For Instance: We have a worksheet containing customer records with fields; Names, Items, Price and Paid?.

customer record

Now we want to check the total amount paid by customers and total amount customers still owes. For that we need to add two new labels, Total Amount Received, and On Credit.

total amount 1

Now we need to write a formula for Paid Amount, which yields sum of amount that has been paid by the customers.


SUMIF(range, criteria, sum_range)


=SUMIF(D2:D11, “Yes”, C2:C11)

In formula, D2:D11 contains keywords Yes and No that show that whether customer paid the amount or still owes, C2:C11 contains Price of the corresponding product. By applying this formula it will show that sum of the amount paid by the customers by searching Yes in Paid? column and adding corresponding values in Price column. It will evaluate that 774$ has been paid, as shown in the screenshot below.

paid amount result 1

Now we will apply same formula to see how much amount customers still owes, for that we need a slight change in condition.The formula will search No in paid? column and sum up corresponding values in Price column.

=SUMIF(D2:D11, “No”, C2:C11)

It yields sum of amount owed by customers as shown in the screenshot.

owe 1