À propos de cet exercice
Un jeu de données de 100 lignes sur une feuille, 2 cellules 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
Excel stores every date as a plain number — the count of days since 30 December 1899 — so 46024 and 2026-01-02 are the same value shown two ways. A number format only changes the display: applying a date format makes the serial readable, and the currency format adds the $ sign, the thousands separator and a fixed two decimals without rounding the stored amount. Because nothing was retyped, every total or lookup built on these cells keeps working.
Pitfall 1: typing the dates in by hand or pasting them as text would turn them into strings — SUM, sorting and date arithmetic break; formats preserve the numeric values. Pitfall 2: Currency versus Accounting — Accounting aligns the $ signs on the left and shows zeros as dashes; both are "currency" to a reader, but a test that asks for the Currency format means the $ next to the number. Pitfall 3: a format with 2 decimals does not round the value; =E2*1 still carries 1234.567. Use ROUND when cents must be exact in totals. Regional settings: m/d/yyyy in the US is d/m/yyyy in the UK and most of Europe; yyyy-mm-dd (ISO 8601) is unambiguous and sorts correctly as text, which is why data teams prefer it. Shortcuts: Ctrl+Shift+# applies the default date format, Ctrl+Shift+$ the currency format, Ctrl+Shift+! the thousands format; Format Painter copies a format from one range to another.
Autres méthodes valables
- Home → Number group → drop-down → Short Date / Currency — the one-click presets (then adjust decimals with the Increase/Decrease Decimal buttons)
- Ctrl+Shift+# for dates and Ctrl+Shift+$ for currency (Windows and Mac) — keyboard-only
- Format Cells → Custom with codes like dd-mmm-yyyy or $#,##0.00;[Red]-$#,##0.00 — when the preset is not exactly what the report needs
Erreurs fréquentes
Retyping the serial numbers as text dates ("2026-03-14"). Text dates look right but will not sort chronologically, cannot be subtracted and are ignored by date functions. Change the format instead.
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 15 novembre 2026. Auteur : GridBelt team.