How to automatically Import CSV with a script in Google Sheets

Sdílet
Vložit
  • čas přidán 21. 02. 2024
  • In this tip, you will learn how to automatically import CSVs from your Google Drive into your Google Sheet every day or every week
    ➤You can find the template from this video in my patreon page, where you´ll also have priority responses to your questions
    practicalsheets.com/patreon
    You can also join my academy practicalsheets.com, where you´ll find, not only the templates for this and all the videos, but also Google Sheets Courses, technical service, and more
    ➤You can also subscribe to the channel where you´ll find a new Sheets video every week.
    Here are some of the places where you can follow and support me:
    ➤Patreon: practicalsheets.com/patreon
    ➤Webpage: practicalsheets.com
    ➤Newsletter: practicalsheets.com/newsletter
    ➤Telegram: practicalsheets.com/telegram
    ➤Facebook: practicalsheets.com/facebook
    ➤Twitter: practicalsheets.com/twitter
    Any suggestion, question or insights, feel free to comment below

Komentáře • 8

  • @francescore3581
    @francescore3581 Před měsícem +1

    thanks so much!
    this tutorial help me a lot

  • @coombs013
    @coombs013 Před 3 měsíci +1

    I am getting an error "Cannot read properties of undefined (reading 'length') referring to line 19. Any idea how I can fix this? Everything else seems to be working, but it is not actually importing the data, I assume because of this "range / length" problem. Any help would be wonderful.

  • @aaw47
    @aaw47 Před měsícem +1

    🎯 Key points for quick navigation:
    00:00 *📝 Introduction to CSV files*
    - CSV is a text file representing a table with elements separated by commas.
    - CSV files are lightweight and useful for data transfer between software.
    - Understanding CSV basics is crucial before importing into Google Sheets.
    04:30 *📊 How to import CSV into Google Sheets*
    - Two main methods to import CSV into Google Sheets: uploading directly or using the "Import" function.
    - Various options available during the import process, like replacing, appending, or inserting the CSV data.
    - Understanding how Google Sheets handles CSV data alignment and data types upon import.
    07:57 *🔄 Automating CSV import using Google Apps Script*
    - Exploring the concept of automating CSV imports at specific times.
    - Creating a script to automatically import CSV data into Google Sheets.
    - Customizing the script for specific needs, like appending data or creating new sheets.
    25:49 *📁 Automating CSV Compilation Process*
    - Demonstrates the ability to compile multiple CSV files into one folder automatically.
    26:19 *🔄 Modifying Existing Sheets*
    - Explains how to import data into an existing sheet instead of inserting a new sheet.
    - Highlights the option to replace existing data or append new data carefully in Google Sheets.
    27:27 *📋 Implementing Automation Methods*
    - Shows how to create a menu for easy access to importing CSV data in Google Sheets.
    - Introduces setting up triggers to automate the import process on a daily basis.
    - Discusses the benefits and considerations of manual versus automatic import options based on the project's specific needs.
    Made with HARPA AI

  • @aungmyowin458
    @aungmyowin458 Před 3 měsíci +1

    How to import TSV file?

    • @practicalsheets
      @practicalsheets  Před 3 měsíci

      hmmm
      I think it should work similarly, but haven´t tried it.
      You may start by removin or modifyinf this condition
      if (type == "text/csv")
      Regards!