Como funciona na prática.
SOMASES é uma função essencial no Excel. Soma as células em um intervalo que atendem a múltiplos critérios ou condições. Facilita a automação de relatórios, otimiza consultas de dados e garante máxima produtividade no seu fluxo de trabalho.
💡 Em termos simples.
Adds up all numbers in a range that meet one or more conditions (e.g., adding sales only for West region and Apple product).
"Think of this like a smart piggy bank. It only adds up coins that match all your criteria (like only summing quarters that are shiny)."
Sintaxe.
Notação Oficial do Excel=SOMASES(intervalo_soma; intervalo_critérios1; critérios1; [intervalo_critérios2; critérios2]; ...)Argumentos.
Confira abaixo o detalhamento de cada parâmetro aceito por esta função.
The range of cells to sum.
Exemplo:C2:C6The first range evaluated with the criteria.
Exemplo:A2:A6The condition that must be met in criteria_range1.
Exemplo:"Fruit"The second range evaluated.
Exemplo:B2:B6The second condition that must be met.
Exemplo:">100"Exemplo passo a passo.
Cenário de AplicaçãoFilter & Sum Regional Sales
Sum the Total Sales of a specific Product in a specific Region.
| Region | Product Name | Sales Amount | Query Region | Result Total |
|---|---|---|---|---|
| West | Apple | 1200 | West | — |
| East | Orange | 950 | Apple | — |
| West | Orange | 800 | — | — |
=SUMIFS(C2:C6, A2:A6, "West", B2:B6, "Apple")Evaluates SUMIFS over the sample table cells, placing the verified output in cell E2.
Gerador de fórmula.
Abrir Assistente CompletoPreencha os campos abaixo para gerar uma fórmula pronta para copiar e colar na sua planilha.
=SOMASES()Comportamento do resultado.
Returns "Calculated output" based on sample evaluation criteria and active cell references.
Boas Práticas
- You can use logical operators (e.g. ">100", "<=50") and wildcards (e.g. "App*", "*east*") inside your criteria.
- Lock all range parameters with `$` so you can drag the formula down without shifting lookup ranges.
Erros Mais Comuns
- The sum_range and all criteria_range parameters MUST be identical in shape and dimensions, or SUMIFS will return a #VALUE! error.
Compatibilidade de software e versão.
Validação técnica fundamentada nas especificações oficiais da Microsoft e do Google.
Core standard function supported across all modern and legacy Microsoft Excel versions (365, 2021, 2019, 2016, 2013, 2010), as well as Excel for the Web and Mac.
100% compatible with Google Sheets. Uses identical argument order, data types, and standard calculation logic.
Perguntas frequentes.
Dúvidas TécnicasWhat is the difference between SUMIF and SUMIFS?↓
SUMIF supports only one condition and puts the sum_range last: =SUMIF(range, criteria, [sum_range]). SUMIFS supports up to 127 criteria pairs and places the sum_range first: =SUMIFS(sum_range, criteria_range1, criteria1, ...).
Why does SUMIFS return 0 instead of the expected total?↓
SUMIFS requires ALL conditions to be met simultaneously (AND logic). If no single row satisfies all criteria, it returns 0. Also verify that numeric comparison operators are quoted (e.g., ">100" instead of >100).