Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

85
Vistas
Spreadsheet Service: Reading Data

I am following this tutorial to read data from a Google Spreadsheet. However, I am trying to find some documentation on that method, but I cannot find it. There's an official guide on how to read from a single range, but it doesn't address the specifics for different sheets. Could someone help me read data or offer skeleton code?

This is what I have so far:

function getLatestRotations() {
  const spreadsheet = SpreadsheetApp.openById("<SPREADSHEET ID>");
  const sheet = spreadsheet.getSheetByName("<SHEET NAME>")

  const columnFriday = sheet; //method to get column id?
  const columnSunday = sheet;
  
  rotations = {};
  return rotations;
}
about 4 years ago · Santiago Gelvez
1 Respuestas
Responde la pregunta

0

How to get all values in a column

function getLatestRotations() {
  const ss = SpreadsheetApp.openById("<SPREADSHEET ID>");
  const sh = ss.getSheetByName("<SHEET NAME>")
  const column = 1;
  const vs = sh.getRange(1,column,sh.getLastRow()).getValues();
  Logger.log(JSON.stringify(vs));
}
about 4 years ago · Santiago Gelvez Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda