À propos de cet exercice
Un jeu de données de 150 lignes sur une feuille, une cellule de réponse, environ 4 minutes. Corrigé dans votre navigateur : la valeur et la formule qui la produit, avec des indications sur la correction à apporter.
Comment le résoudre
- 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").
Autres méthodes valables
- =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)
Erreurs fréquentes
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.
Comment nous corrigeons
Toute formule qui produit le bon résultat est acceptée, sauf si la tâche nomme une fonction : une autre fonction rapporte alors la moitié des points. Nous comparons les valeurs avec une petite tolérance et ignorons la casse et les espaces dans le texte. Un nombre correct saisi à la main au lieu d’une formule rapporte la moitié des points. Les tâches sur plusieurs cellules rapportent tous les points avec 100 % de cellules justes, la moitié à partir de 50 %. Lorsque c’est pertinent, nous modifions aussi une cellule d’entrée sur une copie de votre feuille et vérifions que votre formule suit.
Réponses calculées selon les règles d’Excel 365 et vérifiées dans notre correcteur le 16 novembre 2026. Auteur : GridBelt team.