Advanced Filtering, Subtotals & Power Query Import for Perfect Vacation Rentals
📌Objective
Filter data using Number AutoFilter, build an Advanced Filter with a criteria range, create subtotals in the workbook, and import data using Power Query to remove rows.
📃Files Needed
Your completed Week 6 Practice 01 workbook + ImportText-04.txt starter file →
💾Steps
- Open & save. Open [your initials] Week06Practice01.xlsx, save as [your initials] Week06Practice02.xlsx.
- Use a Number AutoFilter.
- Sort&Filter tab: Click filter → "@" $225 Average dropdown.
- Number Filters → Between: >= 60000, <= 70000. Eight records display.
- Set up a criteria range for Advanced Filter.
- AdvFilter tab: K7 = "mi", K8 = "wi" (OR condition).
- L7 = 3, L8 = 3 (conditions). Locates Michigan and Wisconsin properties with 3 bedrooms.
- Run an Advanced Filter.
- Select A5. Data → Advanced: Copy to another location.
- List range: $A$4:$F$28. Criteria range: K6:L8. Copy to: I11:N11.
- Two records extracted and displayed. AutoFit column I.
- Show subtotals in a list.
- Subtotals tab: Sort by Location (A→Z), then State (A→Z).
- Data → Subtotal: At each change = State, Sum. Check "Days Rented Last Year" and "@ $225 Average".
- Format outline results.
- Move labels from column C to column A (C7→A7, etc.). Right-align moved cells.
- A36:G37 → All Borders. Level 2 outline. Hide columns B:E.
- Import data from text file in Power Query.
- Text Import tab, A5: Data → From Text/CSV → select ImportText-04.txt → Import.
- Transform Data → remove bottom 3 rows (Missouri records).
- Close & Load To → Table in existing worksheet ($A$5) → OK.
- Clean up imported data.
- Move labels from A4:F4 to A5:F5. Column F width = 12, row 5 height = 34. Delete row 4.
- A4:F25 → All Borders. Save and close.
🔚Deliverables
- [your initials] Week06Practice02.xlsx
📐Due Date
Please refer to Canvas for the deadline.
📍← Practice 01 | Practice 03 →
Refer to Canvas for official submission cutoff and penalty policies.