I can easily achieve the same result with a pivot table by dragging the Salesperson field into Rows and the Sales field into ...
You can use VLOOKUP with Google Sheets similar to how the search function is used to find information in Excel.