Difference between revisions of "Conditional formatting"
(→New in Version 9.1) |
|||
Line 13: | Line 13: | ||
To support new conditional format types such as colour scales and icon sets, you can now specify the entire data area on a slice highlight. This means that the scale will cover all the numbers in the grid. | To support new conditional format types such as colour scales and icon sets, you can now specify the entire data area on a slice highlight. This means that the scale will cover all the numbers in the grid. | ||
− | To do this, in the format sheet set both the dimension and member of a slice to {{code|*}}. This also works for tables. | + | To do this, in the format sheet set both the dimension and member of a slice to {{code|*}}. |
+ | |||
+ | This also works for tables. | ||
==XLCubed Web Edition Restrictions (Version 9.1 and later)== | ==XLCubed Web Edition Restrictions (Version 9.1 and later)== |
Revision as of 14:36, 16 October 2017
Contents
Overview
Excel conditional formatting allows the format of a cell to change based on its value or a formula.
Conditional Formatting in Grids
Conditional formatting can be setup on specific members, by using the "Format this member" right-click option and then adding the conditional format to the data cell for that slice on the format sheet.
Conditional formatting can be applied to the whole grid by formatting the "Data Cell" value on the format sheet.
New in Version 9.1
To support new conditional format types such as colour scales and icon sets, you can now specify the entire data area on a slice highlight. This means that the scale will cover all the numbers in the grid.
To do this, in the format sheet set both the dimension and member of a slice to *.
This also works for tables.
XLCubed Web Edition Restrictions (Version 9.1 and later)
The restrictions listed below for earlier versions have been lifted. Mulitple conditions, overlapping conditions are supported. Icon sets, colour gradients and data bars are also supported.
XLCubed Web Edition Restrictions (Version 9.0 and earlier)
XLCubedWeb supports 3 conditional formats per cell and only supports the conditional formatting available in Excel 2003, that is:
- Format based on cell value
- Format based on Formula (the formula must keep all references on the same sheet as the cell being formatted)
- Formula based formats may not reference cells on other worksheets
The Colour support is limited to the workbook set of colours.
However, you may still find that a colour you have picked still does not display as expected when the workbook is published. If this happens you then need to take the following steps:
- Right-click on a cell with the required colour
- Click More colours – Custom and note the settings for Red, Green , Blue
- Go to File > Options > Save
- Select Choose what colours will be seen in previous versions of Excel (at bottom of window)
- Select a colour closest to the one you want and Modify:
- Click Custom and enter the values for Red, Green, Blue you noted earlier
- Click OK – you should find that when the workbook is published the colour is now OK
In cells, though not automatically in the Grid, XLCubedWeb also supports "Solid data bars" but not the other options such as Icon Sets or gradient fills. In order to use this format in the Grid, you should deselect the XLCubed > Properties > Appearance > Apply formatting Grid property, then apply it to the Grid area.
Overlapping conditional formats can cause an issue when a report is published. You may need to rationalize these by going to "Manage Conditional Formatting" and select "Show Formatting rules for:" This Worksheet