# Rules (If conditions)

You can apply conditional formatting using font color, style, icons, or background based on one or more IF conditions.

Refer to the [Create Rule](https://docs.inforiver.com/working-with-inforiver/5.-conditional-formatting/create-rule-writeback-matrix) section to get started. Once the rule is created and you can see the Conditional Formatting side panel, follow the below steps.

**STEP 1:** Choose 'Rules (If conditions)' in the **Format by** dropdown. You can see two sections - Style and Conditions.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FjHUNxU8kBde0VqmwRLJ3%2F5.2.35%20if%20conditions.png?alt=media&#x26;token=7122c974-4dfd-4445-a305-4f874bcb1e63" alt=""><figcaption><p>Choosing Rules (If conditions)</p></figcaption></figure>

**STEP 2:** Using the **Style** section, you can format text based on color/style, apply a background color, or select icons.&#x20;

**STEP 3:** In the 'Conditions' section, you can define conditions using options such as Number, Data selection, Values, Formula, and User Selection.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FfJKVdDlEfpkLltDuCsts%2FFormatByRules.png?alt=media&#x26;token=dd3a852f-ca2c-4d90-83e7-fcb22b45602f" alt=""><figcaption><p>Format by rules</p></figcaption></figure>

**STEP 4:** When you have inline charts in your reports, conditional formatting rules can be applied to the chart labels or the chart itself. Select the desired option(s) from the **Impact on** lis&#x74;**.** Notice how the bars for subcategories with sales > 20k are highlighted in blue.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2Fh8B37GEhQIxGqP9lB21R%2Fimage.png?alt=media&#x26;token=9aab96f9-a21a-4294-b775-fd552c0c7cff" alt=""><figcaption><p>Impact on</p></figcaption></figure>

Let's look at examples for each of these options.

## Style

* **Font style: bold, italic, underline**

Set the font style based on conditional formatting rules. Notice how we've applied Bold, Italics, and Underlined the values that satisfy the condition. Click on the <img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FlH6lYRtPyIB7uyBM8aPW%2Fimage.png?alt=media&#x26;token=6b91544c-65e9-4f94-a0d4-ad8b2ed4802a" alt="" data-size="line">icon to apply a color for the underline.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FcSug1y4yoFy0lJpX1sFl%2Fimage.png?alt=media&#x26;token=e438ab01-82e9-4874-a952-8820684c23f6" alt=""><figcaption><p>Font style</p></figcaption></figure>

* **Cell background**

Highlight the cells that match a conditional formatting rule by applying a background color.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FdEbwbXkFyhvUvAg3EPdf%2Fimage.png?alt=media&#x26;token=e3167979-f523-4e8a-aac9-f1e1da449360" alt=""><figcaption><p>Cell background</p></figcaption></figure>

* **Font color**

Apply a custom font color when a conditional formatting rule is met.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FvGde50kefkPiWgKOIK8d%2Fimage.png?alt=media&#x26;token=e565dd85-4023-4fe4-8617-a62cc50c59ea" alt=""><figcaption><p>Font color</p></figcaption></figure>

* **Cell borders**

Highlight cells that satisfy the conditional formatting rule by setting a custom border. You can choose the border color by clicking the<img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FRhO0i5bLeBGCoQACwlzQ%2Fimage.png?alt=media&#x26;token=a7997702-f702-442b-8912-755756f05167" alt="" data-size="line"> icon.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FUINv9GK5f5aVqRhyy760%2Fimage.png?alt=media&#x26;token=8722416e-c183-476f-8a5f-48420a9a028c" alt=""><figcaption><p>Applying borders</p></figcaption></figure>

* **Adding icons or text**

Display icons to apply conditional formatting on your data. You can also use custom icons by clicking the Upload Icon link.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FJHGDlFQZSKvfJJS7B0RU%2Fimage.png?alt=media&#x26;token=2d399bbd-d618-4ec2-8d67-5004e2cc5ded" alt=""><figcaption><p>Applying icons</p></figcaption></figure>

You can position the text/icons with respect to the cell values. You can also choose to display only the icons or text and hide the cell values.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FiS1g32vxypBW2cKPG5rN%2FUntitled%20Project.gif?alt=media&#x26;token=e51d8396-c46c-4c21-b26d-54852e1ca5fc" alt=""><figcaption><p>Using icons and text</p></figcaption></figure>

When you use icons, you have an additional option to align your icons in the grid. By default, the icons are left aligned.

<div><figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FP2QcoK4cj5cGUkX5chWh%2Fimage.png?alt=media&#x26;token=ffa7cbd4-0e82-408f-ad86-4da0d9cca6c8" alt=""><figcaption><p>Aligning icons</p></figcaption></figure> <figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FhQDu5NaAK1CFtR45YBvz%2Fconditional-formatting-icon-alignment-left-2048x1159.png?alt=media&#x26;token=9c0908e0-1d14-447f-9721-282314a6ce61" alt=""><figcaption><p>Left-align option disabled</p></figcaption></figure></div>

* **Hiding values**

Business reporting may require withholding certain information to protect strategic interests. You can use conditional formatting rules to mask values based on specific criteria.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FcJDzyXQaeXMhcK3OMvMg%2Fimage.png?alt=media&#x26;token=ac1ccfe4-b4de-44e1-ab25-a2ce8a77cb1d" alt=""><figcaption><p>Hiding values</p></figcaption></figure>

* **Hatched fill pattern**

Highlight your data with hatched cell backgrounds – this feature allows you to spotlight your data with hatched styling.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FaaKfz7xFqh53nDxh3QF0%2Fimage.png?alt=media&#x26;token=149b063c-f4d4-40e1-9263-6edc6236a3b2" alt=""><figcaption><p>Hatched CF</p></figcaption></figure>

## Conditions

### 1. Number

In this example, we are highlighting the subcategories where 2021 Actuals are greater than 10 million. Note that we have selected 'Bold' and selected 'Green' as the font color. The numbers field supports scaled entries such as 10m. Click 'Apply' once the changes are done.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FN4SX2ysZd3J5YCrjejpH%2F5.2.4(2)%20Number%20based.png?alt=media&#x26;token=964c659a-79bc-459c-8f50-434da6d029c1" alt=""><figcaption><p>Conditional formatting based on a numeric input</p></figcaption></figure>

### 2. Data selection

You can also use a cell value in the condition.&#x20;

2.1. Select 'Data selection', click on the 'Set value' field and select a cell in the report.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FXIaqJx285cq5NHoyAep2%2F5.2.8%20Data%20selection.png?alt=media&#x26;token=aa870083-8c26-48fa-b77d-0aa5904c9778" alt=""><figcaption><p>Applying background color to values and totals</p></figcaption></figure>

Note:&#x20;

* In this example, we have used 'Values and Totals' as the 'Row hierarchy levels'. You can see a new field where you can choose whether conditional formatting needs to be applied to the row grand total or not.&#x20;
* We are also using a background color for the formatting.

2.2. Click on the 'select value from' field and click on a cell in the report. The value gets populated automatically. Click 'Apply'.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FCfRRXxEcEuryXlsT3CSQ%2F5.2.10%20Data%20selection.png?alt=media&#x26;token=7539439a-5649-4ecc-9a23-b3bc97568196" alt=""><figcaption><p>Selecting data from the report </p></figcaption></figure>

2.3. The formatting is applied to all the hierarchy levels where 2021 Actuals are greater than the selected value.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FejFaEFLCy7Xnf33ZgFc0%2F5.2.11%20Data%20selection.png?alt=media&#x26;token=9f70da71-6ff3-4a0a-97b9-49bc340eb547" alt=""><figcaption><p>Conditional formatting based on data selection</p></figcaption></figure>

### 3. Value

You can apply conditional formatting based on another measure in the visual. Let's highlight 2021 Actuals when it is greater than the 2021 Plan.

{% hint style="info" %}
Measures that were added from the data source, auto-calculated variances, columns/measures created using calculations, data input and simulations can all be used in the IF condition.
{% endhint %}

3.1. Click on the highlighted dropdown and select 2021 Plan. Click 'Apply'.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FgZIf6sG04nlWHf3yGzJq%2F5.2.12%20Value.png?alt=media&#x26;token=64c10980-f834-47a1-8f8e-7e45bfab1c7c" alt=""><figcaption><p>Conditional formatting based on another measure </p></figcaption></figure>

3.2. Note that conditional formatting is applied only to the totals - Categories, Regions, and Subregions since we have chosen 'Row hierarchy levels' as 'Totals' and included 'Row grand total'.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2F8TlgCzwaN7dkYqx7yHRe%2F5.2.13%20Value.png?alt=media&#x26;token=b4b818f6-bd56-4b69-a9de-f028f0441682" alt=""><figcaption><p>Conditional formatting when 2021 Actuals > 2021 Plan</p></figcaption></figure>

### 4. Formula

You can create simple formulas using either numeric values or measures. Let's highlight the records where 2021 Actuals are greater than the 2021 Plan by at least 5m. Configure as shown in the below image and click 'Apply'.  &#x20;

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2Fmet7TkkoerQEJFny3vBh%2F5.2.14%20Formula.png?alt=media&#x26;token=fbfa9bcc-0e32-4d13-9c08-90d28702f089" alt=""><figcaption><p>Conditional formatting based on formula</p></figcaption></figure>

Tea & coffee in the East subregion is the only record that matches the given condition.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FtYFaLq70FmBw4xT9fAu4%2F5.2.15%20Formula.png?alt=media&#x26;token=8650005b-7d41-4eea-a6aa-452056b519e6" alt=""><figcaption><p>Conditional formatting based on formula</p></figcaption></figure>

The '**Add condition**' option lets you create nested AND/OR conditions.&#x20;

Let's consider another example where the conditions are Q4 2021 Actuals greater than 10m, the Category is Beverages and the Sub-regions are Pacific and East.

**STEP 1:** Configure the settings as shown below for the first condition. Click on 'Add condition'.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2Fu4mjRZSG622dDnzYNZcM%2F5.2.16%20Formula.png?alt=media&#x26;token=b79d6f8d-300a-4524-b2ec-0805fb3deb47" alt=""><figcaption><p>Nested conditions</p></figcaption></figure>

**STEP 2:** You can see another condition with default selections and an option to select AND/OR. Let's select 'AND' and 'Category' from the highlighted dropdown.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2Fit2HH9d8ACuzbKm74wsY%2F5.2.23%20Formula.png?alt=media&#x26;token=738d6bc4-9429-4067-b2e2-b8592deb9a53" alt=""><figcaption><p>Adding an AND condition</p></figcaption></figure>

**STEP 3:** You can see several options as shown in the below image. Let's go with the default option.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2Fhq4m7NwdAS6WYL2qBwGt%2F5.2.24%20Formula.png?alt=media&#x26;token=f3d7ef0b-10f7-4ab0-b8e3-8b3f2b6b09b7" alt=""><figcaption><p>Options for category</p></figcaption></figure>

**STEP 4:** In the 'Choose members' dropdown, select 'Beverages'.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FWdgID0ApmmfzsQheC52A%2F5.2.25%20Formula.png?alt=media&#x26;token=4b63e66f-48e9-499e-b89c-2c4a3918ef33" alt=""><figcaption><p>Selecting a category</p></figcaption></figure>

**STEP 5:** Let's now add the third condition. Click on 'Add condition'. In the highlighted dropdown (2021 Plan), select 'Sub Region'.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FIWuPT7hD8vshPlLYeyNk%2F5.2.26%20Formula.png?alt=media&#x26;token=baf0c2fe-d426-4dbe-b4ff-8980498aca51" alt=""><figcaption><p>Adding a third condition</p></figcaption></figure>

**STEP 6:** Select Pacific and East in the dropdown as shown below. Click 'Apply'.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FNvwW0TiQoDzQRraHm7z2%2F5.2.27%20Formula.png?alt=media&#x26;token=78a2757d-7814-4805-aadb-22451ca9fba1" alt=""><figcaption><p>Selecting multiple regions</p></figcaption></figure>

**STEP 7:** You can see that the rows for Juices and Soda for East and Pacific are highlighted based on the three conditions.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FxC4VSaSsZW4mh02xYTce%2F5.2.28%20Formula.png?alt=media&#x26;token=ee75d06a-c552-45af-8ea1-51bbdba16615" alt=""><figcaption><p>Conditional formatting based on nested conditions</p></figcaption></figure>

### 5. User selection

You can apply conditional formatting based on a selection during runtime ie. in the reading view. Let's consider a case where we want conditional formatting to be applied to 2021 Actuals based on a Variance value selected during runtime.

**STEP 1:** Configure as shown in the below image. Note that 2021 Actuals is set in the 'Apply to' field and 'Variance' in the IF condition. Click on the dropdown and select 'Variance'.&#x20;

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FZoS6FVbiORDu0yHT6tMj%2F5.2.30%20User%20selection.png?alt=media&#x26;token=3178f918-aaf1-40ef-adea-77df6ee1cb95" alt=""><figcaption><p>Conditional formatting based on user selection</p></figcaption></figure>

**STEP 2:** Let's also add an icon. Click on the 'Icon' checkbox. There are several customization options.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2F842E9xlZONXNpUSAaFeO%2F5.2.31%20User%20selection.png?alt=media&#x26;token=68847e98-3e26-41a1-9e6f-94da4412f82b" alt=""><figcaption><p>Adding an icon</p></figcaption></figure>

**STEP 3:** Click on the icon dropdown and choose the flag icon.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2F7LMUpu0bjqnStC2YtRoM%2F5.2.32%20User%20selection.png?alt=media&#x26;token=243fa142-910d-4fb1-ac42-e063108c9f5f" alt=""><figcaption><p>Customizing the icon</p></figcaption></figure>

**STEP 4:** Change the flag color to green and the font color to black. Click 'Apply'.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FEcqcqPRAcvnWT6ZwlQzP%2F5.2.33%20User%20selection.png?alt=media&#x26;token=0c9b99f9-5d6a-437e-a0c0-8d2dda906ad2" alt=""><figcaption><p>Customizing the icon color</p></figcaption></figure>

**STEP 5:** Click on a value in any of the variance columns. You can see flag icons in the 2021 Actuals column where the variance is greater than the selected variance.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FVHqcpdkAcL9l7Raqde4j%2F5.2.34%20User%20selection.png?alt=media&#x26;token=c353212b-6b38-417a-a4d1-a6687d6cedd9" alt=""><figcaption><p>Conditional formatting based on user selection</p></figcaption></figure>

### 6. Dates

With Inforiver, you can compare date dimensions in rows and columns and automatically format cells based on the comparison. Let's add date dimensions in the row and column parameters. To compare two date dimensions, select the **Compare Date** option. In the example below, we used conditional formatting to highlight the cells where the order date exceeds the ship date.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FCKkKLD3ql68aI6NlZaoy%2Fimage.png?alt=media&#x26;token=4fd83ed8-7b9a-4c84-8730-b281f0ecac23" alt=""><figcaption><p>Compare date dimensions</p></figcaption></figure>

In the example above, we compared each ship date against each order date and highlighted the cells with the order date greater than the ship date. Instead of comparing each cell, you can also compare a date dimension with the minimum or maximum value of another date dimension. To demonstrate this, let's highlight the cells with the order date greater than the minimum ship date.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FIcnOBY6NRw461wUsVixb%2Fimage.png?alt=media&#x26;token=91118dc9-35c7-4bc0-b408-38d3bf03027a" alt=""><figcaption><p>Highlight cells with order date greater than minimum of ship date</p></figcaption></figure>

You can compare date dimensions against static dates using the Selected Date option and specify the date to be compared against.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2Fr5MSRoTVheFfnvktHQfp%2Fimage.png?alt=media&#x26;token=9e03825b-b0bf-40e0-ab63-08f0fa5f6d85" alt=""><figcaption><p>Compare against static dates</p></figcaption></figure>

### 7. Conditional formatting for data input fields

Highlight your data input fields like number, dropdown, and person columns with conditional formatting. When users enter values, you can specify rules to automatically apply formatting when the rules are satisfied e.g. spotlight the cells when the budget entered exceeds a certain limit.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2F6e5WXhximi71A3Iqntjt%2Fimage.png?alt=media&#x26;token=3dbb4ee0-4315-48aa-b10b-3e7c47802ff1" alt=""><figcaption><p>Conditional formatting for data input fields</p></figcaption></figure>

### 8. Rules for non-numeric measures

You can apply conditional formatting to non-numeric measures using conditions like **is blank/is not blank/contains/does not contain,** etc. In this example, we've set a hatched background for the cells with blank customer names.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FdvxwKLPYE6PcmLH0F7kR%2Fimage.png?alt=media&#x26;token=690c03a8-8ecb-48d5-9cf1-3ce77406f141" alt=""><figcaption></figcaption></figure>

In the next section, we'll be covering [Color scale](https://docs.inforiver.com/working-with-inforiver/5.-conditional-formatting/create-rule-writeback-matrix/color-scale-and-data-bars).
