When I use the =QUERY
function in Google Sheets, it returns the value in the cell beneath where I typed the function. I want the returned value to appear in the cell I typed the function. Currently, I have
=QUERY(Data!$L:$N,"select avg(N) where L = '"&CONCATENATE(B$1,$A2)&"'")
in cell B2, and it is returning the value in B3.
How can I return the value into B2 instead of B3?