0
0
Excelspreadsheet~15 mins

OFFSET for dynamic ranges in Excel - Real Business Scenario

Choose your learning style9 modes available
Scenario Mode
👤 Your Role: You are a sales analyst at a retail company.
📋 Request: Your manager wants a dynamic sales summary that updates automatically as new sales data is added each month.
📊 Data: You have monthly sales data with columns: Month, Product, and Sales Amount. The data grows every month as new sales are recorded.
🎯 Deliverable: Create a dynamic range using OFFSET to sum sales amounts that automatically includes new rows when data is added.
Progress0 / 4 steps
Sample Data
MonthProductSales Amount
JanApples1200
JanBananas850
FebApples1500
FebBananas900
MarApples1700
MarBananas950
AprApples1600
AprBananas1000
1
Step 1: Select the cell where you want the total sales amount to appear, for example, cell E2.
Expected Result
2
Step 2: Create a dynamic range for the Sales Amount column using OFFSET. Enter this formula in cell E2:
=SUM(OFFSET(C2,0,0,COUNTA(C:C)-1,1))
Expected Result
Sum of all sales amounts in column C excluding the header, which is 9700.
3
Step 3: Explain how the formula works: OFFSET starts at C2, moves 0 rows and 0 columns, then includes a height equal to the count of non-empty cells in column C minus 1 (to exclude header). This creates a dynamic range that grows as new sales amounts are added.
Expected Result
4
Step 4: Test the dynamic range by adding a new row with sales data for May (e.g., May, Apples, 1800) below the existing data. The total in E2 should update automatically to 11500.
Expected Result
Total sales amount updates to 11500.
Final Result
Sales Summary
------------
Total Sales Amount: 9700

After adding May data:
Total Sales Amount: 11500
The OFFSET formula creates a dynamic range that automatically adjusts as new sales data is added.
This method avoids manually updating ranges and reduces errors.
The total sales amount reflects all current data without extra steps.
Bonus Challenge

Create a dynamic average sales amount formula using OFFSET that updates as new data is added.

Show Hint
Use the AVERAGE function combined with OFFSET and COUNTA similar to the SUM example.