How to Sum if cell is not equal to value in Excel

In this article, we will learn about how to get the SUM value if cell value not 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 except where cell is not equal to the value like getting the sum of monthly expense where just a specific day’s amount not been included.

Let’s get the Generic Formula for this

=SUMIF (range, “<>value”,sum_range))

range : condition on the array
value : value to avoid
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 there respective quantity and Price.

We need to get the total Price for all regions except East.

Use the formula:


B2:B26 : range where formula matches values.
"<>East" : the formula now accepts all values except East.
<> : not equal symbol
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 except “East.
As you can see this formula returns the sum if cell is not equal to a value

Hope you understood how to get the SUM if cell is not 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.

Related Articles:

How to SUM if values is between given dates in Excel
How to Sum if cell is equal to value in Excel
How to Sum Multiple Columns with Condition in Excel

Popular Articles:
How to use the VLOOKUP Function in Excel
How to use the COUNTIF function in Excel
How to use the SUMIF Function in Excel

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.