Você está na página 1de 11

Sinex 2003

Constructing an
Interactive Excel
Spreadsheet
Step through this tutorial by clicking on the tabs below.
There are 10 steps to work through.
a = 1 b = 1 c = 1
x
-10
-8
-6
-4
-2
0
2 The yellow cells will be the ones that can be changed!!
4
6
8
10
type the information on this worksheet into the cells
a = 1 b = 1 c = 1
x y
-10 91
-8 57
-6 31
-4 13
-2 3 The use of $E$2 locks this cell into the formula.
0 1
2 7
4 21
6 43
8 73
10 111
in cell B5 type the red =$E$2*(A5)^2+$G$2*A5+$I$2
and then drag the formula down the column
Highlight the two columns
of data, and then select the a = 1 b = 1 c = 1
chart wizard.
x y
-10 91
-8 57
-6 31
-4 13 pick this one!
-2 3
0 1
2 7
4 21
6 43
8 73
10 111
-100
-50
0
50
100
-10 -8 -6 -4 -2 0 2 4 6 8 10
now used the chart wizard
a = 1 b = 0 c = 0
x y
-10 100
-8 64
-6 36
-4 16
-2 4
0 0
2 4
4 16
6 36
8 64
10 100
Now change the values in the yellow boxes; hit enter or click on another cell,
and see the graph respond.
-100
-50
0
50
100
-10 -8 -6 -4 -2 0 2 4 6 8 10
DO THIS LAST: Right click on
each of the yellow cells above
and select Format Cell and then
click on the Protection tab.
Unselect Locked (click and remove
the check mark)

Then go to Tools and select
Protection and then Protect
Sheet

This allows ONLY the values in the
yellow cells to be changed.
a = 1 b = 1 c = 1
x y y ref
-10 91 91
-8 57 57
-6 31 31
-4 13 13
-2 3 3
0 1 1
2 7 7
4 21 21
6 43 43
8 73 73
10 111 111
Now change the values in the yellow boxes; hit enter or click on another cell,
and see the graph respond.
-100
-50
0
50
100
-10 -8 -6 -4 -2 0 2 4 6 8 10
Adding a reference line-
copy the values
in column Band, then do a
Special Paste into column C.
Select Values under Paste on
the Special Paste menu.

Click on the graph and
then drag the blue box
around the data to include
Column C. Now change the
values of a, b, and/or c.
Comment box, move cursor over C4
a = 5 b = 1 c = -24
105 101 76
x y y ref
-10 466 91 spinner
-8 288 57 right click on
-6 150 31 the spinner
-4 52 13 and select
-2 -6 3 Format Control
0 -24 1 then click on the
2 -2 7 Control tab.
4 60 21
6 162 43 The spinner is
8 304 73 linked to the cell
10 486 111 below (I3).
Now use the spinners to raise and lower the values of the coefficients.
Since the spinner is linked to a formula in the blue box, you cannot type the values in now!
Without the use of a formula, both typing in the cell or using the spinner will function.
The spinners and scroll bars can only handle POSITIVE and whole numbers!
-100
-50
0
50
100
-10 -8 -6 -4 -2 0 2 4 6 8 10
negative values -15
decimal values -1.5 85 scroll bar linked to this cell
you would hide this value
limits: 0 - 200
For spinners and scroll bars, the values can only be positive
and whole increments. So formulas must be used to get around
vertical scroll bar can be resized this shortcoming.
to display horizontally
Scroll bars (through the Format Control and select control tab) have lower and upper limits
plus the increment (every 1 or 2 or 10) can be set.
=H6-100 (since max is 200, allows -100 to +100)
=(H6-100)/10
(with the division by 10,
allows -10 to +10 in increments of 0.1)
slope = 1.3 intercept = 3 regression
equation
x y
0 3
1 4.3
2 5.6
3 6.9 Move the
4 8.2 scroll bar and
5 9.5 watch the graph!
6 10.8
7 12.1 The orange line
8 13.4 is a linear
9 14.7 regression line
10 16 and will respond
as the data are
5.5 10.15 changed.
What is y when x = 5.5 y = 10.15
You would hide the cells in gray. This is the vertical line. 155 This is the horizontal line.
5.5 0 0 10.15
Step 9 explains how to do this 5.5 10.15 5.5 10.15
y = 1.3x + 3
0
2
4
6
8
10
12
14
16
18
0 2 4 6 8 10
y
-
v
a
r
i
a
b
l
e

x-variable
With the chart active, go to Chart on the menu
bar and select Add Data
the series names above were originially
series 1, series 2, series 3, and series 4.
the cells with the new data
Restricting the input values
x
y
1
=k
1
x
2
y
2
=k
2
x
2
k
1
=
1
k
2
=
3
0 0.0 0.0
1 1.0 3.0
2 4.0 12.0
3 9.0 27.0
4 16.0 48.0
5 25.0 75.0
6 36.0 108.0
7 49.0 147.0
8 64.0 192.0
9 81.0 243.0
10 100.0 300.0
Yellow boxes have a limit set using Data Validation
Click on cell, the select Data from the menu bar, and then Validation
0.0
20.0
40.0
60.0
80.0
100.0
0 2 4 6 8 10
y
-
v
a
r
i
a
b
l
e

x-variable
y
1
=k
1
x
2

y
2
=k
2
x
2

Você também pode gostar