View Single Post
  #3  
Old March 27th, 2010, 06:38 PM posted to microsoft.public.excel.newusers
trip_to_tokyo[_3_]
external usenet poster
 
Posts: 932
Default What is the deifference between writng A3 or $A$3 in a functio

Hi Bassam, here is a simple worked example that I hope will aid your
comprehension.

1. In cell A1 and B1 I have the number 1.

In cell C1 I have:-

=(A1+B1)

This gives a result of 2 in cell C1.

2. In cell A2 and B2 I have the number 2.

In cell C2 I have COPIED the formula from cell C1 to give, in cell C2:-

=(A2+B2)

As you can see the A1 has become A2 and the B1 has become B2.

This is called a RELATIVE cell reference (it has changed automatically as it
has been copied).

The result in cell C2 is 4.

3. Now go back to cell C1 and change the formula to:-

=($A$1+B1)

Notice I have put a $ sign before the A and before the 1.

This means that this cell reference is FIXED (does not change when you copy
it).

The result in cell C1 is 2.

4. Now copy the formula in cell C1 which is:-

=($A$1+B1)

- to cell C2:-

=($A$1+B2)

Notice that the $A$1 does not change (because you FIXED it) but that B1
changes to B2 (because it’s a RELATIVE reference - it changes when copied).

The result in C2 is now 3 (it’s adding cell A1 to cell B2).

If my above comments have helped please hit Yes.

Thanks.



"Gord Dibben" wrote:

See Excel help on absolute and relative cell references.


Gord Dibben MS Excel MVP
.