Conditional Formatting

Utilisez le Formatage conditionnel pour définir des conditions basées sur la plage qui déterminent le style de cellule qui sera appliqué à chaque cellule dans une plage donnée en fonction de son contenu. Le style de cellule correspondant à la première condition évaluée à Vrai est appliqué. Les styles de cellule appliqués via le formatage conditionnel remplacent les styles de cellule appliqués manuellement à l'aide de la barre Formatage ou du volet latéral Styles.

Vous pouvez saisir plusieurs conditions qui interrogent les valeurs des cellules ou les résultats des formules. Les conditions sont évaluées de la première à la dernière. Si la Condition 1 est vraie en fonction du contenu actuel de la cellule, le style de cellule correspondant est appliqué. Sinon, la Condition 2 est évaluée pour déterminer si son style correspondant sera appliqué. Si aucune des conditions ne correspond au contenu de la cellule, aucune modification n'est apportée au format de la cellule.

Conditional formats do not overwrite cell styles and direct formatting applied manually. They remain saved as cell properties and are applied when the cell matches no conditions or when you remove all conditional formats.

warning

Pour appliquer le formatage conditionnel, vous devez impérativement activer la fonction Calcul automatique. Choisissez Données - Calculer - Calcul automatique (une coche apparaît au regard de la commande lorsqu'elle est activée).


Cell range

Pour accéder à cette commande...

Choose Format - Conditional - Condition.

On the Formatting bar, click

Icon Conditional Format - Condition

Conditional Format


Range

Defines the range of cells concerned by the conditional formatting. Click on the Shrink button to minimize the dialog box. Click again on the button to come back to the dialog box once the range is selected.

Liste de condition

Liste les conditions définies pour la plage de cellules dans l'ordre d'évaluation. Vous pouvez définir autant de conditions que vous le souhaitez.

Vers le haut

Augmenter la priorité de la condition sélectionnée.

Bas

Diminuer la priorité de la condition sélectionnée.

Add

Adds the condition to the condition list.

Delete

Deletes the condition from the condition list.

Condition list entries

Specify if conditional formatting is dependent on one of the entry listed on the drop down box.

Condition - Cell value is

Applies a cell style on the cell or cell range controlled by the condition set in the drop down list. The formatting is applied to each cell individually and the condition may depend on other cells values of the selected range.

Condition - Formula is

Applies the selected style to the cell when the formula expression in the text box in the right is not zero.

Condition - Date is

Applies the selected style to the cell when the cell contents is formatted as date and the condition is one of the available date interval in the dropdown list.

Condition - All cells

Applies the conditional formatting to the set of cells defined in the selected range. The formatting is applied based on the contents of the whole range.

Color Scale

Applies a color scale to a range consisting of displaying a bicolor or tricolor gradient on this range depending on the value of each cell.

Data Bar

Data bar option will fill the cell with solid or gradient color corresponding to the numeric value in the cell.

Icon Set

Add an icon to the cell based on the value relative to the specified thresholds. Several icon sets are available.

Apply Style

Select the cell style to apply when the condition is verified. Select New Style to open the Cell Style dialog and define the style properties.

Manage Conditions

Manage all the conditional formatting defined in the spreadsheet.