Sum if cell is equal to value

In this article, we will learn about how to get the SUM value if cell value is equal to a specific value in Excel.

In simple words, when working with long data sheets, sometimes we need to extract the sum of values where cell is equal to the value like getting the sum of monthly expense where just a specific day’s amount is required.

Let’s get the Generic Formula:

=SUMIF (range, “value”, sum_range)

range : condition on the array
value : value to match
sum_range : range where sum is needed.

Let’s understand this function using it in an example.

Here we have Order from different regions with their respective quantity and Price.
SUM IF cell value is equal to
We need to get the total Price for region East.

Use the formula:


B2:B26 : range where formula matches values.
"East" : the formula now accepts all East.
A2:A26 : sum_range where amount adds up.

The formula drops down to

This formula adds up all the values corresponding to all the values “East”.

SUM IF cell value is equal to 2
As you can see this formula returns the sum ( $ 2589.52 ) if cell is equal to a value (East).
Hope you understood how to get the SUM if cell is equal to value in Excel. Explore more articles on Excel SUMIF function here. Please feel free to state your query or feedback for the above article.
We need to get the total Price for region East.

Leave a Reply

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

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.