I am just figuring out how to achieve an apparently simple problem. I use to have data as in database tables in my spreadsheets. It's simple data but I often need to use =QUERY
function and would be great if it could manage joins.
Any simple workaround over this?
Example
https://docs.google.com/spreadsheets/d/1YBf367DFhkwlnnsEuNxLoyWbtbo77KbH2VDEvtTf-zY/edit?usp=sharing
There are users subscription information and delivery dates, I want to CROSS JOIN both. In SQL would be something as simple as this:
SELECT dates.date, users.name
FROM dates, users
WHERE dates.date BETWEEN users.date_begin AND users.date_end
How would you do that?
Best Answer
With the following little script you can do that.
Code
Screenshot
data
outcome
Example
I've added the script to your example file.