Skip to content
Advertisement

How can I stop this from over writing the data and adding it to last row in google sheets

I am trying to import data from a csv file, the script works as it brings the data in but over wright the data already in my sheet, please how do I get this script to insert in the next available row also how do I only fetch from row 3?

JavaScript

Advertisement

Answer

Explanation:

  1. To insert the data in the next available row:

    JavaScript
  2. You can use slice to get from the third row onwards:

    JavaScript

Solution:

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement