Chapter 8: Spreadsheets Flashcards
active cell
any cell that you have selected and highlighted in your spreadsheet
range
More than one active cell
non-continuous range
Range with a break in there somewhere
Referencing Data
=Sheet1!A2
Sheet name then cell
If Microsoft Excel is not filling the way you’d like click
edit->fill->series
A __ in front of the column or row number will keep the column or row reference constant
”$”
To reference a range of cells
Use Starting_cell:Ending_cell
ie: A1:B3,B6:C7 (A non-continuous range of cells)
How do you write an if statement?
=if(condition,value_if_true,value_if_false)
If the given condition is true, the cell will be set to the “value_if_true.” If the condition is false, the cell will be set to the “value_if_false,” if “value_if_false” is left blank, the cell will be set to “FALSE” by default.
Example:
=if(A2>3,32,”Number too small”)
Reads: If A2>3 is true, then set the cell to 32. Otherwise, set the cell to “Number too small”
How do you write a nested IF function?
IF( condition1, value_if_true1, IF( condition2, value_if_true2, value_if_false2 ))
How do you write a countif statement?
=countif(range,condition)
The “countif” function will increment the active cell by one each time the condition is true for a cell in the given range.
Example:
You want to know how many universities have “red” as one of their school colors, and have compiled a database of schools and their colors in Excel.
=countif (F1:F230, “=red”)
If a cell in F1:F230 satisfies “=red”, then increment the active cell by one.
How do you write sumif functions
=sumif(range,condition,sum_range)
The “sumif” function utilizes a range and a corresponding sum_range of the same size. Each time the condition is true, the active cell will be incremented by the value in the corresponding cell in the sum_range.
Example:
You wish to know how many hours you have spent watching television, from a database of your time spent on various activities.
=sumif (D1:D230,”=television”, H1:H230)
If a cell in D1:D230 satisfies “=television”, then increment the active cell by the corresponding cell from H1:H230. If cell D7 contains the word “television,” the active cell will be incremented from the corresponding cell from H1:H230, or cell H7
and or
These should be nested inside of conditional statements.