=IF(A2="Work Instructions",QUERY(Data!A2:N,<wbr>"select D where E='"&C2&"' and F='"&E2&"'"),IF(A2="Standard Work",QUERY(Data!A2:N,"select D where H='"&C2&"' and I='"&E2&"')")))
I'm trying to build a query that can be manipulated a little bit. What I want is for it to query (sheet'Data') columns...