Conteúdo do Curso
Excel Formulas
Excel Formulas
SUMIF
Some formulas are more complex than others. For example, compound functions combine two or more functions, such as SUMIF, which integrates SUM and IF functions but operates differently from what one might expect.
range | The range of cells that you want to apply the criteria to. |
criterion | The condition or criteria to be met. For example, ">5" to sum values greater than 5. |
[sum_range] | (Optional) The actual cells to sum if they meet the criteria. If omitted, the function sums the cells specified in the range . |
It's important to understand that the criterion applies to the values or cells being evaluated for summation, not the sum itself. It’s easy to get confused and think that if the criterion isn't met, the function won’t return a sum.
You can break up this functions into a components and find the steps it do to emulate how it works. Let's start with and IF formula.
After that you can simple use SUM formula for the C1:C6
cells and get the same result as in the SUMIF formula. But SUMIF formula is more convininent as it does all of this in one step and less error prone as you don't need to add a condition for if_false
in IF formula.
Obrigado pelo seu feedback!