Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8246649
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T22:34:33+00:00 2026-06-07T22:34:33+00:00

I have Google form that gets filled in by a few users. Works great

  • 0

I have Google form that gets filled in by a few users. Works great but has it’s limitations.

I’d like to copy the data entered from the active sheet to a new sheet called “work”, all information except the first row that is. In the first row I have a few array formulas that populate some cells as new data is entered on the active sheet.

The second sheet (work) has a header row with all the formatting, data validation, some formulas etc (row 1). This information can not be applied when a new record is added via the form.. so I am told..

Thus, once the data has been copied from the active sheet (called active) I’d like the new data to be formatted as per the heading row (row 1) of the “work” sheet with all the formatting, validation, formulas etc being applied to the new data.

Is this doable? I am a noob when it comes to scripting so a complete solution would be highly appreciated.

here is a sample form you can play with
https://docs.google.com/spreadsheet/ccc?key=0AplugTacg-08dFNRUHROSW82bDhESkxBdjVTV0NOLUE

First thing i noticed one can not just copy/paste as the array formulas will bong things up so it has to be a paste special – values only

Any help greatly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T22:34:34+00:00Added an answer on June 7, 2026 at 10:34 pm

    I’m struggling a bit with the logic behind what you’re doing, but I’ve attempted a solution in sheet ‘work2’ in this copy of your spreadsheet. Perhaps have a play and report back what’s not right or missing.

    The script is this:

    function onFormSubmit(e) {
      var sheet = SpreadsheetApp.getActive().getSheetByName('work2');
      var nextRow = sheet.getRange(sheet.getLastRow() + 1, 1, 1, 9); 
      sheet.getRange(2, 1, 1, 9).copyTo(nextRow);
      var sLength = e.values[2].length;
      var huuh = e.values[3] * sLength;
      var pending = e.values[3] * e.values[3] / huuh;
      var nextMonth = e.values[3] + pending;
      nextRow.setValues([[e.values[0], e.values[1], huuh, e.values[2], sLength, e.values[3], 'Please select action', pending, nextMonth]]);
    }
    

    and has an “on form submit” trigger attached to it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a form that is capturing data sent from a google LocalSearch API.
I have a form that submit a shopping cart to Google Checkout. The form
I am writing an HTML form that uses a google map, but to reduce
I have a form that uses google docs and when you submit it will
I have a simple PHP script with a form that has two select fields,
I have a form that submits data to the server that looks like the
I have a form that I have created using Google App Script. And it
I have a form that allows you to preview coordinates via a google map.
We have a form that submits data to various Google Spreadsheets using Zend Gdata.
We have used Google form, Wufoo form to try to securely capture the info

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.