
Before you begin
- Labs create a Google Cloud project and resources for a fixed time
- Labs have a time limit and no pause feature. If you end the lab, you'll have to restart from the beginning.
- On the top left of your screen, click Start lab to begin
Create a Survey using Google Forms
/ 20
Analyze survey data in Sheets
/ 20
Analyze responses using OR and COUNTIF
/ 20
Make questions required and use response validation
/ 20
Show questions based on answers
/ 20
For this lab you read through a fictitious business scenario. By completing the various lab activities, you assist the characters with their Google Sheets usage.
Thomas Omar and Seroja Malone started On the Rise Bakery as a small family business to share their love of international flavors and nostalgic baked goods. They expanded from New York City to across North America and now have bakeries around the world. As the company has grown, they have hired staff to help oversee daily operations for multiple locations.
Google Forms lets you easily create and share online forms and surveys and analyze responses in real time.
In this lab, you learn how to create, edit, and share an online survey using Google Forms. You learn how to implement validation and conditional logic in surveys. You also use Google Sheets to analyze survey responses.
In this lab, you learn how to perform the following tasks:
If you're new to Google Sheets, the following courses are recommended: Google Sheets, Google Sheets - Advanced Topics.
You might also find it helpful to complete the following lab: Google Sheets: Getting Started.
Read these instructions. Labs are timed and you cannot pause them. The timer starts when you click Start Lab and shows how long Google Workspace resources are available to you.
This Google Workspace hands-on lab lets you do the lab activities yourself in a real cloud environment, not in a simulation or demo environment. It does so by giving you new, temporary credentials that you use to sign in and access Google Workspace for the duration of the lab.
To complete this lab, you need:
When you are ready, click Start Lab in the upper left panel.
The Lab Details pane appears with the temporary credentials that you must use to sign into Gmail for this lab.
If you need to pay for the lab, a pop-up opens for you to select your payment method.
Click Open Google Drive.
The lab spins up resources, and then opens another tab that shows the Sign in page.
Tip: Open the tabs in separate windows, side-by-side.
If necessary, copy the Username below and paste it into the Sign in dialog.
Click Next.
Copy the Password below and paste it into the Welcome dialog.
Click Next.
Accept all terms and conditions as prompted.
Google Drive opens and you are signed in to the Student Google Account.
On the Rise Bakery is expanding to a new city and wants to conduct market research. Help the staff to create a survey for prospective customers to share which foods they are interested in.
To open Google Drive, click drive.google.com.
In the left panel, click + New, and then click Google Forms > Blank form.
A new web page containing a blank Google Form should open.
To name the form, in the upper-left corner, click Untitled form, and type On the Rise Bakery Survey
Notice the updated file name also appears on the form.
For Form description, type The purpose of this survey is to gauge the pastries and other food items of interest to our potential customers.
Question | Answer Format |
---|---|
Email Address | Short Answer |
What are your favorite items to buy at a bakery? (Choose up to three) | Checkboxes with these five options:
|
What time do you expect a bakery to open/close? | Short answer |
Google Forms supports several question types. You can:
Type an answer using short answer or paragraph text
Choose a response from a list using multiple choice, checkboxes, or dropdown options
Upload files
Choose from a grid
Select a date and time
To learn more, check out Choose a question for your form.
Click Check my progress to verify the objective.
In this task, you submit sample entries to the Google Form to analyze in a later step.
Question | Response |
---|---|
First Name | Chigo |
Last Name | Williams |
Email Address | cwilliams@mail.com |
Favorite items | Bagel with Egg and Cheese |
Preferred bakery hours | 5am-3pm |
Click Submit.
To provide a second sample, click Submit another response.
Repeat steps 2 and 3 with the following information:
Question | Response |
---|---|
First Name | Lauren |
Last Name | Rodriguez |
Email Address | laurenr1980@mail.com |
Favorite items | Donuts, Donut Holes |
Preferred bakery hours | 6am |
Question | Response |
---|---|
First Name | Josephine |
Last Name | |
Email Address | josieyu@mail.com |
Favorite items | Donuts, Donut Holes, Plain Bagel, Muffin |
Preferred bakery hours | 6am-12pm |
Notice that you can submit the surveys despite missing required data such as last name and selecting more than the limit of three bakery items.
In this task, you explore a few Google Sheets functions. To learn more about functions, visit the Google Workspace Learning Center.
Return to the editor view of your form. If you've exited, visit Google Forms to reopen it.
In the top pane, click Responses.
Your form should have three responses.
Click Summary for an overview of the survey responses in charts and tables.
Click Question to display the responses grouped by question.
Click the dropdown or arrows to display the responses to each question.
Click Individual to display the form submission for each respondent.
On the Responses tab, in the upper-right, click Link to Sheets ().
In the Select destination for responses dialog, accept the default for Create a new spreadsheet, and click Create.
A new spreadsheet with the filename On the Rise Bakery Survey (Responses) should open.
At the bottom of the spreadsheet, click the down arrow next to the Form Responses 1 label, and then click Duplicate.
Click Check my progress to verify the objective.
Follow this procedure in the duplicate sheet of your spreadsheet.
In cell G1, type Missing Full Name?
In cell G2, type or paste =OR(ISBLANK(B2), ISBLANK(C2))
This formula flags any rows that are missing a first name or last name.
Click cell G2, and then point to the small blue box in the lower-right corner of the cell until your cursor appears as a cross (+).
Drag your mouse down to the remaining rows in the column to apply the formula to those cells.
In cell H1, type Interest in Donuts
In cell H2, type or paste =COUNTIF(E2,"*Donuts*")
This formula counts any cells in column E that contain the word Donuts.
Click cell H2, and then apply the formula to the remaining rows in the column.
Click Check my progress to verify the objective.
In the earlier section, you bypassed a rule intended to require respondents to provide a first and last name. The response validation feature can help enforce the guidelines that you want respondents to adhere to.
When a question is required, a red asterisk appears next to the question. If you try to proceed without answering a required question, you’re prompted to provide a response.
Return to the On the Rise Bakery Survey in Google Forms.
In the text of the first question, delete (Required), and then click the Required slider () to enable it.
In the text of the second question, delete (Required), and then click the Required slider () to enable it.
In the top pane, click Settings.
Underneath Question Defaults, click the Make questions required by default slider () to enable it.
Click Check my progress to verify the objective.
In this task, you set up branching in the Google Forms survey so that respondents only see certain sections based on their answers.
To create a new section of the form, click Add section ().
Change the section title to Afternoon Treats
Click Add question (), and add a new question: What are your favorite items to buy at a bakery in the afternoon? (Choose up to three)
From the dropdown of question types, select Checkboxes, and then type the following answer choices:
Click more (), and then select Response validation.
In the first dropdown that appears, select Select at most, and then for Number, type 3
For the sixth question in Section 1 of the survey, which reads What time do you expect a bakery to close?, click more (), and then select Go to section based on answer.
From the dropdown next to 11 AM, select Submit form.
To view and respond to the survey in a new tab, click Published.
Select Copy responder link and then Copy.
In a new browser tab, open the survey using the link you copied.
Answer the survey questions with responses of your choice, and for the bakery closing time, select 11 AM.
Click Next, and then click Submit.
Notice that you are not asked the question about afternoon snacks.
Click Submit another response.
Answer the survey questions in Section 1 with responses of your choice, and for the bakery closing time, select 12 PM or later.
Click Next, and then answer the question in Section 2.
Click Submit.
Click Check my progress to verify the objective.
The IF function evaluates a logical expression. You can use IF to display a particular value when the expression is TRUE and another if it's FALSE. The IFS function evaluates multiple logical expressions.
To make a copy of the spreadsheet with sample survey responses, click On the Rise Bakery Survey (Responses).
At the top, click File > Make a copy, and then click Make a copy to save the copy of the sheet.
In cell I1, type Respondents with the same morning and afternoon food preferences
In cell I2, paste or type =IF(E2=H2,"I enjoy the same foods.")
This formula identifies the respondents who indicated the same food choices in the morning and afternoon.
Apply this formula to the rest of the rows in column I.
In cell J1, type Opening Times
In cell J2, paste or type =IFS(F2<time(6,0,0), "Very Early Morning",F2<time(8,0,0), "Early Morning",F2<time(10,0,0), "Mid Morning")
This formula sorts the opening times provided in the survey into three categories:
Apply this formula to the remaining rows in the column.
In this lab, you created a Google Form with required responses and data validation. You also used conditional logic to show questions based on answers and analyze data in Google Sheets.
Check out the following for more information on Google Sheets:
...helps you make the most of Google Cloud technologies. Our classes include technical skills and best practices to help you get up to speed quickly and continue your learning journey. We offer fundamental to advanced level training, with on-demand, live, and virtual options to suit your busy schedule. Certifications help you validate and prove your skill and expertise in Google Cloud technologies.
Manual Last Updated April 22, 2025
Lab Last Tested April 22, 2025
Copyright 2025 Google LLC. All rights reserved. Google and the Google logo are trademarks of Google LLC. All other company and product names may be trademarks of the respective companies with which they are associated.
This content is not currently available
We will notify you via email when it becomes available
Great!
We will contact you via email if it becomes available
One lab at a time
Confirm to end all existing labs and start this one