Skip to content

Instantly share code, notes, and snippets.

@peterkappus
Created July 8, 2016 13:33
Show Gist options
  • Save peterkappus/13cc3fe1778025e45683d619b9cf545b to your computer and use it in GitHub Desktop.
Save peterkappus/13cc3fe1778025e45683d619b9cf545b to your computer and use it in GitHub Desktop.
Some handy tidbits for working with Google Spreadsheets

Select rows within a date range using an import range statement.

=query(importrange("https://docs.google.com/spreadsheets/d/<PEOPLE_DATABASE>/edit#gid=1208515556","CS People Database!A:Z"),"SELECT * WHERE Col6 = TRUE AND Col14 > date '" & text(E1,"yyyy-MM-dd") &"' AND Col14 < date '" & text(G1,"yyyy-MM-dd") &"' Order by Col14")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment