Excel.Tips.Net Welcome toExcel.Tips.Net

Helpful Links

Tips.Net Home
ExcelTips Home
Ask an Excel Question
Make a Comment

Tips.Net Store

ExcelTips FAQ
ExcelTips Premium

Learn Access Now
Free Printable Forms

Beauty Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Legal Tips
Money Tips
Organizing Tips
Pest Tips
Pet Tips
Wedding Tips
Word2007 Tips
WordTips

Advertise on the
ExcelTips Site

Newest Tips

Converting to Octal

Filtering Columns for Unique Values

Printing Multiple Worksheets on a Single Page

Changing the Default Font

Creating a Drawing Object

Determining a Value of a Cell

Understanding Macros

 

Numeric Value and Percentage Value in a Graph Column

Summary: Do you want to include two data labels with your chart? Exactly how you can achieve this feat isn't intuitive in Excel, but once you learn the trick you'll be able to display the labels just the way you want. (This tip works with Microsoft Excel 97, Excel 2000, Excel 2002, and Excel 2003.)

Harrie wants to create a column chart that displays two values for each column in the chart. One value to be displayed would be a percentage (such as 46%) and the other an absolute value (such as 359,000). One value would appear on the column in the chart, and the other just above the column.

There are many ways that this can be accomplished, depending on the nature of your data. This tip will examine a couple of the many ways you can proceed.

A relatively simple approach is to assume that your data is in three columns. The first column is the categories (what will appear along the X-axis), the second is the percentage that you want to plot, and the third is the absolute value to be displayed. Follow these steps:

  1. Select all three columns of data and start the Chart Wizard. (Click the Chart Wizard toolbar button.)
  2. In the first step of the wizard, choose a Column chart type, with a Clustered Column sub-type.
  3. Click Finish. You now have a simple chart displaying the percentage on the Y-axis. There are, however, two sets of Y-coordinate data that are plotted.
  4. On the chart, double-click the second series (the "exact amount" values). Excel displays the Patterns tab of the Format Data Series dialog box. (Click here to see a related figure.)
  5. Click the None option buttons in both the Border and Area portions of the dialog box.
  6. Display the Axis tab.
  7. Click the Second Axis option button.
  8. Display the Data Labels tab.
  9. Select the Value (or Show Values) check box.
  10. Click OK. You now have the absolute values displayed, yet you've hidden the graph column in which they would normally be displayed.
  11. Double-click the second Y-axis (the one on the right). Excel displays the Patterns tab of the Format Axis dialog box. (Click here to see a related figure.)
  12. Make sure that all the None option buttons on the dialog are chosen.
  13. Click OK. The secondary axis should now be gone from the graph.
  14. Double-click one of the data labels (the absolute values). Excel displays the Format Data Labels dialog box.
  15. On the Alignment tab, change the Label Position drop-down list to Center.
  16. Click OK. The data labels should now be centered within each column.
  17. Double-click the remaining data series (the percentage values). Excel displays the Patterns tab of the Format Data Series dialog box.
  18. Display the Data Labels tab.
  19. Select the Value (or Show Values) check box.
  20. Click OK. The percentage value should now appear above each column.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2411) applies to Microsoft Excel versions: 97 | 2000 | 2002 | 2003

Make Home Buying Less Stressful! Why make home buying harder than it needs to be? Put your mind at ease—discover all the questions you need to ask to make the best buying decision.
 
Check out Buying a Home Checklist today!