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

SI.CONDITIONS (IFS).

Vérifie si plusieurs conditions sont remplies et renvoie la valeur correspondant à la première condition VRAIE.

Logique
ExcelExcel 365Excel 2021Excel 2019Google Sheets

Fonctionnement détaillé.

SI.CONDITIONS est une fonction indispensable d'Excel. Vérifie si plusieurs conditions sont remplies et renvoie la valeur correspondant à la première condition VRAIE. 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.

Checks multiple conditions in order and returns the grade/value matching the first true condition.

Analogie du quotidien

"Think of this like a grading machine checking grades in order: IF score is 90+ print A, IF 80+ print B, IF 70+ print C, otherwise print F."

Syntaxe.

Notation Standard Excel
=SI.CONDITIONS(test_logique1; valeur_si_vrai1; [test_logique2; valeur_si_vrai2]; ...)
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.

logical_test1Obligatoire

The first condition to test.

Exemple : C2>=90
value_if_true1Obligatoire

The value returned if the first condition is TRUE.

Exemple : "A"
logical_test2Facultatif

The second condition to test.

Exemple : C2>=80
value_if_true2Facultatif

The value returned if the second condition is TRUE.

Exemple : "B"
logical_default_testFacultatif

Use TRUE to create a catch-all default condition.

Exemple : TRUE
value_if_defaultFacultatif

The default value if no prior conditions are met.

Exemple : "F"

Exemple pas à pas.

Cas d'usage concret

Score Grade Labeler

Assign grades A, B, C, or F based on scores.

NameSubjectScoreGradeScale
BellaScience92—90+ = A
CalebScience81—80+ = B
DylanScience74—70+ = C
Formule appliquée
=IFS(C2>=90, "A", C2>=80, "B", C2>=70, "C", TRUE, "F")
Résultat attendu ::Calculated output

Evaluates IFS over the sample table cells, placing the verified output in cell D2: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

  • Always add a final condition of TRUE as a catch-all default at the end of the argument list (e.g. TRUE, "Other") so the formula doesn't return #N/A if no conditions match.

Erreurs à Éviter

  • IFS evaluates conditions from left to right. Make sure your conditions are in the correct order (e.g. start with >90, then >80, then >70).
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✓
Pris en charge
Google Sheets✓
Pris en charge
Historique des versions Excel

Introduced in Excel 2019 and Excel 365. Supported in Excel 2019, 2021, and 365.

Notes de compatibilité Google Sheets

100% compatible with Google Sheets with identical condition/value syntax pairs.

Questions fréquentes.

Questions Techniques
Can I use IFS across different worksheets in Excel?↓

Yes. You can reference cells located on other sheets by including the sheet name followed by an exclamation mark, for example: =IFS(Sheet2!A2:A10). If the sheet name contains spaces, enclose it in single quotes: ='Q1 Report'!A2:A10.

What is the most common reason for errors in IFS?↓

IFS evaluates conditions from left to right. Make sure your conditions are in the correct order (e.g. start with >90, then >80, then >70).

Does IFS work identically in Google Sheets?↓

Yes, IFS is supported in both Microsoft Excel and Google Sheets with standard evaluation behavior.