Key Topics & Core Concepts

Assignment Overview & Deliverables

In this practice exercise, you will analyze property rental transactions by setting up structured criteria ranges and extracting summary statistics using Excel database functions.

Step-by-Step Instructions

Step 1: Open Starter & Review Rental Data Table

  1. Download and open PerfectRentals-06.xlsx in Excel.
  2. Click Enable Editing if opened in Protected View.
  3. Save the workbook as [your initials] Practice17_DatabaseFunctions.xlsx.
  4. Click the Rental Data worksheet tab.
  5. Review the database range A3:I20 containing property records with headers in row 3.

Step 2: Construct Criteria Range

  1. In cells K1:L1, set up criteria headers that match the database column labels exactly:
    • K1: State
    • L1: Bedrooms
  2. In cell K2, enter: MI.
  3. In cell L2, enter: 3.
  4. Verify that criteria range K1:L2 defines an AND condition matching 3-bedroom rentals in Michigan.

Step 3: Calculate Conditional Average with DAVERAGE

  1. Click cell K4 (Average Nightly Rate).
  2. Type: =DAVERAGE(A3:I20, "Nightly Rate", K1:L2) (or reference the column index for Nightly Rate) and press Enter.
  3. Format cell K4 as Currency ($#,##0.00).

Step 4: Count Matching Records with DCOUNTA

  1. Click cell K7 (Matching Properties Count).
  2. Type: =DCOUNTA(A3:I20, "Property ID", K1:L2) and press Enter.
  3. Format cell K7 as General or Number with 0 decimal places.

Step 5: Determine Maximum Revenue with DMAX

  1. Click cell K10 (Highest Annual Revenue).
  2. Type: =DMAX(A3:I20, "Total Revenue", K1:L2) and press Enter.
  3. Format cell K10 as Currency ($#,##0.00).
  4. Auto-fit columns K and L to prevent text truncation.
  5. Save your completed workbook.

Practice exercises are formative and prepare you for homework submissions. Refer to Canvas for official submission cutoff and penalty policies.

Key Skills Evaluated

Skill Area Verification Target
Criteria Range Setup Structured criteria range K1:L2 matching database headers with exact field criteria.
DAVERAGE Calculation =DAVERAGE(A3:I20, ...) correctly targeting criteria range.
DCOUNTA Calculation =DCOUNTA(A3:I20, ...) correctly enumerating matching non-blank records.
DMAX Calculation =DMAX(A3:I20, ...) identifying maximum field value matching criteria.