Excel Dashboards & Reports For Dummies
Book image
Explore Book Buy On Amazon

Bars and Icon Sets give you a snazzy way to add visualizations to your dashboards; you don't have a lot of say in where they appear within the cell, as you can see in this figure:

Showing Data Bars inside the same cell as values can make it difficult to analyze the data.
Showing Data Bars inside the same cell as values can make it difficult to analyze the data.

By default, the Data Bars are placed directly inside each cell, which in this case almost obfuscates the data. From a dashboarding perspective, this is less than ideal, for two reasons:

  • The numbers can get lost in the colors of the Data Bars, making them difficult to read — especially when printed in black-and-white.

  • It's difficult to see the ends of each bar.

The solution to this problem is to show the Data Bars outside the cell that contains the value. Here's how:

  1. To the right of each cell, enter a formula that references the cell containing the data value.

    For example, if the data is in B2, go to cell C2 and enter =B2.

  2. Apply the Data Bar conditional formatting to the formulas you just created.

  3. Select the formatted range of cells and select Manage Rules under the Conditional Formatting button on the Home tab of the Ribbon.

  4. In the dialog box that opens, click the Edit Rule button.

  5. Select the Show Bar Only option, as demonstrated here.

    Edit the formatting rule to show only the Data Bars, not the data.
    Edit the formatting rule to show only the Data Bars, not the data.
  6. Click OK to apply the change.

The reward for your efforts is a cleaner view that's much better suited for reporting in a dashboard environment. This figure illustrates the improvement gained with this technique.

Data Bars, cleanly placed next to the data values.
Data Bars, cleanly placed next to the data values.

Using the same technique, you can separate Icon Sets from the data — allowing you to position the icons where they best suit your dashboard.

About This Article

This article is from the book:

About the book author:

Michael Alexander is a senior consultant at Slalom Consulting with more than 15 years’ experience in data management and reporting. He is the author of more than a dozen books on business analysis using Microsoft Excel, and has been named Microsoft Excel MVP for his contributions to the Excel community.

This article can be found in the category: