CREATE ADVANCED PIVOTTABLES AND USE DATABASE FUNCTIONS
- Open the file NP_EX19_EOM11-1_FirstLastNamexlsx, available for download from the SAM website.
- Save the file as NP_EX19_EOM11-1_FirstLastNamexlsx by changing the “1” to a “2”.
- If you do not see the .xlsx file extension in the Save As dialog box, do not type it. The program will add the file extension for you automatically.
- With the file NP_EX19_EOM11-1_FirstLastNamexlsx still open, ensure that your first and last name is displayed in cell B6 of the Documentation sheet.
- If cell B6 does not display your name, delete the file and download a new copy from the SAM website.
- Nadia Ivanov is a partner at Qualey Consulting, a consulting firm with headquarters in Hoboken, New Jersey. She uses an Excel workbook to track sales related to consulting projects and asks for your help in summarizing project data. To do so, you will use database functions and advanced PivotTable features.
Go to the Sales Report worksheet, which contains a table named Sales listing details about consulting projects completed in 2021. In the range M3:P8, Nadia wants to summarize project information. Start by calculating the number projects for clients in each business category. In cell N4, enter a formula using the COUNTIF function that counts the number of projects for clients in the Banking category, checking that the Category column in the Sales table (Sales[Category]) is equal to the value in cell M4. Fill the range N5:N8 with the formula in cell N4.
- In column O, Nadia wants to calculate the total sales for each category. In cell O4, enter a formula using the SUMIF function that totals the sales for Banking projects, checking that the Category column in the Sales table is equal to the value in cell M4, and that the formula totals the sales for all four quarters (Sales[Total Sales]). Fill the range O5:O8 with the formula in cell O4.
- In column P, Nadia wants to calculate the average sales for each category. In cell P4, enter a formula using the AVERAGEIF function that averages the sales for Banking projects, checking that the Category column in the Sales table is equal to the value in cell M4, and that the formula averages the sales for all four quarters (Sales[Total Sales]). Fill the range P5:P8 with the formula in cell P4.
- Nadia needs to identify the number of projects that have total sales more than $10,000 and those for client KERRA. In cell N12, create a formula using the DCOUNT function to count the number of projects with total sales of more than $10,000, using the data in the entire Sales table (Sales[#All]) and counting the values in the Total Sales column (“Total Sales”) that are equal to the values in the range M10:M11.
- In cell N16, create a formula using the DCOUNTA function to count the number of projects for client KERRA, using the data in the entire Sales table (Sales[#All]) and counting the values in the Client ID column (“Client ID”) that are equal to the values in the range M14:M15.
- Nadia also needs to calculate the total sales for marketing plans and the average sales for clients in New Jersey. In cell N20, create a formula using the DSUM function to calculate the total sales for marketing plans, using the data in the entire Sales table (Sales[#All]) and totaling the values in the Total Sales column (“Total Sales”) for services equal to the values in the range M18:M19.
- In cell N24, create a formula using the DAVERAGE function to calculate the average sales for clients in New Jersey, using the data in the entire Sales table (Sales[#All]) and averaging the values in the Total Sales column (“Total Sales”) for clients in states equal to the values in the range M22:M23.
- Go to the Sales by Category Nadia has created a PivotTable named CategoryPivot to list the sales by business category, date, and service type. The data would be easier to interpret if the dates appeared as quarter numbers. Group the Start Date field values by Quarters only. Change the report layout to Compact Form to make the PivotTable look less cluttered.
- Go to the Sales by Client Nadia created a PivotTable named ClientPivot that lists sales by client and state, but she wants to simplify the PivotTable by displaying the sales by client and region. Manually group the CT, NJ, and NY column labels (cells B3, E3, and F3). Use North as the name of the group. Manually group the GA and FL column labels in row 4 and use South as the name of the group. Remove the State field from the Columns area. Rename the State2 field to use Region as the custom name. Sort the South values in ascending order to list first the North sales amounts in column B followed by the South sales amounts in column C. Hide the field headers to further streamline the layout.
- Go to the Sales by Service worksheet, which contains a PivotTable named ServicePivot that compares the Quarter 1, Quarter 4, and Annual sales for each service provided in 2021. Nadia wants to know the difference and the percentage of difference between the Quarter 4 and Quarter 1 sales and display the average total sales for each service. Insert a calculated field named Difference that subtracts the Qtr1 field amount from the Qtr4 field amount. In cell E2, use +/- Q4 to Q1 as the column label.
- Insert another calculated field named % Difference that subtracts the Qtr 1 field amounts from the Qtr 4 field amounts, and then divides the result by the Qtr 1 field amount. In cell F2, use % Q4 to Q1 as the column label. Change the number format of the % Q4 to Q1 amounts to Percentage with 2 decimal points.
- Add the Total Sales field to the Values area of the PivotTable, making it the last field in the Values area. Use the Average calculation to summarize the Total Sales field data. Move the Annual field so that it is listed as the last field in the Values area.
- Nadia also wants to display details about the two services with the highest total sales. Apply a Value Filter to the Service field that displays the top 2 items by the Annual sales amount. [Mac hint – Sort the filter by Descending.]
Your workbook should look like the Final Figures on the following pages. Save your changes, close the workbook, and then exit Excel. Follow the directions on the SAM website to submit your completed project.
Final Figure 1: Sales Report Worksheet
Final Figure 2: Sales by Category Worksheet
Final Figure 3: Sales by Client Worksheet
Final Figure 4: Sales by Service Worksheet
Click on Buy Solution and make payment. All prices shown above are in USD. Payment supported in all currencies. Price shown above includes the solution of all questions mentioned on this page. Please note that our prices are fixed (do not bargain).
After making payment, solution is available instantly.Solution is available either in Word or Excel format unless otherwise specified.
If your question is slightly different from the above question, please contact us at firstname.lastname@example.org with your version of question.