Clemenson Imaging analyzes expense reports from field representatives as well as patient and image data. To complete the worksheets, you format data as a table and build an advanced filter. You import a comma-separated text file (.csv) and use the Subtotal command. Finally, you display data in a PivotTable.
This image appears when a project instruction has changed to accommodate an update to Microsoft 365 Apps. If the instruction does not match your version of Office, try using the alternate instruction instead.
IMPORTANT: If you are a Canadian user, be sure to verify that your browser and Microsoft Office use the same country settings. See here for a Help topic on how to change your settings.
Open the Clemenson-04.xlsx start file. Click the Enable Editing button. The file will be renamed automatically to include your name. Change the project file name if directed to do so by your instructor.
Copy the Past&Projected sheet, place the copy before the Criteria sheet, and name the copied sheet Adv Filter.
Create and format an Excel table.
Select cells A4:E60 on the Adv Filter sheet.
Click the Quick Analysis tool and choose Tables.
Apply a table style.
Click cell A5 in the table.
Click the More button [Table Design tab, Table Styles group]. Click the More button [Table Tools Design tab, Table Styles group].
Select White, Table Style Medium 15.
Create an output range for an Advanced Filter.
Select cells A4:E4 and copy and paste them to cell G4.
Type Extract Range in cell G3 and set the font to Cambria 16 pt.
Adjust column widths for columns G:K to show the labels.
Adjust row 4 to a height of 33.75 (45 pixels).
Create an Advanced Filter.
Click the Criteria sheet tab.
Type >12/31/18 in cell A3 to find records after 2018.
Type mri in cell B3.
Type >12/31/19 in cell A4, to find records after 2019.
Type ct scan in cell B4. This criteria will find records dated 2019 or later for MRIs and records for CT scans dated 2020 or later (Figure 4-94).Figure 4-94 Criteria for Advanced Filter
Click cell A5 on the Adv Filter sheet.
Click the Advanced button [Data tab, Sort & Filter group].
Select the Copy to another location radio button.
Verify that the List range is cells $A$4:$E$60. If the range is incorrect, click and drag to select the range including the header row.
Click the Criteria range box and select cells A2:B4 on the Criteria sheet.
Click the Copy to box and select cells G4:K4 on the Adv Filter sheet.
Click OK in the Advanced Filter dialog box.
Sort data in the output range.
Select cell G5 and click the Sort button [Data tab, Sort & Filter group].
Click the Sort by arrow and choose Image for the first level.
Verify that the Sort On selection is Cell Values and the Order is A to Z.
Click Add Level and choose Month as the Then by selection.
Verify or select Cell Values and Oldest to Newest for the second level.
Apply conditional formatting and borders.
Select the cells with values in column I.
Click the Conditional Formatting button [Home tab, Styles group].
Choose Highlight Cells Rules and Greater Than.
Type 750 and choose Green Fill with Dark Green Text.
Select the extract range starting at cell G5 and apply All Borders (Figure 4-95). (Your results may be different from Figure 4-95 depending on the current date.)Figure 4-95Advanced Filterresults
Import a comma-separated values text file.
Click the Expense Info sheet tab.
Select cell A4.
Click the From Text/CSV button [Data tab, Get & Transform Data group].
Find and select the ClemensonText-04.csv file downloaded from the Resources link in the Import Data window.
Verify that Comma is selected as the Delimiter in the Navigator window.
Click the Load arrow and select Load To. Select Existing worksheet.
Verify that cell A4 displays as the destination and that Table is how the data will be imported.
Click OK to import the text data (Figure 4-96).Figure 4-96 CSV file imported as a table
Cut and paste (or drag and drop) the labels in row 3 to replace the labels in row 4.
Select cell A5 and click the Convert to Range button [Table Design tab, Tools group]. Click OK to remove the query definition.
Select cells A4:D31 and clear the formats [Home tab, Editing group].
Select cells A4:D31 if necessary, and change the font size to 11 pt.
Select the labels in row 4 and center align them.
Format the dates in column C with the Short Date format.
Select columns A:D and size each column to 12.14 (90 pixels) wide. Deselect the columns.
Use the Subtotal command.
Close the Queries & Connections pane and click cell A5.
Click the Sort A to Z button [Data tab, Sort & Filter group] to sort by last name.
Click the Subtotal button [Data tab, Outline group].
Verify or choose Last Name for the At each change in box.
Click the Use function arrow and choose Average.
Verify or choose the Amount box in the Add subtotal to area.
Format the values in column D as Currency with zero decimal places.
Collapse outline groups.
Click the collapse symbol (−) for Allen in row 8.
Click the collapse symbol (−) for McAllister (Figure 4-97).Figure 4-97 Subtotals added and outline collapsed for two groups
Create a PivotTable.
Click the Past&Projected sheet tab.
Select cells A4:E60.
Click the Quick Analysis tool and choose Tables.
Point to each PivotTable option to see the Live Preview.
Choose the option that shows a sum of the employees, the total hours, and the patients by image (Figure 4-98).Figure 4-98 SuggestedPivotTablechoices from theQuick Analysis tool
Rename the sheet PivotTable.
Drag the Month field in the Rows area in the PivotTable Fields pane out of the pane and into the worksheet to remove the field from the PivotTable.
Format a PivotTable.
Click cell C4.
Click the Field Settings button [PivotTable Analyze tab, Active Field group]. Click the Field Settings button [PivotTable Tools Analyze tab, Active Field group].
Click Number Format.
Choose Number as the Category.
Select the Use 1000 Separator (,) box and set zero decimal places.
Click OK to close each dialog box.
Apply the same number format for the “Sum of Patients” field.
Click the More button [PivotTable Design tab, PivotTable Styles group]. Click the More button [PivotTable Tools Design tab, PivotTable Styles group].
Select Dark Gray, Pivot Style Dark 9 [PivotTable Design tab, PivotTable Styles group]. Select Dark Gray, Pivot Style Dark 9 [PivotTable Tools Design tab, PivotTable Styles group].