If you have ever used a Google Form where the data goes into a spreadsheet you may have noticed the tab where the Form data goes acts a little funny. For the most part I like to leave the “Form Responses” tab alone and use other tabs to write my formulas and organize the responses.
Method 1: Duplicate the sheet. Click on the little arrow on the tab and choose duplicate. This allows you to change the data, move columns, write formulas, delete data you didn’t want, etc… without messing up the original data.
This is my method of choice if I am done collecting the data, I find I frequently want to go back and look at the original data set, but like being able to totally mess up the spreadsheet. If I do mess it up, I can always make a new copy of the data and start over.
Method 2: Link to the “Form Responses” information on another tab. If you create another tab and put =’Form Responses’!A1 into the new sheet, what is in cell A1 from the form responses tab will show up.
You can then insert columns, delete columns or rows, or can just change the data without destroying your original values. What you type on the new sheet does not change the values in the “Form Responses” tab so you can play with the data without risking messing it up.
Method 3: The problem with using =’Form Responses’!A1 is that you can not sort that data since it is mirroring what is on the Form Responses sheet. The other problem is if a new response is submitted into the form it does not go to the next row on the Form Responses sheet it inserts a new row. This is an important distinction. If the form simply put the next persons responses on the next line, let’s say row 10, then on the new sheet you created =’Form Responses’!A10 would show the timestamp for that form submission. However, since it INSERTS a row, what WAS row 10 is now row 11. Spreadsheets automatically adjust your formulas when you insert rows or columns so your formula =’Form Responses’!A10 is automatically changed to =’Form Responses’!A11. Meaning that 10th row on Form Responses will not show up on your other sheet ever unless you redo the formulas.
This is the same reason why when you write a formula on the Form Responses sheet in a blank column that when a new response is submitted the formula does not appear next to that response.
Solution: Use =importrange(“spreadsheet key”,”tab range”)
While I usually use =importrange to bring one Google Spreadsheet data into another spreadsheet, you can actually use this within the same spreadsheet.
Create a new tab. In cell A1 write the formula =importrange(”
The URL at the top of the spreadsheet contains the spreadsheet key. It is a long string of weird numbers and letters. It is NOT the whole URL. Make sure you put this in quotations.
In quotations put the name of the tab, an exclamation mark and the range of cells.
Even though I may only have 20 responses in my Form Responses I will still write my import range to be from 1 to 300 so that as new responses come in I do not have to modify the formula.
Using the import range method when new responses are submitted, they will be referenced on the new tab and the formulas you write will still work.
33 thoughts on “Google Forms: How to deal with formulas in the spreadsheet”
Wow, I scoured the internet for someone who could show me how to solve this problem. And you did it with a video! Very helpful, thanks (I’m making a spreadsheet for a babysitting coop, and I couldn’t figure out how to use formulas with the form data).
Thank you so much for this thorough yet efficient explanation! This was exactly what I was looking for!!!
Thank you!!! This was EXACTLY what I was looking for!
Thank you so much! I am creating a finance spreadsheet and this is EXACTLY the issue I had.
Method 3 is exactly what I need, but I can not seem to make it work. I’m copying the formula directly from above, then pasting in my spreadsheet “key” (from the = to the #) in place of yours (“0AiqrAI5UxSJNdGs2a1dZbkRuMWozak5Sanc5Wm95LWc”). I’m wondering if something might have changed with Google.
Thank you so much for any help
Have you worked with arrayformulas? It’s contrary to your desire to stay out of the form tab but it would solve the problem you initially show regarding new entries not carrying over your formula.
Try this in E1 for another way to get the calc to handle new/insert rows.
=arrayformula(IF(U1:U=”male”,”this is for a boy”,”this is for a girl”))
if you want to be clean with it you can add a null for rows not yet populated
=arrayformula(IF(U1:U=”male”,”this is for a boy”,IF(U1:U=”female”,”this is for a girl”,””)))
This is fabulous. I’ve been working on a solution that you’ve described in ‘solution 3’ by using arrays and it got really messy. Thanks so much 🙂
Does this work with the new google spreadsheets?
I was using method #3 – to display the data – as I wanted to add a drop down column in order to manually set a value for each entry – the problem is that when a new line is added via the form – everything moves down one – EXCEPT my drop down boxes. Is there anyway to have this data shift down too? Thanks in advance for your help.
Use importrange on a new tab, this is the trick that I use.
Thanks! This was straight forward and a perfect solution to my problem with bringing in new data via my form!
Nice solution. Thanks.
Alice- The Import Range function no longer seems to circumvent the INSERTED row issue. I think something changed with Google. Please tell me I’m wrong or there’s another answer! THANK YOU!
It does, I have been using it all this week. You are having a weird glitch I think.
Great video. I’m in need of help. I have a google form and that is where we get date to do estimates. I created a separate spreadsheet for calculations on the responses sheet. It already has all the formulas and calculations. My problem is everytime someone fills out the form it still skips the rows so the date is not being populated on the Calculation sheets. I tried using this but it’s still the same. Hoping for your response.
The importrange should theoretically work. Not sure what your spreadsheet is doing.
I’m trying to calculate an estimate on the Calculations sheet and I’m taking data from the original sheet. It has a lot of calculations maybe that might be the problem?
Hi, I found that i had ti use this “docs.google.com/spreadsheets/d/1a_OAz-O5nJnd4ENVvcxs66zuHy-VDdNNbQtn4ML07Bw/edit#gid=###### ” to get the ImportRange to work on my sheet 2.
However, the formula on my Form Responses 1 did not copy over the sheet 2, just the value and not the formula…any insight into this problem would be great…
Awesome video and excellent teaching!
True, NEW Google Sheets uses the WHOLE URL not just the ID.
Thank you very much for putting the effort into this that you did. It is definitely appreciated. Have a blessed day!
Thank you so much!! I’ve been trying to find a solution for this for about a month!
I am trying to use the import formula and I am getting the message “adding permissions.” Is this what is suppose to happen?
Your original spreadsheet is private
I was taking form inputs and added an extra column to that sheet to do some calculations. Unfortunately, those formulas got wiped when a submission was made.
Simply made a new sheet, then did the formulas on the new sheet.
You’re a star! Thanks again.
Thank you so much! My head was spinning until I read your blog. Your solution worked like a charm!! Really appreciate you posting this information.
So glad to help!!
Still having issues on form submit. All my formulas are pushed down on every form submission. Tried import range into another sheet but formulas get pushed down there too! Any ideas? I’ve been trying to solve this for weeks.
Try the add on “copy down”
You are awesome!!!!!!! I’ve been searching for this function to make some really neat things happen in my music room in several different form experiments! Today you’ve helped me my half day activity of entering student observations about violin and guitar similarities/differences (Entering it myself in class discussion for now, but in the future a flipped classroom experience…) with the end result as a word cloud. I’m trying to avoid all the in between steps that make it work, mainly replacing spaces with an underscore so that the word cloud generator keeps phrases together. Now that new form entries are copied over automatically I think I’m one step closer to the slick tool I want! Yay Google!
I am having the same exact problem as Redg Golez. Like the other user I have a spreadsheet for calculations with the values from the response sheet. My problem is that every time someone fills out the form the formula skips a row and then does not point to the correct response row. Any help is much appreciated. Here is a link to a the response spreadsheet: https://docs.google.com/spreadsheets/d/1uA_b5mnHVgBkhKTcj1ALo0BcbAsPCJUlpV0DsOeAJdc/edit?usp=sharing
It must have to do with changes Google implemented either for their form refresh in January of 2013 or in October 2014, because I created those forms back in 2012 and they did work until I got some reports from users recently.
Try the copydown add on in Sheets.
You must log in to post a comment.