ExcelFormulas logoExcelFormulas.
Demander à l'IA
Tableaux dynamiquesVérifié par QA

FILTRE (FILTER).

Filtre une plage de données en fonction de critères personnalisés avec propagation automatique.

Tableaux dynamiques
ExcelExcel 365Excel 2021Google Sheets

Fonctionnement détaillé.

FILTRE est une fonction indispensable d'Excel. Filtre une plage de données en fonction de critères personnalisés avec propagation automatique. Elle permet d'automatiser vos tableaux, fiabiliser vos calculs et gagner un temps précieux au quotidien dans vos feuilles de calcul.

💡 En résumé simple.

Sifts through a table of data and extracts only the rows that match your criteria, spilling the results down the sheet.

Analogie du quotidien

"Think of this like sifting sand through a sieve. Only the grains that match your rule pass through, while the pebbles stay behind."

Syntaxe.

Notation Standard Excel
=FILTRE(tableau; inclure; [si_vide])
Conseil : Les arguments entre crochets [comme_ceci] sont facultatifs ; tous les autres sont obligatoires.

Arguments.

Détail de l'ensemble des paramètres acceptés par cette fonction.

arrayObligatoire

The range of cells you want to filter.

Exemple : A2:B6
includeObligatoire

A logical array condition that evaluates to TRUE or FALSE for each row.

Exemple : B2:B6="Red"
if_emptyFacultatif

The value to return if no records meet the filter conditions.

Défaut : "No Matches"

Exemple pas à pas.

Cas d'usage concret

Filter Overdue Projects

Extract only the rows where the Status is "Overdue".

Task NameStatusResult TaskResult StatusTarget Status
Database SetupCompleted——Overdue
API DesignOverdue———
Frontend LayoutIn Progress———
Formule appliquée
=FILTER(A2:B6, B2:B6="Overdue", "None")
Résultat attendu ::Calculated output

Evaluates FILTER over the sample table cells, placing the verified output in cell C2:D6.

Générateur de formule.

Ouvrir l'assistant complet

Personnalisez les champs ci-dessous pour générer une formule prête à être copiée dans votre classeur.

Generated FormulaPrête à copier

Nature du résultat produit.

Returns "Calculated output" based on sample evaluation criteria and active cell references.

Exemple produit ::Calculated output
Type de sortie ::Text

Bonnes Pratiques

  • To combine conditions, use multiplication `*` for AND logic (e.g. `(B2:B6="Red")*(C2:C6>50)`) and addition `+` for OR logic.
  • Ensure cells below the filter formula are completely empty to let the array spill successfully.

Erreurs à Éviter

  • If the spill range is blocked by existing text or numbers, the formula returns a #SPILL! error. Clear the blocking cells to fix it.
  • FILTER is a dynamic array function and is only supported in Excel 365 and Excel 2021+.
Matrice de Compatibilité

Compatibilité par logiciel et version.

Vérification effectuée selon les moteurs de calcul officiels de Microsoft et Google.

Excel✓
Pris en charge
Excel 365✓
Pris en charge
Excel 2021✓
Pris en charge
Excel 2019✕
Non
Google Sheets✓
Pris en charge
Historique des versions Excel

Introduced in Excel 365 and Excel 2021 as part of the Dynamic Array engine. Not available in Excel 2019.

Notes de compatibilité Google Sheets

Native Google Sheets formula (available in Sheets since early versions). Note that parameter order is =FILTER(range, condition1, [condition2]) in both platforms.

Questions fréquentes.

Questions Techniques
Why does the FILTER function return a #CALC! error?↓

A #CALC! error indicates that no rows met your criteria and the optional third argument [if_empty] was left blank. Set [if_empty] to "No records" or "" to handle empty results.

What does the #SPILL! error mean when using FILTER?↓

A #SPILL! error occurs when the dynamic array results cannot expand because one or more cells in the output spill zone already contain existing text, numbers, or formatting. Clearing those obstructing cells immediately resolves the error.