Ravindra BagaleCourses & study guides मराठी Track your progress

1. Excel Basics

1.3 Relative, Absolute and Mixed References

Absolute reference ($) with example — in 30 seconds

What: A $ sign locks a cell address, so it does not move when you copy the formula down.

Why: A share-of-total formula must divide every row by the same total cell. Without $ the total cell slides down and you get #DIV/0! or wrong answers.

Tiny example: Pune ₹544 out of a total of ₹2,203 is 24.7%. The total sits in B5, so we write =B2/$B$5.

First look at the data (before → after):

Absolute reference ($) with example: before and after tables, fictional FreshGo Maharashtra data

Expected result — Share of total in column C (format %)

A: City B: Amount (₹) C: Share
Pune 544 24.7%
Nashik 360 16.3%
Solapur 1299 59.0%
Total 2203 100.0%

About this data: Teaching sample for a fictional shop “Skyline Clinics”. Figures and names (e.g. Rohan Patil) are made up for this lesson on relative absolute and mixed references.

Before table and formula as text

Before — City sales (B5 holds the total)

Row A: City B: Amount (₹)
2 Pune 544
3 Nashik 360
4 Solapur 1299
5 Total 2203

About this data: Demo table only — not real customer or company data. Built to practise relative absolute and mixed references.

Formula / click path

C2: =B2/$B$5   → copy down to C4
Wrong: =B2/B5 becomes =B3/B6 in C3 (B6 is empty → #DIV/0!)

Do it step by step:

  1. Type the three city amounts in B2:B4 and =SUM(B2:B4) in B5.
  2. Click C2 and type =B2/B5. Do not press Enter yet.
  3. Click inside B5 in the formula and press F4 once. It becomes $B$5.
  4. Press Enter, then double-click the fill handle to copy down to C4.
  5. Select C2:C4 and click Home › Number › Percent Style.
  6. Check: the three shares add up to 100.0%.

When you copy a formula, Excel adjusts the cell addresses inside it. How it adjusts depends on the $ signs – a relative reference changes, an absolute reference (स्थिर संदर्भ) stays fixed.

Type Example When copied down When copied right
Relative A2 row changes (A3, A4…) column changes (B2, C2…)
Absolute (स्थिर संदर्भ – copy केल्यावरही न बदलणारा) $A$2 never changes never changes
Mixed – column fixed $A2 row changes stays column A
Mixed – row fixed A$2 stays row 2 column changes

About this data: Made-up rows so you can copy the pattern for relative absolute and mixed references. Currencies may use ₹, £, € or $.

Press F4 while the cursor is on a reference in the formula bar to cycle: A2 → $A$2 → A$2 → $A2 → A2.

Steps in Excel – GST on every order

  1. In Orders, put the GST rate in a single cell: P1 = 5% (fictional flat rate for the example).
  2. In Q2 type =K2* then click P1 and press F4 so it becomes $P$1. Formula: =K2*$P$1.
  3. Press Enter, then double-click the fill handle (small square at the bottom-right of Q2) to copy down.
  4. Click Q5: the formula is =K5*$P$1 – the amount moved, the rate stayed fixed.

Worked example – mixed references in a price grid. Salman wants a table of Qty × Unit Price for quick billing at a Solapur store. Quantities 1–5 are in A2:A6, prices ₹30, ₹60, ₹90 in B1:D1. In B2 type:

=$A2*B$1

Copy B2 across to D2 and down to row 6. $A keeps the quantity column fixed; $1 keeps the price row fixed. One formula fills the whole grid.

Qty ₹30 ₹60 ₹90
1 30 60 90
2 60 120 180
3 90 180 270

About this data: Fictional worksheet used in class. Safe to edit; nothing here is live production data.

Ravindra Bagale's Tip

The most common mistake is copying a formula down without putting $ on the rate or target cell – then the rows below refer to P2, P3… and the result comes out as 0. Before copying a formula, ask yourself: "Should this cell move when I copy?" If not, press F4.

Practice task

Build a 5 × 5 multiplication grid (1–5 down, 1–5 across) with a single mixed-reference formula. Then calculate each order's share of the total: =K2/SUM($K$2:$K$9) and format as %.

Loading practice tasks...

  1. Total deals won (Easy): Add up Deals won in the "Deals won" column.
  2. Average avg deal value (Easy): Average of the Avg deal value (£) column, rounded to 2 decimals.
  3. Rows in North (Easy): How many rows have Region "North"?
  4. Largest deals won (Easy): The largest value in the "Deals won" column.
  5. Deals won for North (Medium): Total of the Deals won column where Region is "North".
  6. North in Leeds (Medium): Total of the Deals won column where Region is "North" and City is "Leeds".
  7. Best in North (Medium): Largest value in the "Avg deal value (£)" column where "Region" is "North".
  8. Value of row 2 (Medium): Multiply the first-row Deals won by the first-row Avg deal value (£).
  9. Look up Liam O'Brien (Medium): The Deals won for "Liam O'Brien" (use a lookup on the "Name" column).
  10. Total value (Hard): Sum of "Deals won" times "Avg deal value (£)" for all rows.
  11. Share of North (Hard): Share of the "Deals won" column that is "North", rounded to 3 decimals.
  12. Share of the total "Avg deal value (£)" with a locked range (Hard): Find what share of the total "Avg deal value (£)" the first row has. Round it to 3 decimals.
  13. Above average? (Hard): "Above" if the "Avg deal value (£)" value in the first row is above the average of the "Avg deal value (£)" column, else "Below".

Quick revision cards

Three standalone cards. Each one explains the idea with its own example. Scan the QR to open this lesson.

Revision card 1: What is Relative Absolute And Mixed References?
Card 1: What is Relative Absolute And Mixed References? · Download PNG
Revision card 2: Tiny example — Relative Absolute And Mixed References
Card 2: Tiny example — Relative Absolute And Mixed References · Download PNG
Revision card 3: Checklist — Relative Absolute And Mixed References
Card 3: Checklist — Relative Absolute And Mixed References · Download PNG