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

181
Visualizações
How to get time according to the offset provided by the user in google apps script?

I have been trying to convert time in google sheet cell according to the offset provided by the user. Here is an example:

Cell A1(Current): 01:00 AM
Cell A2(offset) : -5
Cell A3(Desired): 08:00 PM

Is there any method using which we can convert cell A1 into cell A3? Thank you

about 4 years ago · Santiago Gelvez
1 Respostas
Responde à pergunta

0

You can try this in A3:

=TIMEVALUE(A1) + (A2/24)

You will need to format A3 as hh:mm am/pm.

It's not clear why you need a script to accomplish this task. But if that is the case for some reason, I recommend that you add that reasoning to your post. Many users (particularly new ones) on this forum include the word "script" in their headlines or posts when they don't really know what one is, why they'd need one, or the difference between "script" and "formula"; so the volunteer contributors here will often provide the easiest/quickest route to the solution (which is the formula).

about 4 years ago · Santiago Gelvez Relatório
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