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

196
Vistas
Converting G-Sheet formula to Apps Script (Or Equivalent JSON) Code

I'm working to create an Apps Script to automate some of my tasks at work. I am able to get the desired results with the g-sheet equation: =ARRAYFORMULA(VLOOKUP(A2:A2000,UNIQUE(QUERY({A2:A2000,F2:F2000,I2:I2000},"SELECT Col1, Col2, Col3 WHERE Col3 = 'Employee'", 0)),2,FALSE))

which works in 3 parts:

  1. Query: returns only the unique "Employee" values for columns A, F, & I.
  2. V-Lookup: Returns the 2nd index of the query based on matching e-mails.
  3. Array Formula: Returns all values for the entire array in column A.

However, I need to convert the functions above to an Apps Script acceptable format, and where the result of the script would be to return an array containing the values. I have been searching around to find something similar, but have not had much luck with it.

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