Useful functions: QUERY GSheets ARRAYFORMULA Indirect Accessing google sheets from a script: https://www.youtube.com/watch?v=zCEJurLGFRk