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

187
Views
¿Cómo imprimir una matriz 2d en la hoja de google usando el script de google?

Tengo datos de matriz en 2d y quiero imprimir en googlesheet. Los datos se ven así:

[['TIGRE' 'NARANJA'], ['SERPIENTE' 'VERDE'], ['OSO' 'MARRÓN'], ['PESCADO' 'AMARILLO']]

y el resultado esperado en la hoja de Google es: ingrese la descripción de la imagen aquí

¿Hay alguna idea de cómo hacer esto? gracias por la ayuda.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Probar

 function insertData(){ var data = [['TIGER','ORANGE'], ['SNAKE','GREEN'], ['BEAR','BROWN'], ['FISH','YELLOW']] var sh=SpreadsheetApp.getActiveSheet() sh.getRange(1,1,data.length,data[0].length).setValues(data) }

ingrese la descripción de la imagen aquí

about 4 years ago · Juan Pablo Isaza 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!