Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

82
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!