I have two spreadsheets and would like to enter a value into cell A1, have it check multiple columns in a spreadsheet named 'data' and output information from other columns if it's a match.
----------------------------------------------
| J. Smith | 1 | 2 | ABC |
----------------------------------------------
| A. Smith | 2 | 3 | DEF |
----------------------------------------------
I was able to write the following to check only one column but can't seem to get an 'or' statement to work:
=query(data!A:B;"select A,D where B ="&A1;1)