Pular para o conteúdo
Documentação do usuário

Formatação condicional

A formatação condicional aplica formatação específica, como uma cor de fundo ou cor de fonte, a um intervalo de células que atendem a um ou mais critérios ou regras definidas. Isso permite que você destaque visualmente dados importantes, padrões, tendências ou anomalias.

Diferentes tipos de formatação condicional são possíveis:

  • Single color <spreadsheet/conditional-formatting/single-color>: changes the color of the cell’s background or font, or changes the font formatting if cell values meet the defined conditions, e.g., changes a cell to red if an invoice is overdue.

  • Color scale <spreadsheet/conditional-formatting/color-scale>: uses color intensity to represent smaller and larger values on a two- or three-color scale, e.g., shows sales performance using increasingly dark tones of the same color.

  • Icon set <spreadsheet/conditional-formatting/icon-set>: uses sets of arrows, smileys, or dots in green, orange, and red to visually show how cell values in a range compare to certain defined values, e.g., a green smiley to represent sales performance above a certain amount.

  • Data bar <spreadsheet/conditional-formatting/data-bar>: inserts colored bars inside a cell to show how a value compares to the value of other cells in the defined range, e.g., the customer generating the highest sales has the longest bar, with bars of decreasing length for customers generating lower sales.

Para adicionar formatação condicional a um intervalo de células:

  1. Select the cells the formatting rule should apply to.

  2. Click Format › Conditional formatting from the menu bar.

  3. In the Conditional formatting panel that opens to the right of the spreadsheet, click + Add another rule.

    Clique em Adicionar intervalo para selecionar intervalos de células adicionais, se necessário.

  4. Select the type of Format rules, then enter the information required depending on the rule selected.

Cor única

Com o intervalo selecionado e Cor única selecionada como tipo de regra:

  1. Define the conditions to be met for the formatting to be applied by choosing the desired value from the Format cells if … dropdown.

  2. Define the Formatting style to be applied by selecting the appropriate font formatting, font color, and/or background color.

  3. Click Save.

Escala de cor

Com o intervalo selecionado e Escala de cores selecionada como tipo de regra:

  1. Define what is used as the Minpoint, i.e., the lowest value, and the MaxPoint, i.e., the highest value, by selecting the appropriate category from the dropdown.

  2. Optionally, to create a three-color scale, add a MidPoint, i.e., the middle value.

  3. Define the color range by choosing a color for the lowest value, i.e., the Minpoint, and the highest value, i.e., the MaxPoint. For a three-color scale, also choose a color for the MidPoint.

  4. Click Save.

Adicionar um Ponto médio, com uma cor correspondente, permite destacar o desempenho em relação a um alvo ou valor neutro definido, por exemplo, abaixo ou acima de um % de alvo, ou para distinguir entre valores positivos ou negativos.

Conjunto de ícones

Com o intervalo selecionado e Conjunto de ícones selecionado como tipo de regra:

  1. Click on the set of Icons to use.

  2. For the first and second icons:

    • enter the value that represents the lower threshold for the icon

    • indicate whether the cell value must be > (greater than) or (greater than or equal to) the threshold value

    • define whether the threshold value is a Number, Percentage, Percentile or Formula

O terceiro ícone é adicionado a todas as células cujos valores estão abaixo do limite do segundo ícone.

Clique em Inverter ícones para inverter a ordem dos ícones.

  1. Click Save.

Barra de dados

Com Barra de dados selecionada como tipo de regra:

  1. Click below Apply to range, then, in the spreadsheet, select the range of cells where the data bars should appear. Click Confirm.

  2. Click on the Color dot to select the color of the data bars.

  3. Click below Range of values, then, in the spreadsheet, select the range of cells containing the values the rule should be based on. Click Confirm.

  4. Click Save.