1
votes

So I have a sheet with two columns Time Zone and Time . I want to convert all these times to EST in a new column. Is there a way I can do this either with scripts app or native sheets formula?

Image of Sheet

1
Do the time zones follow any specific format? Where were they retrieved from?Iamblichus

1 Answers

1
votes

add Sheet2 and paste in A1:

=UNIQUE(Sheet1!E2:E)

in B column set the diference:

enter image description here

then use formula:

=INDEX(IF(G2:G="",,TEXT(G2:G+IFNA(VLOOKUP(E2:E, Sheet2!A:B, 2, 0)/24), 
 "yyyy-mm-dd h:mm AM/PM")))

enter image description here

demo spreadsheet