Formatting report data based on conditions
When you format data in a selected column, the format applies to all the values. Often, it is useful to change the format of data when a certain condition is true. For example, you can display sales numbers in red if the value is a negative number and in black if the value is a positive number. Conditional formatting is the formatting of data according to defined conditions.
You also can change the format of data in a column according to the values in another column. For example, in a report showing customer names and the number of days each customer’s invoice is past due, you can highlight in blue any customer name that has an invoice past-due value between 60 and 90 days. Then, you can highlight in red and bold any customer name that has an invoice past-due value greater than 90 days.
To apply conditional formatting, you create a rule defining when and how to change the appearance of data. You can apply conditional formats only to data in columns. The rule consists of the condition that must be true, and the text attributes to apply to column entries that satisfy the condition. You can define up to three conditions or rules for a single column and remove or modify conditional formatting for a column.
You can also influence the formatting of one column based on values in another column. For example, in a sales inventory report, when you apply conditional formatting to the Product column, you can define the condition based on the Quantity in Stock column, such that conditional formatting is applied to the Product column if the quantity in stock is below a specified value. After you create the condition, you define the format in which to display data that satisfies the condition. The formatting appears on the selected column and not on the column on which you based the condition.

Additional Links:

Copyright Actuate Corporation 2012