Bird
Raised Fist0
Excelspreadsheet~15 mins

Mixed references ($A1, A$1) in Excel - Real Business Scenario

Choose your learning style10 modes available

Start learning this pattern below

Jump into concepts and practice - no test required

or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
Scenario Mode
👤 Your Role: You are a sales analyst at a retail company.
📋 Request: Your manager wants you to calculate total sales for each product across different months, using a formula that can be copied easily without errors.
📊 Data: You have a table with product names in column A, months in row 1 starting from column B, and sales numbers in the intersecting cells.
🎯 Deliverable: Create a formula using mixed references to calculate total sales per product and total sales per month that can be copied across rows and columns correctly.
Progress0 / 7 steps
Sample Data
ProductJanFebMar
Apples100120130
Bananas90110115
Cherries8095100
1
Step 1: Add a new column after the March column to calculate total sales per product.
In cell E2, enter the formula: =SUM(B2:D2)
Expected Result
For Apples, total sales = 100 + 120 + 130 = 350
2
Step 2: Copy the total sales formula down for all products.
Copy the formula from E2 down to E3 and E4.
Expected Result
Bananas total = 90 + 110 + 115 = 315; Cherries total = 80 + 95 + 100 = 275
3
Step 3: Add a new row below the last product to calculate total sales per month.
In cell B5, enter the formula: =SUM(B2:B4)
Expected Result
Total sales in January = 100 + 90 + 80 = 270
4
Step 4: Copy the monthly total formula across to columns C and D.
Copy the formula from B5 to C5 and D5.
Expected Result
February total = 120 + 110 + 95 = 325; March total = 130 + 115 + 100 = 345
5
Step 5: Create a formula to calculate the percentage contribution of each product's sales in January relative to total January sales, using mixed references.
In cell F2, enter: =B2/B$5
Expected Result
For Apples in January: 100 / 270 ≈ 0.3704 (37.04%)
6
Step 6: Copy the percentage formula across for all months and down for all products.
Copy the formula from F2 across to H2 and down to F4:H4.
Expected Result
Bananas in February: 110 / 325 ≈ 0.3385 (33.85%)
7
Step 7: Explain why the mixed reference B$5 is used in the percentage formula.
The dollar sign fixes the row reference to the totals row, so when copying across the column adjusts to the correct monthly total, and when copying down it stays fixed for that month.
Expected Result
The formula correctly calculates percentages for each product and month using the appropriate monthly total.
Final Result
Product | Jan | Feb | Mar | Total | Jan % | Feb % | Mar %
---------------------------------------------------------
Apples  | 100 | 120 | 130 | 350   | 37.04%| 36.92%| 37.68%
Bananas |  90 | 110 | 115 | 315   | 33.33%| 33.85%| 33.33%
Cherries|  80 |  95 | 100 | 275   | 29.63%| 29.23%| 29.00%
---------------------------------------------------------
Total   | 270 | 325 | 345 |       |       |       |
Apples have the highest total sales among the products.
March has the highest total sales among the months.
Percentage formulas using mixed references allow easy copying without errors.
Bonus Challenge

Create a formula that calculates the percentage contribution of each product's total sales relative to the grand total of all sales, using mixed references.

Show Hint
Use a fixed reference to the grand total cell (sum of all sales) with dollar signs to lock the reference when copying.

Practice

(1/5)
1. What does the mixed reference $A1 mean in Excel?
easy
A. Neither the column nor the row is fixed; both change when copied.
B. The row 1 is fixed, but the column letter changes when copied.
C. Both the column and row are fixed and do not change when copied.
D. The column A is fixed, but the row number changes when copied.

Solution

  1. Step 1: Understand the $ symbol before the column letter

    The $ before A means the column A is fixed and will not change when the formula is copied across columns.
  2. Step 2: Understand the absence of $ before the row number

    The row number 1 is not fixed, so it will change when the formula is copied across rows.
  3. Final Answer:

    The column A is fixed, but the row number changes when copied. -> Option D
  4. Quick Check:

    Mixed reference $A1 fixes column only [OK]
Hint: Dollar before column fixes column; before row fixes row [OK]
Common Mistakes:
  • Thinking $A1 fixes the row instead of the column
  • Confusing $A1 with A$1
  • Assuming both row and column are fixed
2. Which of the following is the correct syntax for a mixed reference that fixes the row 5 but allows the column to change?
easy
A. $5A
B. A$5
C. $A$5
D. 5$A

Solution

  1. Step 1: Identify the correct placement of $ for fixing row

    To fix the row 5, the $ must be placed before the row number: A$5.
  2. Step 2: Check the options for correct syntax

    A$5 uses A$5 which fixes row 5 and allows column to change. Other options have incorrect order or fix both row and column.
  3. Final Answer:

    A$5 -> Option B
  4. Quick Check:

    Row fixed with $ before number = A$5 [OK]
Hint: Put $ before row number to fix row, before column letter to fix column [OK]
Common Mistakes:
  • Placing $ after the row number
  • Swapping column letter and row number
  • Using $ before both column and row when only one should be fixed
3. If cell B2 contains the formula = $A1 + A$1 and you copy this formula to cell C3, what will be the resulting formula in C3?
medium
A. = $B2 + B$2
B. = $A3 + C$1
C. = $A2 + B$1
D. = $A3 + B$1

Solution

  1. Step 1: Analyze the $A1 part when copied from B2 to C3

    $ before A fixes the column A, so column stays A. Row 1 changes relative to row move: from row 2 to 3 is +1, so row 1 becomes 2. So $A1 becomes $A2.
  2. Step 2: Analyze the A$1 part when copied from B2 to C3

    $ before 1 fixes the row 1, so row stays 1. Column A changes relative to column move: from B to C is +1, so A becomes B. So A$1 becomes B$1.
  3. Final Answer:

    = $A2 + B$1 -> Option C
  4. Quick Check:

    Fixed column stays, fixed row stays, others shift [OK]
Hint: Fixed parts stay; unfixed parts shift with copy [OK]
Common Mistakes:
  • Changing fixed column or row incorrectly
  • Not adjusting relative parts when copying
  • Mixing up column letters and row numbers
4. You have a formula in cell D4: =SUM($B2:B$5). When copying this formula to cell E6, the formula becomes =SUM($B4:C$5). Is this correct? If not, what is the correct formula?
medium
A. =SUM($B4:C$5)
B. =SUM($B4:B$5)
C. =SUM($B4:C$7)
D. =SUM($B2:C$7)

Solution

  1. Step 1: Trace the start reference $B2 from D4 to E6

    Copy is +1 column (D->E), +2 rows (4->6). $B fixes column B; row 2 relative +2 -> $B4.
  2. Step 2: Trace the end reference B$5

    Column B relative +1 -> C; $5 fixes row 5 -> C$5.
  3. Step 3: Resulting formula is =SUM($B4:C$5)

    This matches the formula stated in the question, confirming it is correct.
  4. Final Answer:

    =SUM($B4:C$5) -> Option A
  5. Quick Check:

    $B2:B$5 -> $B4:C$5 (+1col +2row) [OK]
Hint: Shift relative parts by copy distance; fixed parts stay [OK]
Common Mistakes:
  • Not shifting row or column correctly
  • Assuming fixed parts change
  • Miscalculating relative shifts for range endpoints
5. You want to create a formula in cell B2 that multiplies the value in column A of the same row by the value in row 1 of the same column, and then copy it across columns and rows. Which mixed reference formula should you use in B2?
hard
A. = $A2 * B$1
B. = A$2 * $B1
C. = $A$2 * $B$1
D. = A2 * B1

Solution

  1. Step 1: Fix the column for the value in column A but allow row to change

    The value in column A of the same row means column A fixed ($A), row relative (2). So use $A2.
  2. Step 2: Fix the row for the value in row 1 but allow column to change

    The value in row 1 of the same column means row 1 fixed ($1), column relative (B). So use B$1.
  3. Step 3: Combine both parts in multiplication formula

    The formula is = $A2 * B$1, which will adjust correctly when copied across rows and columns.
  4. Final Answer:

    = $A2 * B$1 -> Option A
  5. Quick Check:

    Fix column for first, fix row for second [OK]
Hint: Fix column for vertical, fix row for horizontal references [OK]
Common Mistakes:
  • Fixing both row and column unnecessarily
  • Not fixing any part causing wrong references
  • Swapping fixed parts between references