I have a Google Sheet SELECT Query as below. I am expecting the query to retrieve a valid rows with the month part of the date matching the value in D8.
I am not getting any error but the query comes back with #N/A
=query(IMPORTRANGE("sheetID","Form responses 1!A2:H"),"select Col1,Col3,Col5,Col6,Col8 where Col3='"&$B8&"' and month(Col6)='"&D8&"'")
Can someone please help me to reconstruct the above query.