# 2.4: Relative and Absolute Referencing

- Page ID
- 13022

\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

\( \newcommand{\Span}{\mathrm{span}}\)

\( \newcommand{\id}{\mathrm{id}}\)

\( \newcommand{\Span}{\mathrm{span}}\)

\( \newcommand{\kernel}{\mathrm{null}\,}\)

\( \newcommand{\range}{\mathrm{range}\,}\)

\( \newcommand{\RealPart}{\mathrm{Re}}\)

\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

\( \newcommand{\Argument}{\mathrm{Arg}}\)

\( \newcommand{\norm}[1]{\| #1 \|}\)

\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)

\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)

\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vectorC}[1]{\textbf{#1}} \)

\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

\(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)### Student Learning Outcome:

The student will understand the difference between Relative and Absolute Referencing and apply this information in an assignment.

**Relative Referencing** is what you normally do in a spreadsheet. If you add a column of numbers, (for example), and then pull the formula to the right, you are using a relative reference.

See illustration below: By using A1:A4, the formula adds column A: (A1+A2+A3+A4). Pulling the formula to the right into column B automatically changes the column reference letters to “B” without you having to do anything.

To “pull” a formula, or move it into the next cell, move your insertion point (the arrow) – to the bottom right corner of the cell with the formula. There should be a small square box in that corner. (Notice where the arrow is pointing the illustration.) When the arrow turns into a black plus sign, left click and hold down the left mouse. Then drag that box to the right. When you release the mouse, the formula has been placed in the next column and has automatically changed the letters.

Relative Reference means that the cells are relative – have a relationship with other cells. The spreadsheet program has created this relationship.

**Absolute Referencing** interrupts the relative referencing so that only chosen cell references can be used.

Using the dollar sign ($) makes a reference absolute.

Examples of absolute references.

1.)=A1 = relative reference

2.)=$A1 = Column is absolute, row is relative

3.)=A$1 = Row is absolute, column is relative

4.)=$A$1 = Everything is absolute

TRY THIS to understand how it works:

1. Open a blank spreadsheet and type in the annual Fees as noted in cells A4, A5, and A6.

2. In cell B4 type the formula as you see it here. (Note: the dollar signs – which make this reference absolute – are created by first clicking on cell D2 then pressing the F4 key which is located at the very, very top of the keyboard. There are other keys in this row such as F1 – which is the help key -, F2, F3, F5, etc. When F4 is pressed, dollar signs should appear before the column reference and before the row reference – in this case $D$2. (If the F4 key doesn’t appear to work, make sure that the referenced cell (D2) is highlighted. Or you can type the dollar signs by hand.)

3. Press enter. The amount of 128.125 appears.

4. Additional Note: Why put in the cell reference C4 two times? This is because you are taking the A4 reference and multiplying it by 25%. Then you adding the original amount back in to get the whole increase amount. You are basically taking 1.25% of the Annual fee amount. (The math is like this: (A4) $102.50* ($D$2).25% (.25) = 25.625. This is the amount of the increase. Then you are adding back in the number you started with – the original annual fee of 102.50 to determine the total amount of the increase (25.625+102.50 = 128.125.

5. Pull the formula in B4 down to include B6. Look at the formula carefully. Notice that the Annual fee reference changed because it is relative (or references the next cell). However, the absolute reference (D2) did not change. If the dollar signs were removed, the formula in B5 would be =B5*D3+B5 because it would be relative, meaning it would go to the next cell (D3). The answer would not contain any increase because D3 cell reference is blank.

**Correct spreadsheet.** These are the same spreadsheet with absolute referencing:

**Incorrect spreadsheet:** These are the same spreadsheets without absolute referencing. Compare the formulas.

6. In the same worksheet you ae using, change the Increase amount in cell D2 to .35 (35%) Watch the amounts change automatically without pulling down the formula or putting in a different formula.

7. If the amount .25 (25%) was used as a number instead of a cell reference, the formula would have to be changed to include the .35 (35%) to include the .35 (35%) in each cell that contained a total using this percent because it could not be done automatically.

- Relative and Absolute Referencing.
**Authored by**: Fran Wells.**License**:*CC BY: Attribution*