Data Bars are a popular type of conditional formatting that was introduced in Excel 2007. The basic idea of data bars is that Excel draws a bar in each cell whose length corresponds to the value of the cell relative to the other cells in the selected range. Data bars are a great way of seeing trends in your data.
In our example, we have the historical Sales and Profit amounts for a fictional bookstore. The last column has the percentage of increase in profits when compared to the previous year. We have applied Excel 2007 data bars to some of these columns. In the example below, we can see that sales rose in early 2000’s and are decrease for the past few years.
However, the data in the above example has several nuances which are hard to spot in Excel 2007. In Excel 2010, we have made several improvements to data bars which make them an even better choice for your data analysis. We shall look at data bar improvements in Excel 2010 and how these improvements help you get more information from your data.
In our example above, we can see that the sales rose from 1999 to the early 2000’s and have fallen since then for the past few years. While this is good information, Excel 2007 does not provide a good indication of how much the sales have increased or decreased during that period. The sales amount was $210,374.88 in 1997 and they rose to $271,884.86 in 2004. Thus, sales in 1997 were about 78% of the sales in 2004.
However if someone would try to compare the lengths of the data bars, they might be fooled into thinking that sales rose by about 5 times during that period or 500% (since the length of the data bar corresponding to year 2004 is about 5 times the length of data bar corresponding to year 1997).
In Excel 2010, data bars are now drawn proportionally according to their values. Using our example, the following table describes the behavior in detail:
We received a lot of feedback from users that it was hard to see the ends of your data bars since we used a gradient fill to color data bars. Gradient fill has the advantage that it makes the text values in the cells easier to see. However as in our example above, it is hard to see which cell has the highest sales value (answer: 2004).
Taking the limitations of gradient fill into account - we introduced new formatting options, such as borders and solids fills, for data bars in Excel 2010:
Note: Formatting options only affect the visual look of the data bar and does not change the behavior of data bar in any way.
Looking at the “profit increase” column, each year can be categorized into two types:
However in Excel 2007, data bars do not make any distinction between the positive and negative values making it hard to see the difference.
In Excel 2010, we have introduced negative value data bars which can help analyze trends when negative values are involved. By default, we smartly position the axis in the cell so that a small negative value will not occupy half the cell lengths when bigger positives values are also in the range. If you prefer, we let you position the axis in the center of the cell.
To Summarize, Excel 2010 allows you to see more trends with your data bars with the following new features:
We would love to hear from you about data bars and what you think about these new features in Excel 2010.
Code/Templates/Informaiton provided on this site are without any liabilities. Owner of this website in no event will be held reponsible to damages resulting by using the code/templates/applications/
Copyright © 2003 xlMacros.com - Learn Excel VBA
Microsoft Excel is a U.S. registered trademark of Microsoft Corporation
Excel Password Cracker Addin.
For $10 Today. Price back to $20 tommorow.
Never Worry About Lost Excel Passwords!!!
Remove Excel Password - the easy way has never been easier than this.