Scripting in Google Sheets

Soldato
Joined
28 Apr 2011
Posts
15,210
Location
Barnet, London
We use Google Sheets at work, we export a lot of our data into Google Sheets and I was thinking how easily I got stats and analysis on this data if it was actually a database.

This made me wonder, maybe I should learn how to script and such in Google Sheets? Does anyone have any advice? Is it based on another language? Can anyone recommend a decent online course?

Thanks.
 
Thanks, some good information.

An example of something I was wanting to do -

[Name] - [Employee #] - [Line Manager] - [Most Recent Review Date]

I wanted how many employees each line manager had that had not had a review in the last 6 months. I think I could work that out quite easily as a MySQL query, but wouldn't know how to do it in sheets.
 
Well, I'd need to count them grouped by line manager, but yes. Just now having a look at the query function. I didn't realise you could basically use an SQL query in Sheets. (Now looking through the Ben Collins link above.) Thanks.
 
Last edited:
Nope, you can use GROUP BY in an SQL command and count how many in that group and you can apparently do it in Google Sheets. I didn't realise you could use Psuedo SQL in Sheets... this will be fun! :)

Pretty much got it working, bar the date, which it reads from a different cell where the date calculation goes on. I find dates and date formats are always a massive PITA in coding :(
 
Back
Top Bottom