Comment appliquer un formatage conditionnel à une cellule.

From Apache OpenOffice Wiki
< FR‎ | Externe
Jump to: navigation, search

{{ #ifeq: |Non| =====Comment appliquer un formatage conditionnel à une cellule.===== |Résumé}}

bgcolor="#{{#switch:Calc Base = cc9999 Calc = 9ebc00 Draw = ffcf26 General = c2b0e5 Impress = f26a00 Math = 9db6c8 Wiki = ffffaa Writer = a4cef0
[[Image: {{ #switch:Calc
Base = Base Calc = Calc Draw = Draw Impress = Impress Math = Math Writer = Writer Book Livre Wiki = Book Edit }}.png|60px]]


Comment appliquer un formatage conditionnel à une cellule.

width="10%" bgcolor="#{{#switch:Calc Base = cc9999 Calc = 9ebc00 Draw = ffcf26 General = c2b0e5 Impress = f26a00 Math = 9db6c8 Wiki = ffffaa Writer = a4cef0 Description Prenons un exemple :

Vous êtes libraire et vous vendez des revues tous les jours. Vous aimeriez faire ressortir, par des couleurs, le nombre de revues vendues dans la semaine. Le résultat apparaîtra en jaune s'il y en a moins de 100 et en bleu s'il y en a plus de 100.

Pour ce faire, vous devez créer deux nouveaux styles, un pour chaque couleur, et deux conditions de formatage : une condition pour le nombre inférieur à 100, une autre pour celui qui est supérieur...

width="10%" bgcolor="#{{#switch:Calc Base = cc9999 Calc = 9ebc00 Draw = ffcf26 General = c2b0e5 Impress = f26a00 Math = 9db6c8 Wiki = ffffaa Writer = a4cef0 Auteur(s) Sophie Gautier width="10%" bgcolor="#{{#switch:Calc Base = cc9999 Calc = 9ebc00 Draw = ffcf26 General = c2b0e5 Impress = f26a00 Math = 9db6c8 Wiki = ffffaa Writer = a4cef0 Date 2002-04-16
width="10%" bgcolor="#{{#switch:Calc Base = cc9999 Calc = 9ebc00 Draw = ffcf26 General = c2b0e5 Impress = f26a00 Math = 9db6c8 Wiki = ffffaa Writer = a4cef0 Plate-forme Toutes width="10%" bgcolor="#{{#switch:Calc Base = cc9999 Calc = 9ebc00 Draw = ffcf26 General = c2b0e5 Impress = f26a00 Math = 9db6c8 Wiki = ffffaa Writer = a4cef0 Module Calc width="10%" bgcolor="#{{#switch:Calc Base = cc9999 Calc = 9ebc00 Draw = ffcf26 General = c2b0e5 Impress = f26a00 Math = 9db6c8 Wiki = ffffaa Writer = a4cef0 Version 1.0 width="10%" bgcolor="#{{#switch:Calc Base = cc9999 Calc = 9ebc00 Draw = ffcf26 General = c2b0e5 Impress = f26a00 Math = 9db6c8 Wiki = ffffaa Writer = a4cef0 Statut (Aide) Standard
width="10%" bgcolor="#{{#switch:Calc Base = cc9999 Calc = 9ebc00 Draw = ffcf26 General = c2b0e5 Impress = f26a00 Math = 9db6c8 Wiki = ffffaa Writer = a4cef0 Licence Public Documentation License width="10%" colspan="4" bgcolor="#{{#switch:Calc Base = cc9999 Calc = 9ebc00 Draw = ffcf26 General = c2b0e5 Impress = f26a00 Math = 9db6c8 Wiki = ffffaa Writer = a4cef0
Valide depuis la 1.0. Testé avec la 1.0. Obsolescence: Pas de limite.
width="10%" bgcolor="#{{#switch:Calc Base = cc9999 Calc = 9ebc00 Draw = ffcf26 General = c2b0e5 Impress = f26a00 Math = 9db6c8 Wiki = ffffaa Writer = a4cef0 Adresse
SXW, 186 Ko
PDF, 208 Ko
Personal tools