#1   Report Post  
 
Posts: n/a
Default dynamic offset

In the old 2020 spreadsheet, you could reference offset cells by entering
something like *+5.*-2 (which means 5 rows over and 2 rows down from the
current cell location) I've gone through all the help and questions I could
find, and the offset function is not what I'm really looking for.

Does excel have a function similar to above?
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

=INDIRECT(ADDRESS(ROW()+2,COLUMN()+5))

if you meant 2 rows down and 5 columns across
will return what is in that cell
if you just want the address

=ADDRESS(ROW()+2,COLUMN()+5)

--

Regards,

Peo Sjoblom


"
. com wrote in message
...
In the old 2020 spreadsheet, you could reference offset cells by entering
something like *+5.*-2 (which means 5 rows over and 2 rows down from the
current cell location) I've gone through all the help and questions I

could
find, and the offset function is not what I'm really looking for.

Does excel have a function similar to above?



  #3   Report Post  
 
Posts: n/a
Default

Excellent! Thank you, but a followup:

How would you write it in a macro? as in
" goto INDIRECT(ADDRESS(ROW()+2,COLUMN()+5)) " ?

"Peo Sjoblom" wrote:

=INDIRECT(ADDRESS(ROW()+2,COLUMN()+5))

if you meant 2 rows down and 5 columns across
will return what is in that cell
if you just want the address

=ADDRESS(ROW()+2,COLUMN()+5)

--

Regards,

Peo Sjoblom


"
. com wrote in message
...
In the old 2020 spreadsheet, you could reference offset cells by entering
something like *+5.*-2 (which means 5 rows over and 2 rows down from the
current cell location) I've gone through all the help and questions I

could
find, and the offset function is not what I'm really looking for.

Does excel have a function similar to above?




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
dynamic range / offset Jeff Excel Worksheet Functions 2 February 23rd 05 03:39 PM
Dynamic charting problems (events) [email protected] Charts and Charting in Excel 4 January 27th 05 09:32 PM
Indirect and dynamic ranges Sam Excel Worksheet Functions 3 January 24th 05 07:01 AM
dynamic ranges Sam Excel Worksheet Functions 2 January 21st 05 07:46 PM
Dynamic Formulas with Dynamic Ranges Ralph Howarth Excel Worksheet Functions 5 January 21st 05 08:44 AM


All times are GMT +1. The time now is 02:35 AM.

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

About Us

"It's about Microsoft Excel"