REPORTER 22.1

Adding a Condition

11.1. Adding a condition

To add a condition for an object, press the Condition button. This will start the conditional formatting window.

Conditions can be added and removed by using the Add and Remove buttons. If you have more than one condition, they are tested in the order shown. If the first condition passes the test then that is used, otherwise the second is tested etc. If none of the conditions pass the default font properties for the object are chosen. As the order that they are evaluated is important you can use the Move up and Move down buttons to change the order.

Once a condition has been added it is given a default name and the condition type is initially set to 'is equal to'

Choose the condition type that you want (see the next section for details) and give the necessary values. For example in the image below the condition will be true if the value is a number between 10.0 and 100.0.

Once you have the correct condition type, the Format... button can be used to select the font properties that you want to assign for this condition. In the window (shown below) you can set the font, the style, justification, font size and colour properties.

When you change the font properties, the preview updates to show what the text will look like for this condition. Additionally you can rename the condition to a more meaningful name if required. e.g. in the image below we have made a condition called Danger which will format the text in bold red if the value is a number between 10 and 100.

This process can be repeated as necessary to add as many conditions as you wish.