Relative vs. Absolute References in Formulas [spreadcheats]

Posted on November 4th, 2008 in Learn Excel - 9 comments

This is the first installment of the spreadcheats series.

I have used excel an year and half before I learned about the relative and absolute references. It was such a joyous feeling to find out that you can actually write one (or just a few) formulas and use the power of auto-fill to do the dirty work for you.

What is a reference?

A reference in excel lingo “identifies a cell or a range of cells on a worksheet and tells Microsoft Excel where to look for the values or data you want to use in a formula.”

So what is the difference between relative and absolute references?

When you say a reference is relative, you are telling excel to adjust that reference in formulas based on where you move or copy the formula. For eg. if you have a formula in cell B1 as =a1*2 and now if you copy paste this in another cell, lets say, C1, the new formula would read like =b1*2

absolute cell referencesWhen you say a reference is absolute, you are telling excel not to adjust that reference in formulas when you move or copy them.

Switching between relative and absolute references:

while editing the formula you can use F4 function key to change the reference of a cell on which cursor is focused. By pressing F4, excel switches the references between relative (A2), absolute ($A$2), relative column & absolute row (A$2) and absolute column & relative row ($A2).

Understanding relative & absolute references plays a key role in writing effective spreadsheet formulas.

| More
Excel School - Online Excel Training Program

Comments
Excel Dashboards Creator November 5, 2008

Thanks for this tip

Worm November 5, 2008

I’m quite happy with absolute/relative references – but I never knew about the F4 shortcut – very handy!

Chandoo November 7, 2008

Thanks for your comments. :)

Eric December 30, 2009

Hi Chandoo,
I have a problem with my Vlookup – it only works partially and I need to re-do the vlookup formula every 40-50 rows to get the results. Is this an Excel bug or am i missing something? Very strange as I’ve never had this probelm before.

Thanks in advance for your help!

regards,
Eric

Chandoo December 30, 2009

@Eric.. can you post the formula for us? I am not able to visualize this.

RSS feed for comments on this post. TrackBack URI

Leave a comment

   Name (required)

   E-mail (required, never displayed)

   URL


If you have a question, please ask in the forums

Recommended Excel, Charting, VBA books