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.
Choose Format - Conditional.
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.
Conditional formats do no 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.
To apply conditional formatting, AutoCalculate must be enabled. Choose Data - Calculate - AutoCalculate (you see a check mark next to the command when AutoCalculate is enabled).
List of the conditions defined for the cell range in order of evaluation. You can define as many conditions as you want.
Increase priority of the selected condition.
Decrease priority of the selected condition.
Specify if conditional formatting is dependent on one of the entry listed on the drop down box:
This is the same dialogue box as if you select All cells in the first sub menu entry Condition. Apply a colour scale to a range consist of displaying a bicolour or tricolour gradient on this range depending on the value of each cell. A typical example might be an array of temperatures, lower blue coloured, warmer red with a gradient nuances to the intermediate values.
You must choose the two "extreme" colours indicate the method of calculation. The calculation of the colour applied will be made in relation to: Min - Max - Percentile - Value - Percent - Formula.
The choices Min and Max are sufficient to themselves as found in the range. Other options need to be specified by a value (Percentile, Value, Percentage) or a cell reference or formula (Formula).
For a detailed explanation and examples, please visit How to apply a Colour Scale Conditional Formatting page in TDF Wiki.
Data bar option will fill the cell with solid or gradient colour corresponding to the numeric value in the cell. Default is blue for positive and red for negative.
The calculation of the area of fill is based on Min - Max - Percentile - Value - Percent - Formula.
The choices Min and Max are sufficient to themselves as found in the range. Other options need to be specified by a value (Percentile, Value, Percentage) or a cell reference or formula (Formula).
More Options... opens a dialogue box to:
It is desired to plot the position of a value relative to the thresholds. The set of icons will help to indicate the thresholds and choose the type of icons. Available icon sets are:
Conditions to display each icon can be specified relative to a value (Value), a percentage of the number of values in the range (Percentage) as a percentage of range values (Percentile) or formula (Formula).
For a detailed explanation and examples, please visit How to use Icon Set Conditional Formatting page in TDF Wiki.
This option will apply a defined style depending on a date that you choose in the drop down box: Today - Yesterday - Tomorrow - Last 7 days - This week - Last week.
This dialogue box allows you to see all the conditional formatting defined in the spreadsheet.
Choose Format - Conditional Formatting - Manage.
The Manage Conditional Formatting dialog box opens. Here you can add, edit or remove one or several conditional formattings.
The Conditional Formats list displays the active conditional formatting rules set in the current spreadsheet. Only the first rule for each cell range is listed, even if there are multiple rules defined for a given range.
If you have defined a conditional formatting on a cell range and you try now to define a new conditional formatting on a part of this range, a warning message will be displayed, asking if you want to edit the existing conditional formatting (on the whole range) or define a new conditional formatting overlapping it (on the selected range).