Google Sheets 201
February 2, 2023
Haruna Hosokawa & Kate Ziegler
BPSTechnology Digital Learning Team
bit.ly/BPS-sheets102
Facilitators
Haruna Hosokawa�BPSTechnology �Program Dir. of STEM & Robotics�📧 hhosokawa@bostonpublicschools.org
Kate Smith-Ziegler�BPSTechnology �Instructional Technology Coach�📧Ksmithziegler@bostonpublicschools.org
bit.ly/BPS-sheets102
Housekeeping
bit.ly/BPS-sheets102
Who’s In the Room?
Please let us know in chat…
bit.ly/BPS-sheets102
Objectives
bit.ly/BPS-sheets102
This workshop assumes that you are…
bit.ly/BPS-sheets102
Topics to be covered in Sheets 201
bit.ly/BPS-sheets102
Agenda
12:00-1:00 Sheets 102
1:00-1:30 Optional “Office Hours”
bit.ly/BPS-sheets102
👈 Click to make your own copy of sample data set.
bit.ly/BPS-sheets102
⚠️
Disclaimer
You will not get ALL of your Sheets questions answered today.
We recommend that you:
We will send you the recording & completed Sample Data file.
bit.ly/BPS-sheets102
A note about “Range”
Formula and tools often refer to a “range” or address(es) of cells that the formula/tool applies to. Examples are:
Column: A2:A8
Single cell: B3
Area: A2:B4
Row: A2:E2
❗ Entire column(s) can be selected by omitting the row number. �For example, A:A is the entire A column.
bit.ly/BPS-sheets102
More about “Range”
Cell range references are RELATIVE to the current location.
If you “fill down” or copy & paste a formula to another cell, the cell range contained in the formula will automatically change unless you:
Enclose sheet names in ‘single quotes’ (optional if sheet name does not contain a space) followed by ! (Example: ‘sheet name’!A2)
bit.ly/BPS-sheets102
IMPORT RANGE
What it is: IMPORT RANGE allows you to import data from another spreadsheet file into the current sheet.
Use case: Import a list of school & school leaders from a Master List.
You may be prompted to give permission to access the source sheet. You will get an error if you don’t have permission.
bit.ly/BPS-sheets102
IMPORT RANGE
Syntax: =IMPORTRANGE(“spreadsheet_url”,“range_string”)
“spreadsheet_url”
“range_string”
bit.ly/BPS-sheets102
Note about IMPORT RANGE
IMPORT RANGE only works to import data from a different file.
Imported cells can not be edited.
You can format an imported range or add rows & columns before/after the range.
Imported data can be FILTERED, but not SORTED.
bit.ly/BPS-sheets102
VLOOKUP
What it is: VLOOKUP looks down a column for a specific value, then return the corresponding value in another column. Typically used to pull data from another sheet.
Use case: (Google Forms and Aspen) Use email addresses from Google Form responses to pull information for that user such as ID# or school name.
bit.ly/BPS-sheets102
VLOOKUP Example
Look for a specific email in a list in another tab and find the matching ID number.
bit.ly/BPS-sheets102
VLOOKUP
Syntax: =VLOOKUP(search_key, range, index, [is_sorted])
search_key is the value you are looking to match, or the corresponding cell address (ex. Email address)
range is the range of columns containing your data, typically in another sheet, with the first column being the data with search_key.
index is the column # of the value you want to place in the cell with the formula (ex. ID#). Look-up column is always column 1.
is_sorted is an optional field asking if the look-up column is sorted or not. For most cases use FALSE (not sorted; exact match).
bit.ly/BPS-sheets102
More about VLOOKUP
bit.ly/BPS-sheets102
XLOOKUP
What it is: A new function in Sheets, it is a function that is similar to VLOOKUP but with more flexibility and functionality.
Use case:
bit.ly/BPS-sheets102
XLOOKUP
Syntax: =XLOOKUP(search_key, lookup_range, result_range, [missing_value], [match_mode], [search_mode])
search_key is the value you are looking for (ex. ID#)
lookup_range is the column containing the look-up value.
result_range is the column containing the values to return.
missing_value (optional) is value to return if data is not found
match_mode (optional) is typically “0” for exact match
search_mode (optional) is 1 for top to bottom, -1 for bottom to top.
bit.ly/BPS-sheets102
IFNA
What it is: Gives one response if the value is #N/A, another response if it is not #N/A.
Use case: Use in combination with VLOOKUP to replace #N/A errors with something else (such as blank or “No Response”).
Turn #N/A errors into “NO RESPONSE”
bit.ly/BPS-sheets102
IFNA
Syntax: =IFNA(value, value_if_na)
value: function will return this value if it’s not N/A.
value_if_na: If the “value” is #N/A, then the function will return value_if_na.
Example:�=IFNA(VLOOKUP(A1, Sheet1!A:D, 3, FALSE), “No Response”)
Returns the result of this vlookup if the value is found.
Returns “No Response” if vlookup results in #N/A.
bit.ly/BPS-sheets102
Conditional Formatting w/ Custom Formula
What it is: Use “custom formula” rule for conditional formatting.
Use case:
bit.ly/BPS-sheets102
Conditional Formatting w/ Custom Formula
Example 1: Color entire row if Grade (Col F) is equal to 10.
bit.ly/BPS-sheets102
Conditional Formatting w/ Custom Formula
Example 2: Color maximum value in each row
bit.ly/BPS-sheets102
Conditional Formatting w/ Custom Formula
Example 3: Highlight row if a cell is blank �(useful in sign-up sheet)
bit.ly/BPS-sheets102
Named Range
What it is: You can name a range of cells so that you can refer to them with name in a formula (rather than using the address)
Use case: Assign names commonly used columns such as ID and email so that it is easier to enter and read your formulas.
You can go to Data→ Named ranges at any time to add, edit, or remove named ranges. Named ranges will work across all tabs.
bit.ly/BPS-sheets102
Counting Functions
bit.ly/BPS-sheets102
Averaging Functions
bit.ly/BPS-sheets102
Charts & Graphs
To create a chart or graph in Sheets, highlight the data and select Insert → Chart.
Click here for more information
bit.ly/BPS-sheets102
Pivot Table
What it is: Pivot Table is a tool to allow users to summarize and analyze data to extract information such as average, total, and counts.
Use case:
bit.ly/BPS-sheets102
Pivot Table: Setting up
Rows: School name
Columns: Grade
Values: Average survey responses
bit.ly/BPS-sheets102
Bonus: FILTER Function
What it is: FILTER returns a subset of source range, based on one or more conditions.
Use case: Separate a set of data into different sheets based on school names.
Syntax: =FILTER(range, condition1, [condition2, ...])
bit.ly/BPS-sheets102
Bonus: Protect sheet & range
What it is: You can protect sheets or ranges from getting edited by users (including “collaborators”). Different permissions can be assigned to different parts of the sheet.
Use cases: a) Create a sign-up sheet and protect all cells except for the column used to add names to prevent accidental editing.
b) Protect cells that are filled automatically by Importrange, Filter, or other auto-filling functions.
c) Assign different editors to each tab within your sheet
bit.ly/BPS-sheets102
Bonus: UNIQUE Function
What it is: Creates a list of unique values from a list containing duplicates.
Use case:
Syntax: =UNIQUE(range)
bit.ly/BPS-sheets102
Bonus: More useful functions
bit.ly/BPS-sheets102
Sheets & Forms Recommendations
bit.ly/BPS-sheets102
General Tips & Recommendations
bit.ly/BPS-sheets102
Need more help?
bit.ly/BPS-sheets102
BPSTech Professional Learning
41
bit.ly/BPS-sheets102
BPSTechnology Links
🏢 BPSTechnology Homepage - staff directory, calendar, & tech resources
🧠 Digital Learning Team PD Website & DLCS@BPS - tech professional learning
🤖 BPS Computer Science Lending Library - borrow CS materials
🔍 BPSTech HelpDocs - self-service guides, tutorials, and tips
📹 Watch or Subscribe to our YouTube Channel
📞 Call our Service Desk: 617-635-9200 or visit bostonpublicschools.org/techhelp
🐦 Tweet @BPSTechnology
bit.ly/BPS-sheets102
Thank You!
43
bit.ly/BPS-sheets102