# Create rules in Conditional Formatting

Conditional formatting helps you highlight important data points in a planning sheet by applying visual cues such as colors, icons, and styles based on defined rules. This improves readability and directs attention to key performance indicators in high-density tabular reports.

### Create a conditional formatting rule

To create a rule:

1. In the Planning sheet navigate to **Format >** **Conditional formatting.**
2. Select **Create rule**.

<figure><img src="/files/qVg7u78aUczF8LaHHEhd" alt=""><figcaption></figcaption></figure>

3. Enter a **Title** for the rule.
4. Select where to apply formatting using **Apply to** (rows, columns, headers, or measures).

<figure><img src="/files/igm1SHIO7Gnj28X26FgD" alt=""><figcaption></figcaption></figure>

5. Select the formatting scope using **Row hierarchy levels**:

* Values only
* Totals only
* Values and totals

<figure><img src="/files/yhRjaRgmtCMwD84RZPTg" alt=""><figcaption></figcaption></figure>

6. Select a rule type from **Format by**:

* Rules (If conditions) - For more information about configuring rules using IF conditions, see [**Rules (IF conditions)**](/planning-sheets/how-tos/conditional-formatting/create-rules-in-conditional-formatting/format-by-rules-if-conditions-in-conditional-formatting.md)**.**
* Color scale - For more information about configuring rules using Color scale, see [Color scale](/planning-sheets/how-tos/conditional-formatting/create-rules-in-conditional-formatting/format-by-color-scale-conditional-formatting.md).
* Classification - For more information about configuring rules Classification, see [Classification](/planning-sheets/how-tos/conditional-formatting/create-rules-in-conditional-formatting/format-by-classification-conditional-formatting.md).

<figure><img src="/files/309Huf2tyhcFvapcufdM" alt=""><figcaption></figcaption></figure>

6. Select **Apply** to create the conditional formatting rule.

<figure><img src="/files/CaAwcCWAowhCqtLAxlkn" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fabricplan.com/planning-sheets/how-tos/conditional-formatting/create-rules-in-conditional-formatting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
