Calculate the position of a formula and number of cells from it

  • Follow


Hi I have a formula which needs to work out which cell it is located in, then 
calculate the reference or another cell 1 column to the right and 4 rows 
above to use as reference in the formula itself. Is this possible? I can 
workout the second part using the CELL function with "row" but the first bit 
keeps eluding me.

Can anybody help?
0
Reply Utf 2/19/2010 1:24:01 PM

Check out help on =OFFSET()
-- 
Jacob


"Marzia" wrote:

> Hi I have a formula which needs to work out which cell it is located in, then 
> calculate the reference or another cell 1 column to the right and 4 rows 
> above to use as reference in the formula itself. Is this possible? I can 
> workout the second part using the CELL function with "row" but the first bit 
> keeps eluding me.
> 
> Can anybody help?
0
Reply Utf 2/19/2010 1:29:01 PM


The reference is automatic.  For your example, say we want to formula to add 
7 to the reference cell and the formula is in A10:

=B6+7

The refers to one cell to the right and four rows up.

If the formula is copied, the relative reference will adjust.
-- 
Gary''s Student - gsnu201001


"Marzia" wrote:

> Hi I have a formula which needs to work out which cell it is located in, then 
> calculate the reference or another cell 1 column to the right and 4 rows 
> above to use as reference in the formula itself. Is this possible? I can 
> workout the second part using the CELL function with "row" but the first bit 
> keeps eluding me.
> 
> Can anybody help?
0
Reply Utf 2/19/2010 1:53:01 PM

2 Replies
219 Views

(page loaded in 0.018 seconds)


Reply: