CPSC-130 Computing With Spreadsheets Gaining proficiency Week 2

advertisement
CPSC-130
Computing With Spreadsheets
Gaining proficiency
Week 2
Gaining Proficiency







Finished Grade Book example
Isolating assumptions
Cell addressing
Formatting
Operator precedence
Web Integration
Date Arithmetic
5/29/2016
Brenda Vander Linden and Aaron Armstrong
2
Finished Grade Book
Example




Add a column
Formula wrong
Isolate assumption
Relative vs. Absolute addressing
5/29/2016
Brenda Vander Linden and Aaron Armstrong
3
Isolating Assumptions




Isolate means putting the value in a
clearly marked cell
Makes it explicit to spreadsheet reader
Only have to change it in one place
Isolate any value which isn’t
immediately obvious by looking at the
sheet
5/29/2016
Brenda Vander Linden and Aaron Armstrong
4
Cell Addressing




Relative – so many cells over and
down/up
Absolute – that particular cell
Mixed – so many columns over but
that particular row, or so many rows
over, but that particular column
Examples
5/29/2016
Brenda Vander Linden and Aaron Armstrong
5
Copy and Move




Copy updates references according to
new location
Move (cut and paste) updates
references only if needed.
Watch out for moves since they can
affect so many cell formulas.
Fill Handle
5/29/2016
Brenda Vander Linden and Aaron Armstrong
6
Formatting




Column/row width
Format Cells
Shift vs. Control
Format painter (paintbrush icon)
5/29/2016
Brenda Vander Linden and Aaron Armstrong
7
Operator Precedence

What is the value of the following
expressions?
1+2+3
1+2*3
-1 + 2
1+2^3
5/29/2016
(1+2)+3
(1+2)*3
-(1 + 2)
(1+2)^3
Brenda Vander Linden and Aaron Armstrong
1+(2+3)
1+(2*3)
1+(2^3)
8
Operator Precedence
(memorize)
Highest
Lowest
5/29/2016
:,
Colon, comma, and space
-
Negation
%
Percent
^
Exponentiation
*/
Multiplication and division
+–
Addition and subtraction
&
String concatenation
= < > <= >= <>
Comparison operators
Brenda Vander Linden and Aaron Armstrong
9
Web Integration


Hyperlinks
Save as Web Page
– Round-trip HTML
– Directory of Support Files

Web Queries
– Import
– Refresh
5/29/2016
Brenda Vander Linden and Aaron Armstrong
10
Date Arithmetic



Today()
Number of days
Years = days / 365.24
5/29/2016
Brenda Vander Linden and Aaron Armstrong
11
Download