0% found this document useful (0 votes)
71 views34 pages

Charting Primer II

This document provides instructions on adding trend lines and moving average lines to charts in Excel. It explains that trend lines show the trend of data over time, and can be added by selecting the chart and choosing "Add Trendline" from the Chart menu. Moving averages show data averaged over a number of data points, and can be added either through the "Add Trendline" dialog or by creating a separate moving average data series. Examples are given demonstrating how to add these lines and interpret the results.

Uploaded by

sunil_vrv
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
71 views34 pages

Charting Primer II

This document provides instructions on adding trend lines and moving average lines to charts in Excel. It explains that trend lines show the trend of data over time, and can be added by selecting the chart and choosing "Add Trendline" from the Chart menu. Moving averages show data averaged over a number of data points, and can be added either through the "Add Trendline" dialog or by creating a separate moving average data series. Examples are given demonstrating how to add these lines and interpret the results.

Uploaded by

sunil_vrv
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
You are on page 1/ 34

Excel Charting Primer II

Chart Trend Lines


Add a Moving Average Line
Add Error Bars to a Data Series
A Custom Error Bar Example
Stock Chart
Add Series Lines
ExpandingChart ...dynamic
ScrollBarChart ...dynamic
StartAndNumber ...dynamic
CheckBox ...dynamic
Formatting Notes

Many of the examples in this workbook were


adapted from the text named Excel Charts, by
John Walkenbach, Wiley, 2003.
3 Ways to Chart Missing Data

Trend Lines
Return to Contents
Add a trend line to certain chart types* to get a
better idea of how data is trending over time. Excel's
trend line is a best fit line for the charted data series.
A chart with a trend line need not have a time or data
category axis, but the trend line assumes that the category
axis values occur in equal intervals. To add a trend line,
select the chart and from Excel's menus choose Chart,
Add Trendline. Complete the "Add Trendline" dialog
that displays. The "Options" tab in this dialog offers
forward and backward forecasting.

* Line, column, bar, area, XY, stock, bubble.


Illustr. 2. Illustr. 3.
Illustr. 1. A line chart with trend line and custom trend line name added. How to add a trend line. The "Type" tab of the "Add Trendline" dialog. The "Options" tab of the "Add Trendline" dialog.
The Data: Krispy Kreme Volume
Date Volume Krispy Kreme Volumes with Trend Line
5/23/2003 460,600
5/22/2003 399,700 3,500,000

5/21/2003 674,300
5/20/2003 896,800 3,000,000
Volume
5/19/2003 502,300 Volume Trend
5/16/2003 648,700 2,500,000
5/15/2003 635,900
5/14/2003 784,100 2,000,000
5/13/2003 856,300
5/12/2003 820,900 1,500,000
5/9/2003 ###
5/8/2003 784,200 1,000,000
5/7/2003 ###
5/6/2003 703,500 500,000
5/5/2003 446,800
5/2/2003 761,200 0
5/1/2003 978,000 2/24/2003 3/24/2003 4/24/2003

4/30/2003 367,300
4/29/2003 580,000
4/28/2003 370,900 Illustr. 4. The same chart as above but with a 20 day forward forecast. Illustr. 5
4/25/2003 329,900 The regression equation for the trend line is displayed on the chart. The "Options" tab selections for this chart.
4/24/2003 699,800
4/23/2003 ### Krispy Kreme Volumes with Trend Line
4/22/2003 473,600 Forcasting 20 Days Forward
4/21/2003 376,800
4/17/2003 666,500 3,500,000
4/16/2003 400,500
4/15/2003 357,000 3,000,000 Volume
Linear (Volume)
4/14/2003 436,200
4/11/2003 504,400 2,500,000

4/10/2003 ###
2,000,000
4/9/2003 566,100
4/8/2003 345,200
1,500,000
4/7/2003 477,800
4/4/2003 462,200
1,000,000
4/3/2003 528,100
4/2/2003 481,700 f(x) = - 276.2499146777x + 11107800.121499
500,000
4/1/2003 537,500
3/31/2003 392,600 0
3/28/2003 317,800 2/24/2003 3/24/2003 4/24/2003
3/27/2003 635,900
3/26/2003 586,100
3/25/2003 514,600
3/24/2003 888,200
3/21/2003 ###
3/20/2003 ###
3/19/2003 ###
3/18/2003 ###
3/17/2003 933,800
3/14/2003 662,300
3/13/2003 647,200
3/12/2003 408,100
3/11/2003 388,900
3/10/2003 670,200
3/7/2003 727,500
3/6/2003 751,700
3/5/2003 542,300
3/4/2003 377,500
3/3/2003 395,500
2/28/2003 448,500
2/27/2003 348,900
2/26/2003 392,100
2/25/2003 788,400
2/24/2003 716,400
Manipulate Chart Series

Add a Moving Average Line Return to Contents


"Moving average" is an option in Excel's "Add Trendline" dialog box.
A moving average line shows a data series averaged over the number of The formula in Cell O8 is
data points you choose. There are two ways to create a moving average line: =AVERAGE(C18:C22) and is
1. Use the "Moving average" option in the "Add Trendline" dialog. Data copied down the column.
2. Create a moving average data series based on your data and chart that Interval Value Calculation: Moving Average
series along with your data. 1 $48 $65
Both methods are illustrated below. 2 $88 $70
3 $59 $62
Illstr. 1. Moving average line added using the "Add Trendline" dialog. 4 $90 $68
5 $39 $62
Sample Chart with Moving Average Line 6 $75 $75
Added Using the "Add Trendline" dialog 7 $48 $73
$150 8 $89 $86
9 $59 $84
Value
10 $102 $94
$130 Moving Avg (over 6 intervals) 11 $65 $87
12 $114 $98
$110 13 $80 $89
14 $109 $98
$90 15 $65 $94
16 $120 $107
$70 17 $72 $103
18 $124 $114
19 $89 $109
$50
20 $128 $128

$30
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

Illustr. 2. The "Add Trendline" dialog with Moving Average and # periods selected.

Illustr. 3. Moving average line derived from calculations in Cells O8:O28. Illustr. 4. Same as Illustr. 3 but chart type defined as 3-D Line.

Sample Chart with Moving Average Derived 3-D Line Chart w/Moving Average Derived
from Calculations in the Worksheet from Calculations in the Worksheet

$150
$130
Value
$130 Calculation: Moving Average $110

$110 $90

$70
$90
$50
$70
$30
1 2 3
4 5 6
$50 7 8 9
10 11 12
13 14 15
16 17 18
19 20
$30 Calculation: Moving Average Value
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Manipulate Chart Series

Add Error Bars to a Data Series Return to Contents


Add error bars to a chart to convey additional information about the Chart Data
charted data, such as an uncertainty factor or possible error. Excel Response Number
offers 5 methods for calculating error bars: fixed value, percentage, Absolutely true 9
standard deviation, standard error, and custom. Error bars can be True 18
added to these chart types: line, xy, column, bar, area, and bubble. Fairly true 25
To add an error bar to a data series, select the series, right-click and Possibly true 23
choose the Format Data Seriesdialog, and choose the "Y Error Bars" tab. Not really true 15
See examples of charts with added error bars below. Definitely untrue 10

Illstr. 1. Error bars added with "Percentage" selected as "Error amount". Illustr. 2. The "Format Data Series" dialog with "Y Error Bars" tab.

Bar Chart with Error Bars Added as a Percentage

Definitely untrue 10

Not really true 15

Possibly true 23

Fairly true 25

True 18

Absolutely true 9

5 15 25

Illustr. 3. Error bars added with "Fixed Value" selected as "Error amount". Illustr. 4. The "Y Error Bars" tab for the data series.

Line Chart with Error Bars Added as a Fixed Value

25

15

5
Absolutely True Fairly true Possibly Not really Definitely
true true true untrue

Illustr. 5. Right-click an error bar to open the "Format Error Bars" dialog.
Manipulate Chart Series

A Custom Error Bar Example Return to Contents


Excel offers built-in error bars, but you can also create your own Chart Data
if you want to convey nonstandard information or want your chart Response Number
to have a specific look. In this example, two data series are created Absolutely true 35
by means of formulas in the worksheet and then plotted in the chart True 12
along with the original data. The two new series calculate a single Fairly true 28
standard deviation (+1 and -1) based on the chart data. The additional Possibly true 57
information is plotted as dotted lines across the chart. Not really true 32
Definitely untrue 26

Illustr. Error bars added with "Percentage" selected as "Error amount". Standard deviation calculations added to
the worksheet and used to chart the
Colum error bars.
Line Chart with Error Bars Added nL SD+1 SD-1
from Worksheet Calculations SD+1
SD-1
17 46
60 17 46
55 17 46
50 17 46
45 17 46
40 17 46

35
30
25
20
15
10
5
Absolutely True Fairly true Possibly true Not really Definitely
true true untrue
3 Ways to Chart Missing Data

Stock Chart
Return to Contents
Stock charts require particular values in a specified order.
The sample chart below requireds three sets of values:
High, Low, and Close. The vertical line at each data point
connects the maximum data point in the category with
the minimum data point in the category. The top of
each vertical bar shows the high for that day.

U.S. Dollar - Euro Simple Stock Chart Type: US Dollar vs. Euro
Date High Low Close
5/5/03 0.8923 0.8846 0.8914 0.9
5/6/03 0.8866 0.873 0.8815 Close
0.89
5/7/03 0.8823 0.8742 0.8751
5/8/03 0.8839 0.8687 0.8745 0.88
5/9/03 0.8739 0.8668 0.8721
5/12/03 0.8675 0.8572 0.8623 0.87
5/13/03 0.8719 0.8646 0.8682
5/14/03 0.8716 0.8664 0.8696 0.86

5/15/03 0.879 0.8704 0.8728


0.85
5/19/03 0.8601 0.8518 0.8582
5/20/03 0.8618 0.8517 0.8588 0.84
5/21/03 0.86 0.8513 0.8555
5/22/03 0.8601 0.8522 0.8532 0.83
5/23/03 0.8568 0.8442 0.8482 5/5/03 5/6/03 5/7/03 5/8/03 5/9/03 5/12/03 5/13/03 5/14/03 5/15/03 5/19/03 5/20/03 5/21/03 5/22/03 5/23/03 5/27/03

5/27/03 0.8471 0.839 0.8431

Data from http://www.fxstreet.com/nou/taula_cotiz_his.asp

Chart X-Axis Formatting Note:


Because in this data the date intervals are irregular, choose "Category" on the The chart if the Excel's "Automatic" (default) axis is used to show dates instead of the
"Chart Options" dialog "Axes" tab so Excel uses only the actual dates in the dat "Category" selection used in the chart above.

Stock Chart with Excel's Default Close


Date Intervals Shown

0.9

0.89

0.88

0.87 No data for these days

0.86

0.85 No data for these days

0.84 No data for these days

0.83
5/5/03 5/6/03 5/7/03 5/8/03 5/9/03 5/12/0 5/13/0 5/14/0 5/15/0 5/19/0 5/20/0 5/21/0 5/22/0 5/23/0 5/27/0
3 3 3 3 3 3 3 3 3 3

The time scale axis displays dates in chronological order using specific intervals even if the dates in
the worksheet are not in chronological order and do not fall in these intervals. By default, Excel sets
the time scale data according to the smallest interval between any two dates in the data.
3 Ways to Chart Missing Data

Series Lines Return to Contents


Stacked bar and stacked column charts have the option Data
of "series lines", or lines that connect the top of each Sales Quarter 1 Quarter 2 Quarter 3
data point with the next data point in the same series. North $45 $42 $34
Add series lines by opening the "Format Data Series" South $32 $38 $40
dialog for any series and choosing the "Options" tab. East $28 $22 $30
Choose the "Series line" check box.

Illustr. 1. Series lines added using the "Format Data Series" dialog. Illustr. 2. Same chart but as a Bar chart type with series lines reformatted.

Stacked Column Chart with Series Lines Stacked Bar Chart with Series Lines

$140

$120 East

$100

$80
South
$60

$40

North
$20

$0
North South East $0 $20 $40 $60 $80 $100 $120 $140

Quarter 3 Quarter 2 Quarter 1 Quarter 3 Quarter 2 Quarter 1

Illustr. 3. Choose the "Options" tab and "Series lines". Illustr. 4. Right-click a series line and choose "Format Series Lines".
A dynamic chart
Expanding Chart
Excel charts are by nature dynamic. That is, if the data on
which the chart is based changes, the chart automatically
changes as well. However, this is not the case if you
add data to a list. Use this technique to create a chart
that automatically expands (or contracts) with the data.
The list used as data for the chart:
Example: A chart that automatically expands (or contracts) Date Sales
when the amount of data to chart changes. That is, you 10/10/03 82
need not use the "Source Data" option to add or delete data. 10/12/03 55
10/14/03 68
10/16/03 74
An Automatically Expanding Chart 10/18/03 65
using List Data 10/20/03 80
12

10
Instructions:
8 1. Create a standard chart, using existing data.
2. Create two named formulas. The formulas will become argum
6
in a SERIES formula. Insert, Name, Define
4 =OFFSET(ExpandingChart!$I$10, 0, 0, COUNTA(ExpandingCha
Insert, Name, Define. Name: Sales. Refers to:
2
=OFFSET(ExpandingChart!$J$10, 0, 0, COUNTA(ExpandingCha
0 3. Use the Source Data option of the chart to m
it refers to the named ranges Date and Sales instead of to th
coded range references currently in place. Precede the nam
either the workbook name or the worksheet name, then an e
point.
4. Test your chart by adding new data to the end of the list or d
data from the end of the list.

Notes:
* Modify the example formulas above to fit your data locati
* Locate your list ranges in the worksheet so no other data
is in the same column. COUNTA counts the data in the n
column. The -1 parameter subtracts the list header fro
count.
* The names you established with the OFFSET formula will n
display in the formula bar's Name Box.
* See Excel's online help for descriptions of the parameters
the OFFSET and COUNTA functions.
Return to Contents

data for the chart:

g existing data.
The formulas will become arguments
Name, Define. Name: Date. Refers to:
10, 0, 0, COUNTA(ExpandingChart!$I:$I)-1, 1)
Sales. Refers to:
10, 0, 0, COUNTA(ExpandingChart!$J:$J)-1, 1)
f the chart to modify the existing chart so
Date and Sales instead of to the hard
ently in place. Precede the named range with
the worksheet name, then an exclamation

w data to the end of the list or deleting

las above to fit your data location.


the worksheet so no other data
COUNTA counts the data in the named
ter subtracts the list header from this

d with the OFFSET formula will not


ar's Name Box.
descriptions of the parameters used by
A dynamic chart
Chart with Scroll Bar
You may want the viewer of your chart to have some control The list used as data for the chart.
over how much data is charted. In this case, add a scroll bar Month SalesCalls
to the chart. The chart below has a single data series and a May 82
single scroll bar, but you can use more than one scroll bar in Jun 55
a chart if you choose. Jul 68
Aug 74
Example: A chart that displays data for the Sep 65
months the user selects by manipulating the chart's Oct 93
scroll bar. Nov 74
Dec 63
Scroll Bar Controls Charted Data Jan 49
Feb 45
Mar 38
100
Apr 46
90
80
70
60
50
40
30
20
10
0
data for the chart. NumberOfMonths Return to Contents
SalesCalls 11
Value controlled by the
movement of the spinner
on the chart.

Instructions:
1. Create a standard chart.
2. Define the names needed to operate the scroll bar.
Cell M4 is assigned the range name "NumberOfMonths".
The Month range is assigned the name "Month" and is defined
by the OFFSET and COUNTA functions (see the "ExpandingChart"
worksheet in this workbook for more information.
The SalesCalls range is assigned the name "SalesCalls" and is defined
by the OFFSET and COUNTA functions.
Both these names exist only as defined in Excel's Define Name dialog so
you won't see them in the formula bar Name Box drop-down.
3. Use the chart's Source Data dialog to replace hard coded range
references with the category labels and values range for the chart.
4. Add a scrollbar to the chart from the Forms Toolbar. Format the
scrollbar with 1 as the minimum value and 12 as the maximum.
Set the incremental change to 1 and enter NumberOfMonths as
as the cell link.
5. Test the spinner control on the chart.

Notes:
* The NumberOfMonths value is used in the OFFSET function
to control the amount of data the chart displays. The scroll
bar control refers to the NumberOfMonths value as its "Cell
link". Enter an initial value in this cell so you can modify the
chart's Source Data ranges for labels and values.
A dynamic chart
Specify the Starting Date and
Return to Contents
Number of Data Points to Chart
This dynamic chart lets the user choose a particular date
from the data and then the number of data points to chart
starting with that date. The date selection mechanism is
a "validated" cell (F11). Click in the cell to make a choice.
The user selects
The list used as data for the chart. what to chart:
VisitDate RepairVisits Start with:
6/2 12 6/2
6/3 10 # of days:
6/4 9 11
6/5 15
6/6 19 Number of Repair Visits using a Chart
6/7 13 that's Dynamic as to Start Date and Number of D
6/8 11
12
6/9 21
6/10 12
10
6/11 10
6/12 15 8
6/13 16
6/14 13 6
6/15 9
6/16 7 4
6/17 14
6/18 18 2
6/19 17
6/20 6 0
Return to Contents

Brief instructions for creating this chart:


1. Cell F11 at left is named "StartWith". Cell F13 is named
"NumberOfDays". StartWith is defined using Data, Validation
specifying the VisitDate range of data as inputs. When the user
clicks in the StartWith cell, the list of choices displays.
air Visits using a Chart 2. Use OFFSET and MATCH functions to write the two formulas
art Date and Number of Days to use in the Chart Source dialog for category labels and values.
(See the previous dynamic chart examples for more info.)
In this example, the formulas for VisitDate and RepairVisits
are given names but not entered in the worksheet.
=OFFSET(StartAndNumber!$C$11, MATCH(StartAndNumber!$F$11,
StartAndNumber!$C$11:$C$29,1)-1, 0, NumberOfDays,1)
=OFFSET(StartAndNumber!$C$11, MATCH(StartAndNumber!$F$11,
StartAndNumber!$C$11:$C$29,1)-1, 1, NumberOfDays,1)

IMPORTANT: These formulas are shown above only as examples.


They're not entered into any cell in the worksheet, but instead
only as names in Excel's "Define Name" dialog.
3. Replace the Values and X axis labels in the chart's "Source Data"
dialog with the formula names. In this dialog, these names must be
preceded by the worksheet or workbook name.
F13 is named
ng Data, Validation
nputs. When the user
ices displays.
the two formulas
gory labels and values.
s for more info.)
e and RepairVisits

tartAndNumber!$F$11,
NumberOfDays,1)
tartAndNumber!$F$11,
NumberOfDays,1)

ove only as examples.


orksheet, but instead

e chart's "Source Data"


log, these names must be
A dynamic chart
Checkbox Selection
The example chart shown here allows the user to determine
which of four data series to plot by choosing up to 4 checkbox
controls. Any changes the user makes to the checkbox
selections automatically change what the chart displays.
User Choices for Chart:

Data Series Display Controlled by North 1


Checkbox Selections South 1
700 East 0
West 1
600

500

400

300

200
Oct Nov Dec Jan Feb Mar Apr May Jun Jul

South East West Nor th

Brief instructions for creating this chart:


1. Create a chart from the data, as usual. Here, a line chart.
2. Using the Forms Toolbar, add a checkbox control for each of
the data series in your chart. Here, North, South, East, and
West. Format each checkbox so it returns its value to a
worksheet cell. Here, in a cell to its close right.
3. Add "regular" range names to the worksheet:
Name the data in each label and data range. Here, the
month and region data ranges are named. Also, add a
name for each cell that holds a checkbox's status. Here,
the cells in J9, J10, J11, and J12.
4. Add "special" names to the worksheet using the "Define
Name" dialog. These names will reference formulas that
are NOT entered in any worksheet cell. Enter one name
and one formula for each of the chart data markers. A
formula should check the data marker's associated check
box status. If TRUE, the data marker's data range should
display. If FALSE, a blank data range should display.
5. Assign the formula names to the "Values" box in the "Source
Data" dialog on the "Series" tab. You must precede each
formula name with either the workbook or worksheet name
(if you enter a worksheet name Excel displays a workbook
name the next time you open the dialog.)
6. Test the checkbox control of the chart display.
Return to Contents

Month North South East West Range Names Used:


Oct 500 320 435 550 MonthX L10:L21
Nov 490 300 401 598 North M10:M21
Dec 475 290 450 620 South N10:N21
Jan 395 275 465 623 East O10:O21
Feb 450 296 420 529 West P10:P21
Mar 482 324 470 603 Blank Q10:Q21
Apr 400 350 465 660 ShowNorth J9 ShowEast
May 490 355 450 678 ShowSouth J10 ShowWest
Jun 510 368 432 656 NorthSeries 510 EastSeries
Jul 486 376 420 670 SouthSeries 376 WestSeries
Aug 455 380 400 675
Sep 400 355 398 676

The result of Insert, Name, Paste, Paste List:


Blank =Checkbox!$Q$10:$Q$21
East =Checkbox!$O$10:$O$21
EastSeries =IF(ShowEast, East, Blank)
MonthX =Checkbox!$L$10:$L$21
North =Checkbox!$M$10:$M$21
NorthSeries =IF(ShowNorth, North, Blank)
ShowEast =Checkbox!$J$11
ShowNorth =Checkbox!$J$9
ShowSouth =Checkbox!$J$10
ShowWest =Checkbox!$J$12
South =Checkbox!$N$10:$N$21
SouthSeries =IF(ShowSouth, South, Blank)
West =Checkbox!$P$10:$P$21
WestSeries =IF(ShowWest, West, Blank)
J11
These cells reference checkbox
J12 status.
0
IF statements. IMPORTANT: Enter and name these
670 IF statements only by using Excel's Insert Name
Define "Define Name" dialog box. For the purposes
of this chart, do not name formulas you've
entered directly in the worksheet. The formulas
shown here are for documentation only. The cells
holding these formulas are not named.
me, Paste, Paste List:
$Q$10:$Q$21
$O$10:$O$21
st, East, Blank)
$L$10:$L$21 At left is a list of range names generated by
$M$10:$M$21 Excel for documentation. The list is a column
rth, North, Blank) of range names followed by a corresponding
column of cell locations. Note, however, that
the entries in red in the second column are
not
cell locations. Instead, they're formulas that
do
not exist in any cell in the worksheet, but
$N$10:$N$21 have
uth, South, Blank) been entered as the definitions of names
$P$10:$P$21 added
to the worksheet in the "Define Name" dialog.
est, West, Blank)
3 Ways to Chart Missing Data

Formatting Notes Return to Contents


Excel offers many tools to the user who wants to
add special formatting to a chart. Right-click any
chart element to find its built-in formatting options. Data for chart illustrations 1 and 2.
In addition, use the options on Excel's "Drawing" Sales Quarter 1 Quarter 2 Quarter 3
toolbar to add shapes and text to a chart. Added North $45 $42 $34
elements can be grouped with a chart to keep them South $32 $38 $40
together. Five illustrations are shown. East $22 $18 $17

Illustr. 1. Autoshape background with chart and


text box text floated above. Grouped.

Illustr. 2. Autoshape background with chart floated above. Grouped.

Report
Reporton
onQuarter
Quarter11Sales
Sales
North is Clear Winner
in First Quarter
East
North
South

South East

The Eastern region continued its sales


slide in Quarter 1, outpaced by sales in North
both the Southern and Northern regions.
Word is that the sales people in the East
were all in orbit in the first quarter.

Illustr. 3. Combination chart with graphic as data marker. Grouped.


Data for chart illustr. 3, 4, & 5.
Month R&D Maintenance
Jun 35 6 Relative Costs June through December
Jul 44 8
Aug 48 15
Maintenance R&D
Sep 52 28
Oct 58 32 70
Nov 60 50
Dec 64 65 60

50

40

30

20

10

0
Jun Jul Aug Sep Oct Nov Dec

70

60

50

Illustr. 4. Chart with transparent data markers. See creation notes at right. 40

30

How to create this chart: 20

Chart with Transparent Markers


10

1. Create a regular column chart of the data.


0

Jun Jul Aug Sep Oct Nov Dec

70 2. With the chart selected, draw a rectangle


60 shape on the chart. Format it with no
50 border, choose a color, and make it
transparent (~ 75% works well).
40
3. With the rectangle selected, hold down
30
the SHIFT key and from the menus
20 choose Edit, Copy Picture. The "Copy
10 Picture" dialog displays. Accept the
0 dialog defaults. Click OK.
Jun Jul Aug Sep Oct Nov Dec 4. Select a data series and from the menus
R&D Maintenance choose Edit, Paste. The transparent color
with no border takes the place of the
previous data marker.
5. Repeat the process for the second (and
Creating a Picture to Use in a Chart's Plot or Chart Area any other) data series in the chart.
Without Using a Specialized Graphics Program 6. Delete from the chart the rectangle
Although you can use a graphic as a chart's Plot or Chart area, you you used as your pattern(s).
can't use the Edit, Copy Picture and Edit, Paste method you can use to format 7. For a chart as shown here, select one
data markers (as in Illustr. 4). Instead, you must supply the file name of the data series and change its chart type
graphic image. If you already have a file in image format (e.g., GIF or JPG), from column to area.
use it. However, if you want to use an Autoshape you create or if you
want to use an image from the Office Clip Art Library, use this technique to
turn the image into a graphic file:
1. Start a new Excel workbook and delete all but one sheet.
2. On the one sheet, insert whatever clip art you like and create any Autoshapes.
3. From the menus choose File, Save as Web Page and provide a file name
and location (a directory).
4. Excel saves the workbook in web (HTML) format and creates a new directory.
The directory will contain each of the clip graphics and autoshapes you included
on the sheet, each saved in a separate GIF-format file.
5. You can delete the Excel workbook once you've created separate GIF files.
Then use the GIF files in your chart formatting.

Saving the sample workbook illustrated


at left using File, Save As Web Pagegenerates
seven GIF-format image files, one for each of
the graphics on the worksheet.

Illustr. 5. (2 versions) Saved GIF files used for chart formatting.

Autoshape and Clip Art Converted to GIF


60
to add Graphics to Chart Data Series Elements

40

20

0
Jun Jul A ug
R&D Maintenance

Autoshape and Clip Art Converted to GIF


to add a Graphic to the Chart Plot Area
60

40

20

0
Jun Jul Aug
R&D Maintenance

You might also like