I've created a Google Form to enable respondents to calculate an estimate of costs by providing information through the form that is processed and returned with the estimate in an auto confirmation email message.
Form data is collected in the Form Responses spreadsheet and copied instantly to a second worksheet through function =Query('Form Responses 1'!A:K). Formulas are applied to the data in the second sheet to result in a dollar estimate.
I'm using a script in my Google sheet that I found here in order to generate the confirmation email: http://www.labnol.org/internet/auto-confirmation-emails/28386/#comment-1852825342
Where I'm stuck is in figuring out how to display the cost estimate in the confirmation email that goes to the form respondent. If I pull it from the second sheet into the last column in the Form Responses sheet, then it gets bumped to the next row when each new response is written, since each inserts a new row into the sheet.
On the other hand, I can't figure out how to populate the confirmation email message with fields from the second sheet instead of the first.
Any solutions for me?