Applies ToAccess for Microsoft 365 Access 2024 Access 2021 Access 2019 Access 2016

Data on forms or reports in Access desktop databases can sometimes appear easier to read especially when you highlight the really important areas. That’s where conditional formatting can help. In an Access desktop database, you can set rules to controls so that the values are automatically highlighted.

Note:  Conditional formatting is not available in Access web databases or Access web apps.

Watch this video to learn how to Highlight data on forms by using conditional formatting.

Watch this video to learn how to Use conditional formatting on reports.

  1. Open the form or report in Layout view, and select the control where you want to apply the conditional formatting.

    For information on creating forms see, creating an Access form.

    Tip:  To apply the same formatting rules to multiple controls, hold down the CTRL key and click each one.

  2. On the Format tab, click Conditional Formatting.

    Tip:  To format a single control, click the arrow in the Show formatting rules for field

  3. In the Conditional Formatting Rules Manager dialog box, click New Rule and select a rule type.

  4. Select an option from Edit the rule description.

  5. Select the formatting that you want to apply and click OK.

  6. To add a new rule to the same field(s), click New Rule and repeat this procedure from step 4.

    In the following example, the top portion shows the Conditional Formatting Rules Manager set to show any item with amount due exceeding $1000 in red text. The portion below shows how the conditional formatting appears.

    Conditional format rule along with a view of the form in layout view with the format applied.

    Note:  When Access finds a rule that matches a value, it applies the formatting and stops looking for additional rules.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.