Início › Funções › Matemática e trigonometria › SOMASE
fx
SOMASE
Matemática e trigonometria  ·  Desde: Excel 2003  ·  9 idiomas

Você usa a função SUMIF para resumir os valores em um intervalo que atenda aos critérios especificados. Por exemplo, suponha que em uma coluna que contém números, você deseja somar apenas os valores maiores que 5. Você pode usar a seguinte fórmula: =SUMIF(B2:B25">5")

🌐 Traduções

English SUMIF
Deutsch SUMMEWENN
Français SOMME.SI
Español SUMAR.SI
Italiano SOMMA.SE
Português SOMASE
Nederlands SOM.ALS
Polski SUMA.JEŻELI
Русский СУММЕСЛИ

📦 Disponibilidade

Versão do ExcelDisponível
Excel 2007 ✓
Excel 2013 ✓
Excel 2019 ✓
Excel 2021 ✓
Microsoft 365 ✓
Traduzir uma fórmula com esta função
fx EN
fx PT

⌨ Sintaxe

SUMIF(range,criteria,[sum_range])

Argumentos

range (obrigatório) — As células reais a serem adicionadas, se você quiser adicionar células diferentes daquelas especificadas no argumento de intervalo . Se o argumento sum_range for omitido, o Excel adicionará as células especificadas no argumento de intervalo (as mesmas células às quais os critérios são aplicados). Sum_range deve ter o mesmo tamanho e forma que o intervalo . Se não for, o desempenho poderá sofrer, e a fórmula somará um intervalo de células que começa com a primeira célula em sum_range , mas tem as mesmas dimensões que o intervalo . Por exemplo: intervalo intervalo_soma Células resumidas reais A1:A5 B1:B5 B1:B5 A1:A5 B1:K5 B1:B5
criteria (obrigatório) — The criteria in the form of a number, expression, a cell reference, text, or a function that defines which cells will be added. Wildcard characters can be included - a question mark (?) to match any single character, an asterisk (*) to match any sequence of characters. If you want to find an actual question mark or asterisk, type a tilde ( ⁠~⁠ ) preceding the character. For example, criteria can be expressed as 32, ">32", B5, "3?", "apple*", "*~?", or TODAY(). Important Any text criteria or any criteria that includes logical or mathematical symbols must be enclosed in double quotation marks ( " ). If the criteria is numeric, double quotation marks are not required.
sum_range (opcional) — The actual cells to add, if you want to add cells other than those specified in the range argument. If the sum_range argument is omitted, Excel adds the cells that are specified in the range argument (the same cells to which the criteria is applied). Sum_range should be the same size and shape as range . If it isn't, performance may suffer, and the formula will sum a range of cells that starts with the first cell in sum_range but has the same dimensions as range . For example: range sum_range Actual summed cells A1:A5 B1:B5 B1:B5 A1:A5 B1:K5 B1:B5

▶ Exemplos

=SUMIF(B2:B25,">5")
=SUMIF(A2:A7,"",C2:C7)
=SUMIF(A2:A5,">160000")

Funções relacionadas

Copiado para a área de transferência