An advanced query can be achieved through Data ► Sort & Filter ► Advanced. The command can reproduce SQL query-like results with both AND and/or OR criteria.
The Advanced Query command will gain new functionality with the addition of Power Query to Excel 2010+ versions.
More Information at
Create an advanced query (Power Query)
Microsoft Power Query for Excel Help