When creating a query in Google Sheets, I'm finding that hardcoding is working fine but using several references isn't working correctly.
Cell A2 = 0.75 (from a formula =(mround(Estimator!$C$4/57.2958,0.25)), type = number)
Cell B2 = 0.9 (from a formula =(mround(Estimator!$C$5+100,0.1)-100) type = number)
Specifically, the query below works:
=query(Time_Data, "SELECT N, O, P WHERE A="0.75" AND B="0.9)
And the query below works:
=query(Time_Data, "SELECT N, O, P WHERE A="&$A$2&" AND B="0.9)
But this query does not work:
=query(Time_Data, "SELECT N, O, P WHERE A="&0.75&" AND B="&$B$2)
And most importantly, this query does not work:
=query(Time_Data, "SELECT N, O, P WHERE A="&$A$2&" AND B="&$B$2)
Any suggestions about how to get this reference to work?