bottom
Great ExcelTips!
         
Your e-mail address is safe!
Close Note

Tips.Net > ExcelTips Home > Graphics > Using Graphics to Represent Data Series

Using Graphics to Represent Data Series

Summary: You can spice up your bar chart by using a graphic, of your choosing, to construct the bars. This tip shows how easy it is to pick and use your graphic. (This tip works with Microsoft Excel 97, Excel 2000, Excel 2002, Excel 2003, and Excel 2007.)

Excel is great at creating all sorts of charts from your data. You can even customize the charts to your heart's content. One of the customizations you can make is to replace the regular bars (in a bar chart) with your own graphics. For instance, you might have a small graphic of a house that you want to use for the bars. This could be great if you wanted to used "stacked" houses to represent, for instance, housing starts in an area.

To use your own graphics in place of Excel's built-in bars, follow these steps if you are using a version of Excel prior to Excel 2007:

  1. Create your bar chart as usual.
  2. Right click on one of the data series bars in the chart. Excel displays a Context menu.
  3. Choose Format Data Series from the Context menu. Excel displays the Format Data Series dialog box.
  4. Make sure the Patterns tab is selected. (Click here to see a related figure.)
  5. Click on Fill Effects. Excel displays the Fill Effects dialog box.
  6. Make sure the Picture tab is selected. (Click here to see a related figure.)
  7. Click on Select Picture. Excel displays the Select Picture dialog box, which is very similar to a standard Open dialog box.
  8. Use the controls in the dialog box to locate and select the picture you want to use.
  9. Click on Insert. Excel closes the Select Picture dialog box and redisplays the Fill Effects dialog box.
  10. In the Format section of the Picture tab, choose how you want the graphic to be applied to the bar. (I like to choose Stack And Scale To and then specify how to many units each picture represents.)
  11. Click on OK in each open dialog box to close them.

If you are using Excel 2007, then the steps are different:

  1. Create your bar chart as usual.
  2. Right click on one of the data series bars in the chart. Excel displays a Context menu.
  3. Choose Format Data Series from the Context menu. Excel displays the Format Data Series dialog box.
  4. Make sure the Fill option is selected at the left of the dialog box. (Click here to see a related figure.)
  5. Click Picture or Texture Fill. The options in the dialog box are expanded to reflect your choice.
  6. Under Insert From, click File. Excel displays the Insert Picture dialog box, which is very similar to a standard Open dialog box.
  7. Use the controls in the dialog box to locate and select the picture you want to use.
  8. Click on Insert. Excel closes the Insert Picture dialog box and redisplays the Format Data Series dialog box.
  9. Choose how you want the graphic to be applied to the bar. (I like to choose Stack And Scale With and then specify how to many units each picture represents.)
  10. Click on OK in each open dialog box to close them.

Tip #3199 applies to Microsoft Excel versions: 97 | 2000 | 2002 | 2003 | 2007


More Power! For some people, the prospect of creating macros can be scary. Those who conquer their fears, however, find they become much more confident and productive once they learn how to make Excel do exactly what they want. ExcelTips: The Macros is an invaluable source for learning Excel macros. You are introduced to the topic in bite-sized chunks, pulled from past issues of ExcelTips. Learn at your own pace, exactly the way you want.
 
Check out ExcelTips: The Macros today!

Helpful Links

Ask an Excel Question
Make a Comment

Tips.Net Home

ExcelTips FAQ
ExcelTips Premium

Learn Access Now

Bugs and Pests Tips
ExcelTips
Family Tips
Health Tips
Home Tips
Organizing Tips
WordTips

Advertise on the
ExcelTips Site

 

Great Info!

Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your e-mail address and click "Subscribe."
     
(Your e-mail address will never be shared with anyone, ever.)