Data analysis using pivot tables in Microsoft Excel