Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

How to get values from sheet of Google Form responses to main sheet?

$
0
0

I have a Google Sheets workspace that contains a main sheet, which has the formatting that I want to display for users, and a second sheet, which stores the responses to a Google Form. I'm having trouble getting the response data from the responses sheet to the main sheet, as each newly entered form response creates a new row in the responses sheet, but the formulas I've written in the main sheet automatically adjust so that the formulas don't locate the correct row/column of the responses sheet. That is, if a newly entered form response merely put the response values into the first open row, my main sheet would automatically look at this index, but because a new row is added, the main sheet instead indexes the row that originally existed on the response sheet (but which remains empty).

Here's an example of my problem:

The main sheet:

Turn Count
=INDEX('Form Responses 2'!E11)

The responses sheet, Form Responses 2:

What Turn Was Reached?
[a number value, e.g. 1, 42, 100]

The formula given in the main sheet occurs in D11, and I want to get information from cell E11 from sheet Form Responses 2. Further, I want to be able to copy the formula from main sheet cell D11 to cell D12 and have the formula automatically update to index cell E11 from Form Responses 2. However, when a new response is entered into row 12 on Form Responses 2, the formula at cell D12 reads [...] 'Form Responses 2'!E13 [...].

I don't think I need VLOOKUP() or HLOOKUP(), as I'm not searching for keys/values on the other sheet—I know precisely where I want my data from, I just want the main sheet populated with the data from the second sheet.

My problem is similar to the one found here: How to get new Google Form responses to take on non-form functions in Google Sheets

I've tried using QUERY() instead of INDEX(), as well as ArrayFormula() as was suggested in the link for the similar problem above, but neither of these helped. Further, I have tried using absolute index (i.e. 'Form Responses 2'!$A$11), but the formula doesn't automatically update when I copy it (in the main sheet) to row 12.

In response to respondents here, I tried adding ":E" after the cell location I want data from (e.g. =INDEX('Form Responses 2'!E11:E)), but this created an error #REF!, which had a tooltip stating: "ErrorArray result was not expanded because it would overwrite data in D13." This error also occurs if I try =ArrayFormula(INDEX('Form Responses 2'!E11:E)). I also looked at the documentation for FILTER(), and I don't think it would be useful to solve my issue, though I admit I haven't yet tried to implement FILTER() and may be wrong in this assessment.

Is there a way to get the information to the main sheet automatically, as I hope is possible?


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>