Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

198
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda