Sobre este exercício
Um conjunto de dados de 150 linhas em uma planilha, uma célula de resposta, cerca de 4 minutos. Corrigido no seu navegador: o valor e a fórmula por trás dele, com feedback que mostra o que corrigir.
Como resolver
- H2
=SUMIF(E2:E151,">500")
SUMIF can test the numbers it adds: =SUMIF(E2:E151,">500") looks at every order total and adds the ones greater than 500. The criterion is written as text — the comparison operator and the number inside quotes — and because the condition and the values are the same column, the optional third argument (sum_range) is not needed. The three orders of exactly $500.00 fail the > test and stay out, which matches the approval rule.
Pitfall 1: ">=500" versus ">500" — one character changes the result by $1,500.00 here; read business rules literally ("above", "at least", "more than") before choosing the operator. Pitfall 2: the threshold typed into the criterion is invisible to whoever changes the policy; =SUMIF(E2:E151,">"&J1) with the threshold in J1 (operator in quotes, joined with &) is the maintainable version and the pattern you need for dates. Pitfall 3: amounts stored as text (from a CSV) are ignored by SUMIF — a quick COUNT of the column against the row count reveals them. Alternatives: SUMIFS(E2:E151,E2:E151,">500") is the same with the sum range first; SUMPRODUCT((E2:E151>500)*E2:E151) is the array form; adding a second condition ("<=1000") in SUMIFS gives a band instead of an open range. Companion metrics: COUNTIF(E2:E151,">500") for the number of large orders and the average as SUMIF/COUNTIF or AVERAGEIF(E2:E151,">500").
Outras formas que funcionam
- =SUMIFS(E2:E151,E2:E151,">500") — SUMIFS form; sum range first
- =SUMIF(E2:E151,">"&J1) with 500 typed in J1 — threshold kept in a cell
- =SUMPRODUCT((E2:E151>500)*E2:E151) — array form (not accepted here, because this task asks for SUMIF or SUMIFS)
Erros comuns
Writing ">=500" (or "<500") instead of ">500": the 3 orders of exactly $500.00 are added and the total comes out $1,500.00 too high.
Como corrigimos
Qualquer fórmula que produza o resultado certo é aceita, a menos que a tarefa cite uma função: nesse caso, outra função vale metade da pontuação. Comparamos os valores com uma pequena tolerância e ignoramos maiúsculas e espaços no texto. Um número certo digitado à mão em vez de uma fórmula vale metade da pontuação. Tarefas com várias células valem a pontuação integral com 100% das células certas e metade a partir de 50%. Quando faz diferença, também mudamos uma célula de entrada em uma cópia da sua planilha e verificamos se sua fórmula acompanha.
Respostas calculadas com as regras do Excel 365 e verificadas no nosso corretor em 16 de novembro de 2026. Autor: GridBelt team.