8/11/2019 Interactvie spreadsheets Form+Controls
1/64
Using Form Controls to create Interactive Spreadsheetsfor developing understanding in Mathematics and Numeracy
David MartinBroxtowe CollegeNottingham
Funded y Broxtowe College and !SD"with than#s to
Malcolm Swan$ University of NottinghamChris Bills$ University of Central %ngland
Clic# on &Introduction& ta
8/11/2019 Interactvie spreadsheets Form+Controls
2/64
IntroductionExcel spreadsheets can be used to aid understanding in Mathematics and Nu
With the increasing power of Excel, spreadsheets can be created which resrather than the rows and columns of number and text cells that lie at their hspreadsheets can be greatly enhanced by using form controls such as scrollenable us to vary the parameters of mathematical models in easy controlled
his Excel workbook illustrates the various controls available to enhance theworkbook explains how these may be constructed and offers an opportunityrandom number generator, the gaining of increasing control over a spreadshespreadsheets are presented that use controls. hese can be used immediatelMathematics and Numeracy. #dditionally a number of exercises have been sour own interactive spreadsheets.
#lthough the Workbook is designed to flow se$uentially from sheet to sheetreference tool and dip in and out as re$uired.
% id f d l f hi W kb k l
8/11/2019 Interactvie spreadsheets Form+Controls
3/64
eracy.
mble dynamic interactive worksheetseart. he ways we can interact withars and option buttons. hese controlsays.
interactivity of !preadsheets. heo create our own. "sing the example of aet is illustrated. Example Interactive y for developing understanding int to develop our skills further and create
, many may wish to use the workbook as a
8/11/2019 Interactvie spreadsheets Form+Controls
4/64
Chapters
Introduces the controls and how to create themExamples of Interactive !preadsheetsExercises to create Interactive !preadsheets"seful information to set up Excel
owExamplesExercises!etting up
8/11/2019 Interactvie spreadsheets Form+Controls
5/64
8/11/2019 Interactvie spreadsheets Form+Controls
6/64
Contents (Examples of Interactive Spreadsheets)
#n example of the development of control in a !preadsheet!preadsheet generates a random number between 0 and 1 on pressing 23
-utton introduced to press for the next random number
he lowest and highest random numbers re$uired can be entered into cells
he lowest and highest random numbers can be ad4usted using scoll bars
he final spreadsheet with hidden link cells and protected
Example interactive spreadsheets5uadratic 6 an example Interactive !preadsheet
imes able 6 an example Interactive !preadsheet-ases 6 an example Interactive !preadsheet
7andom 2irst7andom -utton7andom 7ange7andom !croll-ar7andom 2inal
5uadraticimes able
-ases
8/11/2019 Interactvie spreadsheets Form+Controls
7/64
Contents (Exercises)*ompleted spreadsheets, exercises and workspace
!croll-ar completed exercise!croll-ar exercise!croll-ar workspace to complete exercise
/ption-uttons completed exercise/ption-uttons exercise/ption-uttons workspace to complete exercise
*ombo-ox completed exercise*ombo-ox exercise
*ombo-ox workspace to complete exercise
!croll-ar 6 y8mx9cExercise !croll-ar 6 y8mx9cWorkspace !croll-ar 6 y8mx9c
/ption-uttons 6 &:Exercise /ption-uttons 6 &:Workspace /ption-uttons 6 &:
*ombo-ox 6 &iceExercise *ombo-ox 6 &ice
Workspace *ombo-ox 6 &ice
http://var/www/apps/conversion/tmp/scratch_4/http://var/www/apps/conversion/tmp/scratch_4/http://var/www/apps/conversion/tmp/scratch_4/http://var/www/apps/conversion/tmp/scratch_4/http://var/www/apps/conversion/tmp/scratch_4/http://var/www/apps/conversion/tmp/scratch_4/http://var/www/apps/conversion/tmp/scratch_4/http://var/www/apps/conversion/tmp/scratch_4/http://var/www/apps/conversion/tmp/scratch_4/http://var/www/apps/conversion/tmp/scratch_4/8/11/2019 Interactvie spreadsheets Form+Controls
8/64
"sing *ontrols to enter data into an Excel !preadsheethere are a variety of ways to enter data into an Excel !preadsheet using *ontrols
2irst display the 2orms oolbaro display the 2orms oolbar first select ;iew on the menu bar then oolbars and finally 2orms.
%ou may move the toolbar by pointing to it, holding down the left mouse buttonas you move the mouse pointer to the toolbar+s new location on the screen
*ontrols available include!croll -ar, !pinner, ist -ox, *ombo -ox, /ption -uttons and *heck -oxes
o add a control to a spreadsheet2irst select the desired control from the 2orms toolbar.&raw the space to be occupied by the control on the spreadsheet*lick on the control with the right hand mouse button and select 2ormat *ontrolEnter the *ell link the control is to use to hold the current value of the control;ary other parameters as re$uired
he following sheet gives examples of the controls available*lick on the corresponding sheet tabs to see further details
ow
Examples
Exercises
Clic#ing on one ofthese hyperlin#swill ta#e you toone of the mainmenus
8/11/2019 Interactvie spreadsheets Form+Controls
9/64
8/11/2019 Interactvie spreadsheets Form+Controls
10/64
Example *ontrols
!croll -ar !pinner *heck -oxes
'( ')
*
'
*ombo -ox ist -ox /ption -uttons
+ed, -range .
/ellow 01reenBlueIndigo
2iolet-ther
ow
ExamplesExercises
Addition
Subtraction
Operation
Addition
Subtraction
3his is an opportunity to have a go with eachof the controls to see their effect
YellowRedOrangeYellowGreenBlueIndigoViolet
8/11/2019 Interactvie spreadsheets Form+Controls
11/64
!croll -ar
*licking on the arrows of the scroll bar varies the whole number in the ink cell
between +Minimum value+ and +Maximum value+ in increments of +Incremental change+*licking in the space between the arrows will vary the number in increments of +:agechange+
,4ow
ExamplesExercises
Clic# on this Scroll Bar to seethe effect5
3ry to reproduce this ScrollBar here5
8/11/2019 Interactvie spreadsheets Form+Controls
12/64
8/11/2019 Interactvie spreadsheets Form+Controls
13/64
8/11/2019 Interactvie spreadsheets Form+Controls
14/64
8/11/2019 Interactvie spreadsheets Form+Controls
15/64
ist -ox
*licking on one of the entries in the ist -ox places its order in the list into the ink cellhe ist -ox differs from the *ombo -ox in having at least part of the list visible at all timeshe list items are placed in a range of cells and their location is placed in +Input range
8/11/2019 Interactvie spreadsheets Form+Controls
16/64
*ombo -ox
*licking on the down arrow will open up a list of items
*licking on one of the entries places the order of that entry into the ink cellhe *ombo -ox differs from the ist -ox in needing a click to open the list to viewhe items to be listed are placed in a range of cells and their location is placed in +Input range
8/11/2019 Interactvie spreadsheets Form+Controls
17/64
8/11/2019 Interactvie spreadsheets Form+Controls
18/64
/ption -uttons
*licking on one of the options clears the other options
he option number selected is placed in the ink cellWe have placed the options in a group box
'
ow
Examples
Exercises
Colour
Red
Green
Blue
First clic# on the 1roup Box icon and draw itNext create the option uttons you need
!in# cell
3ry your own here
8/11/2019 Interactvie spreadsheets Form+Controls
19/64
*heck -oxes
*licking on each *heck -ox toggles its ink cell between rue and 2alse
*heck -oxes differ from /ption -uttons as *heck -oxes return a rue or 2alse value for each *heck -oxwhile /ption -uttons return one value, the number of the option chosen
*
*
'
owExamplesExercises
Colour
Red
Green
Blue
3ry your own here
!in# cell for the+ed Chec# Box
First clic# on the 1roup Box iconand draw it5 Next create theChec# Boxes you need
8/11/2019 Interactvie spreadsheets Form+Controls
20/64
8/11/2019 Interactvie spreadsheets Form+Controls
21/64
Increasing the control on an interactive spreadsheet
In this section we illustrate how a simple spreadsheetcan be enhanced through the use of controls. he example chosen isa random number generator that can be used, for example,for front of class work
his section shows step by step how spreadsheet control may be developed.
!preadsheet generates a random number between 0 and 1 on pressing 23
-utton introduced to press for the next random number
he lowest and highest random numbers re$uired can be entered into cells
he lowest and highest random numbers can be ad4usted using scoll bars
he final spreadsheet with hidden link cells and protected
7andom 2irst7andom -utton7andom 7ange7andom !croll-ar7andom 2inal
8/11/2019 Interactvie spreadsheets Form+Controls
22/64
8/11/2019 Interactvie spreadsheets Form+Controls
23/64
8/11/2019 Interactvie spreadsheets Form+Controls
24/64
8/11/2019 Interactvie spreadsheets Form+Controls
25/64
7andom Number >enerator
?o generate a new number between 0 and 1 we
must press 23. his activity can be recorded ina macro button. :ressing this button replaysthis action.
8/11/2019 Interactvie spreadsheets Form+Controls
26/64
8/11/2019 Interactvie spreadsheets Form+Controls
27/64
7andom Number >enerator
?
o generate a new number we must press 23. hisbutton has been assigned to a macro which is simply arecord of pressing 23. :ressing this button replays thisaction.
he lowest and highest randomnumbers to be generated can beplaced in two cells
8/11/2019 Interactvie spreadsheets Form+Controls
28/64
7andom Number >enerator
@
lowest '
highest '0
he lowest and highest randomnumbers re$uired could be setusing scroll bars
3he use of7+"NDB%38%%N91'($1':;means that the lowest andhighest values are to e found incells 1'( and 1':
8/11/2019 Interactvie spreadsheets Form+Controls
29/64
8/11/2019 Interactvie spreadsheets Form+Controls
30/64
7andom Number >enerator
03@
lowest '**
highest 0**
!in# cells
8/11/2019 Interactvie spreadsheets Form+Controls
31/64
ScrollBars are used to vary the lowestand highest num ers
8/11/2019 Interactvie spreadsheets Form+Controls
32/64
'**
'**
lls
8/11/2019 Interactvie spreadsheets Form+Controls
33/64
8/11/2019 Interactvie spreadsheets Form+Controls
34/64
8/11/2019 Interactvie spreadsheets Form+Controls
35/64
8/11/2019 Interactvie spreadsheets Form+Controls
36/64
'
.
8/11/2019 Interactvie spreadsheets Form+Controls
37/64
8/11/2019 Interactvie spreadsheets Form+Controls
38/64
a 7 0
7 *
c 7 0*
Graph of Quadratic Function: y = a(x-b) 2+c
=. =4 =, =0 =' * ' 0 , 4 .
=4*
=,*
=0*
='*
*
'*
0*
,*
4*
Graph of y = a(x-b)2+c
x
y
8/11/2019 Interactvie spreadsheets Form+Controls
39/64
!croll -ars are used in this spreadsheet to enable variations in parameters a,band c in a $uadratic y8a'x6b) ?9c. he spreadsheet graphs the correspondingfunction.
his spreadsheet can be used in front of class, in small groups and byindividuals to investigate the effect of varying parameters in a $uadratice$uation.
Extension: /ne way to give more structure to an investigation would be to getthe computer to generate and graph a random $uadratic that the student mustmatch by varying a, b and c.
Note: his spreadsheet takes data from a second, hidden, spreadsheet. hishidden sheet can be revealed by selecting 2ormat, then !heet, then "nhide.
8/11/2019 Interactvie spreadsheets Form+Controls
40/64
3imes 3a lesCalculation
9 x 1
>ighest Num ers
Left Ri ht
1! 1!
A B C D E F G H I
1
23
4
5
6
789
10
11
12
1314151617
18
1920
8/11/2019 Interactvie spreadsheets Form+Controls
41/64
/our answer
9 x 1 = 1
Correct answer
9 x 1 = 9
his !preadsheetuses !croll -ars tofix the highestnumbers to bemultiplied. It couldbe used by anindividual studentfor practice withtables.Extension: /ne ofthe !croll -ars couldbe used todetermine whichsingle table is to betested.
J K L M N O P Q
1
23
4
5
6
789
10
11
12
13
14151617
18
1920
8/11/2019 Interactvie spreadsheets Form+Controls
42/64
' ' '
exadecimal /ctal -inaryto Adigits to Adigits to 0B digits
BBBC BBBC BBBBBBBB00
2222 @@@@ 0000000000
***0 ***0 ********'*
8/11/2019 Interactvie spreadsheets Form+Controls
43/64
he spreadsheet can be used for example front of class tointroduce numbers and addition in other bases.
8/11/2019 Interactvie spreadsheets Form+Controls
44/64
' ' ' '
!how #ddition
-inary &ecimal *ounter
00 C BBC DBC
0000000000 60 333A33
'* 0 '**0 ?
*lick to &ispaly
8/11/2019 Interactvie spreadsheets Form+Controls
45/64
his spreadsheet uses scroll bars to vary numbers from 6?DB to 9?DB to convert to different bases.*heck boxes are used to toggle on and off different partsof the display.
8/11/2019 Interactvie spreadsheets Form+Controls
46/64
8/11/2019 Interactvie spreadsheets Form+Controls
47/64
>raph of y 8 mx9cWorking space
m 8 60B raw m x y0B 61 D
1 61?
c 8 6? raw c E$uation0 y 8 60Bx6?
61 6A 6? B ? A 1
6AB
6CB
6?B
60B
B
0B
?B
CB
AB
y 8 60Bx6?
(5 Delete these Callouts afterfollowing their instructions yleft clic#ing on their red
order efore pressing theDelete #ey
"pp#ication: 3his InteractiveSpreadsheet can e used yindividuals$ in groupwor#$ or at thefront of class to investigate theeffect of different values of m and con the graph of y 7 mx?c
$xten%ion: /ou could create morestructure y getting thespreadsheet to generate a secondgraph line with a randomlygenerated m and c and as# thelearner to vary their m and c untilthe two lines coincide5
'5 Follow the instructions inthese Callouts to translate this!ine 1raph to one controlled
y Scroll Bars5
,5 @lace a ScrollBarhere with min *$ max4* and lin# cell M'*
05 @lace a ScrollBarhere with min *$ max4* and lin# cell M.
45 Set m value 9cell
8/11/2019 Interactvie spreadsheets Form+Controls
48/64
>raph of y 8 mx9cWorking space
m 8 60B raw m x y0B 61 D
1 61?
c 8 6? raw c E$uation0 y 8 60Bx6?
61 6A 6? B ? A 1
6AB
6CB
6?B
60B
B
0B
?B
CB
AB
y 8 60Bx6?
(5 Delete these Callouts afterfollowing their instructions yleft clic#ing on their red
order efore pressing theDelete #ey
"pp#ication: 3his InteractiveSpreadsheet can e used yindividuals$ in groupwor#$ or at thefront of class to investigate theeffect of different values of m and con the graph of y 7 mx?c
$xten%ion: /ou could create morestructure y getting thespreadsheet to generate a secondgraph line with a randomlygenerated m and c and as# thelearner to vary their m and c untilthe two lines coincide5
'5 Follow the instructions inthese Callouts to translate this!ine 1raph to one controlled
y Scroll Bars5
,5 @lace a ScrollBarhere with min *$ max4* and lin# cell M'*
05 @lace a ScrollBarhere with min *$ max4* and lin# cell M.
45 Set m value 9cell
8/11/2019 Interactvie spreadsheets Form+Controls
49/64
Decimal @laces Calculator
'
%nter Num er
*5()()*4 Num er Decimal places' * 0 -lue
*5) ' ? >reen*5(: 0 C %ellow
*5()) ,*5()() 4
*5()()* .
Bac#groundchoice
Bac#groundoptionsBackground
Blue
Green
Yellow
8/11/2019 Interactvie spreadsheets Form+Controls
50/64
8/11/2019 Interactvie spreadsheets Form+Controls
51/64
Decimal @laces Calculator
'%nter Num er
*5()()*4 Num er Decimal places' * 0 -lue
*5) ' ? >reen*5(: 0 C %ellow
*5()) ,*5()() 4
*5()()* .
Bac#ground
choice
Bac#groundoptions
"pp#ication3his spreadsheet may e used oth front of class andwith an individual student5 3he student or teacher canenter a num er and students can chec# what theythin# that num er will e expressed to a num er ofdecimal places5 Many students with dyslexia have apreferred colour which eases reading of text5 3hisspreadsheet uses -ption Buttons to ena le different
ac#ground colours5 Conditional formatting is used toapply this choice5$xten%ionConditional formatting could e used to hide furtherparts of the spreadsheet such as additional commentsor Auestions until certain answers have een entered5
Using the Forms tool ar$add a 1roup Box9la elled Bac#ground; and three -ptionButtons 9la elled Blue$ 1reen and/ellow;5 !in# the Blue option utton 9andhence the rest; to cell
8/11/2019 Interactvie spreadsheets Form+Controls
52/64
8/11/2019 Interactvie spreadsheets Form+Controls
53/64
Decimal @laces Calculator
'%nter Num er
*5()()*4 Num er Decimal places' * 0 -lue
*5) ' ? >reen*5(: 0 C %ellow
*5()) ,*5()() 4
*5()()* .
Bac#ground
choice
Bac#groundoptions
"pp#ication3his spreadsheet may e used oth front of class andwith an individual student5 3he student or teacher canenter a num er and students can chec# what theythin# that num er will e expressed to a num er ofdecimal places5 Many students with dyslexia have apreferred colour which eases reading of text5 3hisspreadsheet uses -ption Buttons to ena le different
ac#ground colours5 Conditional formatting is used toapply this choice5$xten%ionConditional formatting could e used to hide furtherparts of the spreadsheet such as additional commentsor Auestions until certain answers have een entered5
Using the Forms tool ar$add a 1roup Box9la elled Bac#ground; and three -ptionButtons 9la elled Blue$ 1reen and/ellow;5 !in# the Blue option utton 9andhence the rest; to cell
8/11/2019 Interactvie spreadsheets Form+Controls
54/64
8/11/2019 Interactvie spreadsheets Form+Controls
55/64
&ice
F F0 -ias( !evel ? fair 0 light
' medium
4 heavy
( very heavy
light
8/11/2019 Interactvie spreadsheets Form+Controls
56/64
8/11/2019 Interactvie spreadsheets Form+Controls
57/64
&ice
F FF F4 -ias
0 !evel ?4
4
(
,
"pp#ication: 3his may e used front of class or y an individual student to generate data for fair and iased dicethrows5 It can lead to simple tally charts or for example Chi SAuared analysis5$xten%ion: Unwanted text can e made invisi le y ma#ing it the same colour as the ac#ground53ry controlling this sheet using i; a Scroll Bar and then ii; -ption Boxes
05 Using the Forms tool ar place a Com o Bhere5 !in# this with cell !: which will containthe Bias !evel5 Set the Input +ange to e +:to +'0$ the location of the cells containing thCom o Box options5
'5%nter into cells +: to +'0 the Com o Box options53hese arefair lightmediumheavyvery heavy
8/11/2019 Interactvie spreadsheets Form+Controls
58/64
8/11/2019 Interactvie spreadsheets Form+Controls
59/64
&ice
F FF F4 -ias
. !evel ?4
(
0
(
"pp#ication: 3his may e used front of class or y an individual student to generate data for fair and iased dicethrows5 It can lead to simple tally charts or for example Chi SAuared analysis5$xten%ion: Unwanted text can e made invisi le y ma#ing it the same colour as the ac#ground53ry controlling this sheet using i; a Scroll Bar and then ii; -ption Boxes
05 Using the Forms tool ar place a Com o Bhere5 !in# this with cell !: which will containthe Bias !evel5 Set the Input +ange to e +:to +'0$ the location of the cells containing thCom o Box options5
'5%nter into cells +: to +'0 the Com o Box options53hese arefair lightmediumheavyvery heavy
8/11/2019 Interactvie spreadsheets Form+Controls
60/64
8/11/2019 Interactvie spreadsheets Form+Controls
61/64
"seful Information to set up Excel
"ddin %pecia# function%Some spreadsheets use special functionsthat need to e &added in& to standard%xcel5 3o do this clic# on the &3ools& menuand then the &"dd=Ins& option5 Select
"nalysis 3ool@a# and "nalysis 3ool@a# =2B" then clic# -
Top Related