I am working on a spreadsheet in google sheets that tries to do the following.
- Retrieves a table by scraping a website.
- Uses a query within that table to retrieve a specific value in the table.
- Uses an existing cell in the spreadsheet to determine the value to match.
You can see the spreadsheet here. Cell D2 is the one in question. It attempts to use the C2 value to build a query. It doesn't work for some reason. I believe I have the correct syntax, but I'm not sure. Directly below in Cell D3 is the same formula with the value directly entered rather than referring to the cell.
I am getting an error that says "query completed with an empty output", which doesn't make sense to me when it works with the value directly inputted.