Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Dynamically display in Active Cell value from 2 rows above it

Does anyone know the formula to ALWAY display the value in the active cell
which is 2 rows above it?
For example: Display in Active cell c13 the value in c11 (row13-2=row11).

The problem comes if I were to insert 4 rows after c11 and insert more data.
I would subsequently want to display in c17 (13+4) the value from c15 which
is 2 rows above it.

An absolute cell reference is not the same as saying a constant of 2 rows
above the active cell?

Any ideas to share??
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,073
Default Dynamically display in Active Cell value from 2 rows above it

On May 12, 10:34 am, Jocko_MacDuff116
wrote:
Does anyone know the formula to ALWAY display the value in the active cell
which is 2 rows above it?
For example: Display in Active cell c13 the value in c11 (row13-2=row11).

The problem comes if I were to insert 4 rows after c11 and insert more data.
I would subsequently want to display in c17 (13+4) the value from c15 which
is 2 rows above it.

An absolute cell reference is not the same as saying a constant of 2 rows
above the active cell?

Any ideas to share??


Hi Jacko,

Try...

=INDIRECT("C"&ROW()-2)

Ken Johnson

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Dynamically display in Active Cell value from 2 rows above it

=INDIRECT(SUBSTITUTE((LEFT(ADDRESS(1,COLUMN()),3)) ,"$","") & ROW()-3)

--
Gary''s Student - gsnu200720
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,073
Default Dynamically display in Active Cell value from 2 rows above it

On May 12, 11:06 am, Ken Johnson wrote:
On May 12, 10:34 am, Jocko_MacDuff116

wrote:
Does anyone know the formula to ALWAY display the value in the active cell
which is 2 rows above it?
For example: Display in Active cell c13 the value in c11 (row13-2=row11).


The problem comes if I were to insert 4 rows after c11 and insert more data.
I would subsequently want to display in c17 (13+4) the value from c15 which
is 2 rows above it.


An absolute cell reference is not the same as saying a constant of 2 rows
above the active cell?


Any ideas to share??


Hi Jacko,

Try...

=INDIRECT("C"&ROW()-2)

Ken Johnson


Hi Jocko,

For any column, try...

=INDIRECT(ADDRESS(ROW()-2,COLUMN()))

Ken Johnson

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Dynamically display in Active Cell value from 2 rows above it

A couple mo

In C13:
=OFFSET(C13,-2,0)
or
=INDIRECT("r[-2]c",FALSE)

=indirect() is a volatile function--it recalcs each time excel recalcs.

=offset() would be the one I used.

Jocko_MacDuff116 wrote:

Does anyone know the formula to ALWAY display the value in the active cell
which is 2 rows above it?
For example: Display in Active cell c13 the value in c11 (row13-2=row11).

The problem comes if I were to insert 4 rows after c11 and insert more data.
I would subsequently want to display in c17 (13+4) the value from c15 which
is 2 rows above it.

An absolute cell reference is not the same as saying a constant of 2 rows
above the active cell?

Any ideas to share??


--

Dave Peterson
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
Dynamically display in active cell the value x-rows above it? Jocko_MacDuff116 Excel Discussion (Misc queries) 0 May 12th 07 01:24 AM
How to make a formula cell dynamically display clara Excel Worksheet Functions 5 April 18th 07 12:10 AM
Display of Active Cell in MS Excel 2007 Jasper Excel Discussion (Misc queries) 1 March 28th 07 08:36 PM
How to Add Rows From Active Cell with in a XLL Code Sheraz Excel Worksheet Functions 0 August 8th 06 01:17 PM
Dynamically chart active row Patti Charts and Charting in Excel 7 April 4th 05 03:39 PM


All times are GMT +1. The time now is 02:50 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"