Условное форматирование

Use Conditional Formatting to define range-based conditions that determine which cell style will be applied to each cell in a given range based on its contents.

The cell style corresponding to the first condition that evaluates to true is applied. Cell styles applied through Conditional Formatting override cell styles applied manually using the Formatting Bar or the Styles sidebar.

You can enter several conditions that query the cell values or results of formulas. The conditions are evaluated from first to the last. If Condition 1 is true based on the current cell contents, the corresponding cell style is applied. Otherwise, Condition 2 is evaluated to determine if its corresponding style will be applied. If none of the conditions match cell contents, then no changes are made to the cell format.

Условные форматы не перезаписывают стили ячеек и прямое форматирование, применяемое вручную. Они сохраняются как свойства ячейки и применяются, когда ячейка не соответствует никаким условиям или при удалении всех условных форматов.

warning

Для применения условного форматирования необходимо включить параметр «Вычислять автоматически». Выберите Данные - Содержимое ячейки - Вычислять автоматически (при включённом параметре рядом с командой «Вычислять автоматически» отображается флажок).


Диапазон ячеек

Доступ к этой команде

From the menu bar:

Choose Format - Conditional - Condition.

From the tabbed interface:

Choose Home - Conditional - Condition.

From toolbars:

Icon Conditional Format - Condition

Conditional Format


Диапазон

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.

Condition list

List of the conditions defined for the cell range in order of evaluation. You can define as many conditions as you want.

Up

Increase priority of the selected condition.

Вниз

Decrease priority of the selected condition.

Добавить

Adds the condition to the condition list.

Удалить

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.

Условие - Значение ячейки

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.

Условие - Формула

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

Условие - Дата

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.

Условие - Все ячейки

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.

Цветовая шкала

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 option fills the cell with solid or gradient color corresponding to the numeric value in the cell.

Набор значков

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 all the conditional formatting defined in the spreadsheet.

Пожалуйста, поддержите нас!