Data Bars in Excel

Data bars in excel are a type of conditional formatting options available in excel which are used to highlight the cells or data range in a worksheet based on some conditions, to make it more clearly visible it is advised to make the bars in the column wider, data bars are available in the conditional formatting tab in excel in the home tab.

What are Data Bars in Excel?

Data bars in excel belong to the conditional formatting functions that allow us to insert a bar chart, but the main thing that makes data bars different from bar charts is that the data bars are inserted inside the cells instead of a different location. The bar charts are inserted in a new location, and they are an object to the excel, but data bars reside in the cell and are not object to the excel.

Data bars insert a bar chart inside excel, and this helps to visualize the values of the cells. The larger value will have a large bar line, and the lesser value will have a small bar line. This way, the data bar helps a user to visualize the numbers and help them to save time. Data bars also help a user to save the worksheet area as the data bars reside in the cell only.

How to Add Data Bars in Excel?

Below are the examples to add data bars in Excel.

You can download this Data Bars Excel Template here – Data Bars Excel Template

Example #1 – Data Bars along With the Values

Following are the steps of adding data bars along with values –

  1. Select the range where we want to insert the data bars.

    Data bar Example 1

  2. Go to the home tab and select conditional formatting.

    Data bar Example 1-1

  3. Select the Data bars option from the conditional formatting options.

    Data bar Example 1-2

  4. From the available default data bars charts, choose anyone as per the required color theme.

    Data bar Example 1-3

  5. After the data bars are inserted, we will get the result as below.

    Data bar Example 1-4

Example #2 – Data Bars Without the Values

In this method, we will hide the values that are in the cell.

First, we will insert the Data bars as per the above steps and then follow the below steps.

Step 1: Select the data bar chart.

Data bar Example 2

Step 2: Go to the conditional formatting and choose “Manage Rules.”

Data bar Example 2-1

Step 3: From the “Manages rules tab,” choose to “Edit Rules.”

Data bar Example 2-2

Step 4: Now we need to select the option of “Show Bar only” so that the value that is in the cells are not visible.

Data bar Example 2-3

Step 5: After the above steps, we will get the below result.

Data bar Example 2-4

Example #3 – Negative and Positive Data Bars

In this case, we just need some negative values and some positive values.

To create a data bar chart with a negative and positive value, simply select the range of cells and follow steps of method 1.

Data bar Example 3

After the above steps, we will get the below result.

Data bar Example 3-1

Example #4 – Data Bars Above a Certain Value

In this case, we need to add a condition that only those cells will be formatted that met the prescribed condition.

Data bar Example 4

Step 1: From the “Manage Rule” option of conditional formatting, choose to “Edit the rule.”

Data bar Example 4-1
Data bar Example 4-2

Step 2: From the edit rule window, we need to make some changes to the condition as per our requirement.

Data bar Example 4-3
Data bar Example 4-4

Step 3: Now, only those cells will be formatted that have a value greater than 30.

Data bar Example 4-5

Explanation of Data Bars in Excel

  • Data bars allow us to save time and create a visualization effect in just a couple of minutes only. Data bars are the same as we have a bar chart, but the difference is that the bar charts are objects to excel, but data bars are only the interior of cells, and they reside in the cell.
  • Data bars work when we have quantitative data, and it is not possible to use the data bars on qualitative data. When we insert data bars in excel, then the complete range of cells on which we have inserted the data bar is treated as one set, and the excel allocates the length of the bar based on the complete data.
  • The data that we use will be first analyzed by excel, and then the min and max values will be identified by excel. Based on the min and max values, bar length is decided by excel.
  • In the data bars, we have many other features that can also be used. We can choose to format cells that have value above some certain limit; we can choose to format that cells only that has a value that is between given conditions.
  • So in this way, we can also choose to give some conditions to the data bars and make them more dynamic. Since we can add conditions to the data bars, that is why this function belongs to the conditional formatting class.
  • Like we have the positive and negative axis in a bar chart, we can also choose to show the negative and positive value in the same data chart. The only difference will be that there will only be one axis instead of two axes, and this makes the data bars more useful to use in cases where we have negative values also.

Things to Remember About Data Bars in Excel

  • Data bars only work with quantitative data.
  • Data bars are not an object to excel.
  • Data bars can also be used for negative numbers also.
  • There is only one axis in data bars.
  • Data bars work best in a case where there is less variation in the values of the data.

Recommended Articles

This has been a guide to Data Bars in Excel. Here we discuss how to add Data Bars in Excel using Conditional Formatting along with practical examples and a downloadable excel template. You may learn more about excel from the following articles –

  • 35+ Courses
  • 120+ Hours
  • Full Lifetime Access
  • Certificate of Completion
LEARN MORE >>

Reader Interactions

Leave a Reply

Your email address will not be published. Required fields are marked *