Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Calculate the position of a formula and number of cells from it

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?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Calculate the position of a formula and number of cells from it

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?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Calculate the position of a formula and number of cells from it

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?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to calculate the number of non-zero cells in range? Claudia d'Amato Excel Discussion (Misc queries) 6 August 4th 09 04:40 PM
formula to calculate out of 3 cells choose highest number esparzaone Excel Discussion (Misc queries) 4 February 5th 08 07:30 PM
Excel Formula using relative position of cells in two different worksheets David Virgil Hobbs Excel Discussion (Misc queries) 1 December 14th 06 03:36 AM
Excel Formula using relative position of cells in two different worksheets David Virgil Hobbs Excel Worksheet Functions 1 December 14th 06 03:36 AM
Formula to calculate number of days & ignore blank cells Mifty Excel Discussion (Misc queries) 7 February 13th 06 10:36 PM


All times are GMT +1. The time now is 01:11 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"