Menu

*If you already know the very basic SUM FUNCTION , this SUMIF function is an advanced version of that, letting us to put a condition on our summation. *

*SUMIF function is a mathematical function which is found in Google Sheets.*

*This function is very useful in a case when there is one principle condition, on the basis of which a final calculation needs to take place.*

*SUMIF FUNCTION LETS THE USER CONTROL THE SUM BASED ON THE GIVEN CONDITION. WHICH MEANS, WE CAN SPECIFY WHEN TO SUM AND WHEN NOT TO SUM.*

*The article would take you through the purpose, syntax and a few examples of using SUMIF FUNCTION in GOOGLE SHEETS.*

THERE ARE A FEW PREREQUISITES WHICH WILL ENABLE YOU TO UNDERSTAND THIS FUNCTION IN A BETTER WAY.

- Basic understanding of how to use a formula or function.
- How to use SUM(CLICK HERE)
- Of course, ACCESS TO GOOGLE SHEETS

**The Syntax for the function is**

**=SUMIF(LOOKUP_RANGE, CRITERIA, SUM_RANGE)**

SUMIF FUNCTION contains three argument.

The lookup range,

criteria

and Sum Range

The data contains the details of 4 person.

Their age, income and tax paid by them.

We’ll try to find out the tax paid by the people whose age is greater than 25.

AGE | INCOME | TAX |

23 | 200000 | 2000 |

25 | 300000 | 3000 |

18 | 400000 | 4000 |

30 | 100000 | 6000 |

The following animated picture shows the steps to use the SUMIF FUNCTION in GOOGLE SHEETS followed by the explanation.

The example contains the ages as 23,25,18,30.

We’ll use the function as

=SUMIF(E5:E8,”>25″,G5:G8)

First argument is E5:E8 i.e. our lookup range which is AGE in our case , where we would put the criteria.

Second is the criteria, which is >25 i.e. age should be greater than 25. use “” to put the criteria.

Third range is our sum range, which would we sum as per the criteria and result will be from the sum range.

The result comes out to be 6000 which is the tax paid by the person aged 30 as he is the only one >25 in the group.

It is not always necessary to use all the three arguments. If our lookup range and sum range are same, we can still use SUMIF.

Let us take the same example and find out the income of people where income is greater than 150000.

The data again in same.

AGE | INCOME | TAX |

23 | 200000 | 2000 |

25 | 300000 | 3000 |

18 | 400000 | 4000 |

30 | 100000 | 6000 |

The data is given.

We need to find out the total income greater than 150000.

So we use the function as

=SUMIF(F21:F24,”>150000″)

The first argument is the lookup range, on which the condition will be applied. So we take the range,

the second argument is the criteria, which we applied as per the statement that the income shouldn’t be more than 150000.

We omit the third criteria here.

The answer appears as 900000 which is correct.

OTHER WAYS TO REACH THIS ARTICLE

## WHAT IS EXCEL, HOW EXCEL WORKS, WRITE FORMULA IN EXCEL, EXAMPLE OF USING FORMULA IN EXCEL, ANIMATED EXAMLPE OF USING FORMULA IN EXCEL

YOU MAY LIKE

- HOW TO TROUBLESHOOT A FORMULA IN EXCEL?
- USE OF FONTS, FONT SIZE, INDENTATION, TEXT TO THE RIGHT, TEXT TO THE LEFT, TEXT IN THE MIDDLE ETC.
- how to insert table in excel?
- FOR MORE ARTICLES, CLICK EXCEL OR TYPE IN SEARCH BELOW.