It isn’t easy getting people to fill up your forms. Many find it to be a chore that needs to be avoided as much as possible. However, what if you could make it easier for your respondents to fill up your Google Forms?
If you already have some information about your respondents and can get your Google Form to pull data from a spreadsheet or Google Sheet, your respondents would have to spend less time on your forms and you’ll get all the data you need from them.
All this is possible if you know how to create a prefilled Google Forms from Google Sheets. To do this, we need to learn how to link a Google Form to a spreadsheet and use the SUBSTITUTE formula.
If there is one thing that people hate, it’s filling forms with the same information over and over again. A prefilled Google Form makes the life of your respondents easier. Essentially, it is a form you send to people with certain fields being pre-populated from data in a Google Sheet.
You probably already have information such as their name, roll number, and other data. You can use this data to autofill a Google Form before sending it to your respondents.
The SUBSTITUTE formula is used to replace existing text with new text in a cell. In this scenario, the SUBSTITUTE formula will allow us to pre-populate the Google Form from a Google Spreadsheet.
The prefilled Google Form that we will be sending out is a form that will ask the students whether they want to use the offline mode of study. Using the formula we can fill in the student details such as name, roll number, and more so that the students can focus on the important questions in the Google Form. The form contains the following details:
The Google Sheet contains the details of the students that we will be used to pre-fill the Google Form:
To create mass-prefilled Google Forms, we need to create a template Google Form link with the required fields for information. To do that follow these steps:
2. When you get a Google Forms prefilled link, you'll be taken to a new form where you should input dummy data.
3. After entering dummy data you will see a button that says Get Link. This link is the pre-filled Google Form link in which we will be substituting the new values using the formula. The google form link will get copied to your clipboard.
Now that we have got the template it's time to learn how to link your Google Form to a spreadsheet so that the fields get populated automatically. We will use the template to create bulk pre-filled google forms using the SUBSTITUTE formula. To do that follow these steps:
2. Switch back to the previous Sheet that has the student details that need to be pre-filled.
3. Next select the cell under the Google Form Link column.
4. Start the formula by typing SUBSTITUTE (
5. Here we will pass the following parameters in the SUBSTITUTE Formula:
6. After you close the formula and open the Google Form, you will see that the name question in the Google Form contains the data present in B3.
We are going to do the same for all the questions present in the Google Form. To do that we are going to add as many substitute formulas as there are columns of information to pre-fill
The final SUBSTITUTE formula will look as follows :
=SUBSTITUTE (SUBSTITUTE (SUBSTITUTE (SUBSTITUTE (SUBSTITUTE ( Sheet5!$A$1,"DummyName",B3), "A001",A3), "B",C3), "Yes", D3), "Keep+hand+sanitizer+dispensers+in+the+school",E3)
Here we have started by mentioning the name of the Google Sheet followed by the cell where the Google Form Link is stored. Then for all the times, we need to SUBSTITUTE we have mentioned the value in the Google Form followed by the cell with which has to be replaced.
After saving the formula, the prefilled Google Form will look something like this.
Here you can see all the data from the Sheet are pre-filled, and only new questions remain empty.
Now that the prefilled Google Forms are ready for all the students, it's time to send them over to the students. Doing this manually will be a very hectic task, we can automate this process by using Google Apps Script or the YAMM add-on.
Before we get into creating the draft for the email, we have to install the YAMM add-on to our Google Sheet. I have covered these steps in my previous blogs, click on the link to know more.
To create the draft, you have to follow the same steps that you follow to write an email. To create your draft, follow these steps:
Copy the contents of the email:
Dear >, Your roll number is > . Now that the covid cases have dropped, we are planning to start school offline. Here is the Google Form : > In this Google Form, fill in the necessary details. Regards, Moderator Passion Education School
4. Here I have done the following:
5. After you are done creating the draft, save and close the draft.
Now that we have installed the YAMM Add-on, created the email draft, it's time to send out the emails. To send out the emails, follow these steps:
2. On clicking Start Mail Merge, it will bring up a box where you need to put in some details.
Here you need to specify the sender name, followed by the email template that you want to use.
Now that we have added all the features that we need, let's send out the emails. You can do the following:
For now, we are going to go ahead and send the emails by clicking on Send 10 Emails.
Here you can see on successful execution the email has been sent successfully and all the details have come in properly.
Here you can see all the details that we had specified have successfully come into the email.
In this blog, we covered how to create pre-filled Google Forms using the SUBSTITUTE Google Sheet formula. After creating the pre-filled Google Forms, we sent the forms to the students on their email addresses using YAMM. You can send your feedback to aryanirani123@gmail.com