Constructing an Interactive Excel Spreadsheet

Step through this tutorial by clicking on the tabs below. There are 10 steps to work through.

Sinex 2003

a= x -10 -8 -6 -4 -2 0 2 4 6 8 10 1 b= 1 c= 1 type the information on this worksheet into the cells The yellow cells will be the ones that can be changed!! .

a= x -10 -8 -6 -4 -2 0 2 4 6 8 10 y 91 57 31 13 3 1 7 21 43 73 111 1 b= 1 c= 1 in cell B5 type the red =$E$2*(A5)^2+$G$2*A5+$I$2 and then drag the formula down the column The use of $E$2 locks this cell into the formula. .

and then select the chart wizard.Highlight the two columns of data. x y -10 91 -8 57 -6 31 -4 13 -2 3 0 1 2 7 4 21 6 43 8 73 10 111 a= 1 b= 1 c= 1 100 50 0 -2 0 -50 -100 pick this one! -10 -8 -6 -4 2 4 6 8 10 now used the chart wizard .

100 50 0 -2 0 -50 -100 -10 -8 -6 -4 2 4 6 8 10 Now change the values in the yellow boxes.a= x -10 -8 -6 -4 -2 0 2 4 6 8 10 y 100 64 36 16 4 0 4 16 36 64 100 1 b= 0 c= 0 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. and see the graph respond. hit enter or click on another cell. .

Now change the values of a.a= x -10 -8 -6 -4 -2 0 2 4 6 8 10 y 91 57 31 13 3 1 7 21 43 73 111 y ref 91 57 31 13 3 1 7 21 43 73 111 1 b= 1 c= 1 Adding a reference linecopy the values in column Band. Select Values under Paste on the Special Paste menu. 100 50 0 -2 0 -50 -100 -10 -8 -6 -4 2 4 6 8 10 Click on the graph and then drag the blue box around the data to include Column C. and/or c. b. and see the graph respond. . then do a Special Paste… into column C. hit enter or click on another cell. Now change the values in the yellow boxes.

The spinner is linked to the cell below (I3). move cursor over C4 a= x -10 -8 -6 -4 -2 0 2 4 6 8 10 y 466 288 150 52 -6 -24 -2 60 162 304 486 y ref 91 57 31 13 3 1 7 21 43 73 111 100 50 0 -2 0 -50 -100 spinner right click on the spinner and select Format Control… then click on the Control tab. both typing in the cell or using the spinner will function.Comment box. The spinners and scroll bars can only handle POSITIVE and whole numbers! . 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. 5 105 b= 1 101 c= -24 76 -10 -8 -6 -4 2 4 6 8 10 Now use the spinners to raise and lower the values of the coefficients.

. allows -100 to +100) negative values decimal values -15 -1. So formulas must be used to get around this shortcoming. allows -10 to +10 in increments of 0.1) 85 vertical scroll bar can be resized to display horizontally For spinners and scroll bars. 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.5 scroll bar linked to this cell you would hide this value limits: 0 .200 =(H6-100)/10 (with the division by 10. the values can only be positive and whole increments.

6 6.8 12.3 intercept = 3 regression equation 18 16 14 12 10 8 6 4 2 0 0 2 4 6 x-variable 5.5 155 y= y = 1.15 5.5 10.7 16 10.9 8. 0 10. 8 10 What is y when x = You would hide the cells in gray.2 9.slope = x 0 1 2 3 4 5 6 7 8 9 10 5.15 10.15 1.5 0 Step 9 explains how to do this 5.3x + 3 y-variable Move the scroll bar and watch the graph! The orange line is a linear regression line and will respond as the data are changed.3 5.15 This is the horizontal line.4 14.15 .5 10.1 13. 5.5 10.5 y 3 4. This is the vertical line.

. series 2.With the chart active. and series 4. series 3. go to Chart on the menu bar and select Add Data… the cells with the new data the series names above were originially series 1.

0 25.0 4.0 40.0 16.0 1.0 49.0 y-variable 60.0 12.0 48.0 80.0 9. and then Validation… . the select Data from the menu bar.0 81.0 108.0 0.0 k1 = 1 k2 = 3 100.0 147.0 100.0 0 2 4 6 x-variable 8 10 Yellow boxes have a limit set using Data Validation Click on cell.0 y2=k2x2 0.0 64.0 3.0 75.0 36.0 243.0 27.0 y1=k1x2 y2=k2x2 20.0 300.0 192.Restricting the input values x 0 1 2 3 4 5 6 7 8 9 10 y1=k1x2 0.