1. Open the excel sheet and click the Insert tab
2. Select the pivot table
Select the table area you want to pivot, and be careful not to select fields with blanks:
If a blank field is selected, the selection is unsuccessful:
3. You can choose the value type of statistics, whether to sum or count: