Fluency with Information Technology INFO100 and CSE100 Katherine Deibel Katherine Deibel, Fluency in Information Technology1
Powerful tools for managing data Organization Manipulation Calculation Visualization High-level tool for programming Think of spreadsheets as a handier interface for computing ideas than JavaScript is Katherine Deibel, Fluency in Information Technology2
row name column name cell formula column heading referenced cell L Katherine Deibel, Fluency in Information Technology3
Variables: Cells are variables (contain data) Expressions: Setting a cell to a formula is an (unevaluated) assignment statement Functions and Parameters: Spreadsheets have built-in function Arrays and IDs: The position (row/column) names the data Iteration: Operating on all elements in a range as in =SUM(A1:A5) Katherine Deibel, Fluency in Information Technology4
A spreadsheet is a 2-D array of cells Multiple sheets make it 3-D The idea is that the rows or columns represent a common kind of data Adding more data of the same type means adding more rows or columns Often spreadsheets contain numbers, but text-only spreadsheets are useful, too Katherine Deibel, Fluency in Information Technology5
Let's see what your knowledge of spreadsheet basics is like Katherine Deibel, Fluency in Information Technology6
When the $ sign is used in a cell reference, it makes that part of the reference absolute Katherine Deibel, Fluency in Information Technology7
Cell references default to the current sheet Katherine Deibel, Fluency in Information Technology8
Spreadsheets use localization information to determine stylings for things like currency. In Britain, currency is formatted as £ Katherine Deibel, Fluency in Information Technology9
Spreadsheets are clever in how they calculate functions in that they trace dependencies and calculate in the proper order. Of course, this means that circular references are bad Katherine Deibel, Fluency in Information Technology10
ABC 1=C15=A1*B Katherine Deibel, Fluency in Information Technology11 Most spreadsheet programs will warn you against circular references and will not get caught in an infinite operation.
Spreadsheets by default show the result of a formula in the row. You have to click on the cell to see the formula in the edit bar Katherine Deibel, Fluency in Information Technology12
A.JavaScript code B.Russian text C.A URL D.Date and time E.Can contain all of the above Excel cells can contain almost any type of data, JavaScript and Russian included. What it does with the data, however, may not be what you expect. JavaScript code would be treated as just text Katherine Deibel, Fluency in Information Technology13
May apply to other spreadsheet programs Consult your physician before stopping power use of Excel Offer not valid in Alaska Katherine Deibel, Fluency in Information Technology14
The data in a spreadsheet can be manipulated using formulas The value in H2 (selected cell) is the value in F2 times … the result is shown, but the cell has the formula Katherine Deibel, Fluency in Information Technology15
One way to repeat the formula is to copy-and-paste Katherine Deibel, Fluency in Information Technology16
The relative and absolute references work this way because they are in effect: =[myposition.col -2,myposition.row]* Katherine Deibel, Fluency in Information Technology17
Reference to cells happens in 2 ways: Relative and Absolute (with $) F2relative column, relative row F$2relative column, absolute row $F2absolute column, relative row $F$2absolute column, absolute row Relative references change when pasted/filled Absolute references do not change Katherine Deibel, Fluency in Information Technology18
Creating a discount table uses rel and abs refs Consider store credit of $1 per $10 spent $3 store credit for every 2 CDs (1 earns $1) =$B3/10 + (3/2)*C$2 =[B,myposition.row]/10 + (3/2)*[myposition.col,2] B Katherine Deibel, Fluency in Information Technology19
Fill is a spreadsheet shortcut for copy-and-paste Grab the fill tab with the cursor and pull in the direction to be pasted fill tab Katherine Deibel, Fluency in Information Technology20
Another handy property of fill is that it can make a series based on constants Fill Sunday => Monday, Tuesday, Wed… Fill 22 Feb => 23 Feb, 24 Feb, 25 Feb, … More generally Series fill will even count using a constant Counting by odd sizes: give 1st two items Katherine Deibel, Fluency in Information Technology21
Chapter 15 Case Study – Travel Costs This chapter guides you through several other power features of Excel Conditional Formatting Filtering Katherine Deibel, Fluency in Information Technology22
Calculations, Formulas, Charts, Etc Katherine Deibel, Fluency in Information Technology23 Mommy plays with Excel instead of me…
Spreadsheets come with built-in functions for many purposes: Basic math functions (ABS, FLOOR, EXP) Statistics (AVERAGE, MEDIAN) String manipulation (FIND, LEN Logic (IF, AND, NOT) And many more Katherine Deibel, Fluency in Information Technology24
When you enter a = into the edit bar, you can click on the function button This brings up a list of functions for you to browse through Each function also has help files and demos associated with it Katherine Deibel, Fluency in Information Technology25
Interactive windows help you fill in formula parameters Katherine Deibel, Fluency in Information Technology26
Visualizations help with communicating large amounts of data Lots of room for flexibility and creativity Entire course in itself Good place to blaze away and explore Plenty of good tutorials online One of my favorites is: Katherine Deibel, Fluency in Information Technology27
Spreadsheets are great because they have lots of cells Spread out your calculations As they said in elementary school math… SHOW YOUR WORK!! Katherine Deibel, Fluency in Information Technology28
Let's calculate something complex Yes, Excel has a built-in function for this (STDEV), but let's do this By the way, μ is the average of the N x's Katherine Deibel, Fluency in Information Technology29
Spreadsheets are powerful tools One of the best tools for the digerati Easy access to programming Spreadsheets are often the easiest way to make a computer solve your problem if the software for that problem doesn’t already exist Katherine Deibel, Fluency in Information Technology30