I had created a QUERY formula in Google Sheets and now trying to convert over to Excel. Since Excel doesn't have the equivalent "QUERY", I have attempted a couple of different workarounds, but cannot seem to get the desired results.
The formula queries a table and returns data based on the value in one or another column (desired value can be in one of two columns) and is as follows.
=QUERY(Sales!$A$3:$R$332,"SELECT A,B,C,D,H,I,J,K,L,M,N,O,P,Q,R WHERE F ='John Melvin' OR G = 'John Melvin'",1)
Bookmarks