The best way to do this is by converting your data to an Excel table. Select your data range (A1:E11), press Ctrl + T, and click OK. Excel names it something like "Table1"; in my case, it's Table3, ...
I can easily achieve the same result with a pivot table by dragging the Salesperson field into Rows and the Sales field into ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results