Google Sheets – Query Using Date Range Not Working

formulasgoogle sheetsgoogle-sheets-arrayformulagoogle-sheets-datesgoogle-sheets-query

I have a spreadsheet (URL below). I've set up a query to make sure I understand how to do a query with a date range. Then I tried to create a similar query on the "real" data. The "Week 1" worksheet feeds the "Week 1 data" worksheet, where I manipulate the data and it contains the query. The data range query returns no results. All other queries work.

my spreadsheet

Best Answer

={B1:F1; QUERY(ARRAYFORMULA({B2:D, TO_DATE(VALUE(E2:E)), F2:F}), 
         "select * where Col4 >= date '"&TEXT($G$1,   "yyyy-mm-dd")&"' 
                     and Col4 <= date '"&TEXT($G$1+5, "yyyy-mm-dd")&"'", 0)}