Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 383
Default Circular Reference / OFFSET

hi, trying to make a hyperlink work, that is used "in" document where
sub-destinations are all -progressively id'd as "dn" by the friendly name in
the hyperlink.

the problem is the reference to the column / cell the formula currently
occupies.
answer would be to change the following formula to be offset +1 for the 4
copies of the range. guesse might have to remove the "$" sign from the
beginning of the range??.. to make it dynamic.

purpose: to be able to paste formula down the document, and be able to
follow "dn" links to sub sections.

is it possible to add the offset to the range in this manner? thanks.
note: array (cntrl-shift-enter)

=HYPERLINK(IF(ISNA(INDEX(ROW($AT$183:$AT$1156)-ROW($AT$183),MATCH(TRUE,EXACT($AT$183:$AT$1156,"dn "),0))),"",
"#"&CELL("address",OFFSET(INDIRECT(SUBSTITUTE(SUBS TITUTE(CELL("address",$AT183),"$",""),ROW(),"")&IN DEX(ROW($AT$183:$AT$1156),MATCH(TRUE,EXACT($AT$183 :$AT$1156,"dn"),0))),$Z$3,0))),"dn")


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 383
Default Circular Reference / OFFSET

think have partial answer, link works, but still get the circular reference:
(using offset in the last variable does not take; don't know if correct
idea anyways)

=HYPERLINK(IF(ISNA(INDEX(ROW($AT$183:$AT$1156)-ROW(OFFSET($AT$183,1,0)),
MATCH(TRUE,EXACT(OFFSET($AT$183:$AT$1156,1,0),"dn" ),0))),"",
"#"&CELL("address",OFFSET(INDIRECT(SUBSTITUTE(SUBS TITUTE(CELL("address",$AT183),"$",""),ROW(),"")&IN DEX(ROW(OFFSET($AT$183:$AT$1156,1,0)),
MATCH(TRUE,EXACT($AT$183:$AT$1156,"dn"),0))),$Z$3, 0))),"dn")


(might still need to remove some $ signs later)

"nastech" wrote:

hi, trying to make a hyperlink work, that is used "in" document where
sub-destinations are all -progressively id'd as "dn" by the friendly name in
the hyperlink.

the problem is the reference to the column / cell the formula currently
occupies.
answer would be to change the following formula to be offset +1 for the 4
copies of the range. guesse might have to remove the "$" sign from the
beginning of the range??.. to make it dynamic.

purpose: to be able to paste formula down the document, and be able to
follow "dn" links to sub sections.

is it possible to add the offset to the range in this manner? thanks.
note: array (cntrl-shift-enter)

=HYPERLINK(IF(ISNA(INDEX(ROW($AT$183:$AT$1156)-ROW($AT$183),MATCH(TRUE,EXACT($AT$183:$AT$1156,"dn "),0))),"",
"#"&CELL("address",OFFSET(INDIRECT(SUBSTITUTE(SUBS TITUTE(CELL("address",$AT183),"$",""),ROW(),"")&IN DEX(ROW($AT$183:$AT$1156),MATCH(TRUE,EXACT($AT$183 :$AT$1156,"dn"),0))),$Z$3,0))),"dn")


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 383
Default Circular Reference / OFFSET

would seem to be one step closer, 2 changes, but with last variable changed
from 183 to 184, gets rid of circular reference, is not what desired; where
offset does not take hold in that last variable, that is where need help
with.. unless other answer, thanks.


=HYPERLINK(IF(ISNA(
INDEX(ROW(OFFSET($AT$183:$AT$1156,1,0))-ROW(OFFSET($AT$183,1,0)),
MATCH(TRUE,EXACT(OFFSET($AT$183:$AT$1156,1,0),"dn" ),0))),"",
"#"&CELL("address",OFFSET(INDIRECT(SUBSTITUTE(SUBS TITUTE(CELL("address",$AT183),"$",""),ROW(),"")&
INDEX(ROW(OFFSET($AT$183:$AT$1156,1,0)),
MATCH(TRUE,EXACT($AT$184:$AT$1156,"dn"),0))),$Z$3, 0))),"dn")


(cntrl-shift-enter / may need to remove some $ signs later)
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 383
Default Circular Reference / OFFSET

hi, think have found what would be 90% the answer:
(while combining old formula's), found that deleting item for: EXACT, could
get formula to work. If there is an answer for use of exact, will still take
that response.

Formula works as:
=HYPERLINK(IF(ISNA(
INDEX(ROW(OFFSET($AT183:$AT$1156,1,0))-ROW(OFFSET($AT183,1,0)),
MATCH(TRUE,OFFSET($AT183:$AT$1156,1,0)="dn",0)))," ",
"#"&CELL("address",OFFSET(INDIRECT(SUBSTITUTE(SUBS TITUTE(CELL("address",$AT183),"$",""),ROW(),"")&
INDEX(ROW(OFFSET($AT183:$AT$1156,1,0)),
MATCH(TRUE,OFFSET($AT183:$AT$1156,1,0)="dn",0))),$ Z$3,0))),"dn")

note: $Z$3 is a work cell for using amount of rows avail. minus number of
rows in "Freeze Pane" header, such as: =ROW($A$51)-ROW($A$17)

you can further externalize the value "For" $A$51 (e.g. in $AQ$3):
=$AQ$3-CELL("row",$A$17)
step further: externalize number of rows you might hide / collapse in header:
($Y$3-CELL("row",$A$17)) & y3: =$AQ$3+$AT$3

(have fun figuring that out).

"nastech" wrote:

hi, trying to make a hyperlink work, that is used "in" document where
sub-destinations are all -progressively id'd as "dn" by the friendly name in
the hyperlink.

the problem is the reference to the column / cell the formula currently
occupies.
answer would be to change the following formula to be offset +1 for the 4
copies of the range. guesse might have to remove the "$" sign from the
beginning of the range??.. to make it dynamic.

purpose: to be able to paste formula down the document, and be able to
follow "dn" links to sub sections.

is it possible to add the offset to the range in this manner? thanks.
note: array (cntrl-shift-enter)

=HYPERLINK(IF(ISNA(INDEX(ROW($AT$183:$AT$1156)-ROW($AT$183),MATCH(TRUE,EXACT($AT$183:$AT$1156,"dn "),0))),"",
"#"&CELL("address",OFFSET(INDIRECT(SUBSTITUTE(SUBS TITUTE(CELL("address",$AT183),"$",""),ROW(),"")&IN DEX(ROW($AT$183:$AT$1156),MATCH(TRUE,EXACT($AT$183 :$AT$1156,"dn"),0))),$Z$3,0))),"dn")


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
Why is this a circular reference? CK Excel Discussion (Misc queries) 6 June 14th 07 03:44 AM
Using an offset formula for the reference in a relative reference Cuda Excel Worksheet Functions 6 November 15th 06 05:12 PM
Circular Reference Saintsman Excel Worksheet Functions 5 June 5th 06 06:39 PM
Circular Reference munim Excel Worksheet Functions 15 January 5th 06 08:36 AM
how to: circular reference Tim Excel Worksheet Functions 0 March 11th 05 12:37 AM


All times are GMT +1. The time now is 12:49 PM.

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"