have 2 hyperlink formulas, making for use "in-document" that allows a
shortcut jump "down" to the next copy of the same hyperlink (keys off the
friendly name: "dn"). where the down hyperlink is working, I was trying to
develope a hyperlink that jumps up to the last "dn" - above the current line
that also holds the down link. the right link is placed in the column to the
right, or column AU, any column same row, doesn't matter. I don't have the
"up" link working yet. the base formula (last item below) is working.
problem is in setup of hyperlink.. thanks.
have an extensive example of a hyperlink, but should be easy to see
portions, with line returns to help separate sections.. thanks in advance
version that works for "dn" shortcut, (to next copy of this link) is in fact
what the 2nd (non-workin) version is keying off.
note: cntrl-shift-enter array, $z$3 is number of rows to move down (size
of screen), placed in row 141
=HYPERLINK(IF(ISNA(INDEX(ROW(OFFSET($AT141:$AT$1232,1,0))-ROW(OFFSET($AT141,1,0)),
MATCH(TRUE,OFFSET($AT141:$AT$1232,1,0)="dn",0))),"",
"#"&CELL("address",OFFSET(INDIRECT(SUBSTITUTE(SUBSTITUTE(CELL("address",$A141),"$",""),ROW(),"")&INDEX(ROW(OFFSET($AT141:$AT$1232,1,0)),
MATCH(TRUE,OFFSET($AT141:$AT$1232,1,0)="dn",0))),$Z$3,1))),"dn")
Modified version that is not quite right, can not enter / am probably using
functions / variables not needed ??? thanks, non-working example is:
note: placed in row 141, column to right, AU
=HYPERLINK(IF(ISNA(INDEX(ROW(OFFSET($AT$129:$AT141,-1,0))-ROW(OFFSET($AT141,-1,0)),
LOOKUP(2,1/(OFFSET($AT$129:$AT141,-1,0)="dn"),ROW(OFFSET($AT$129:$AT141,-1,0))))),"",
"#"&CELL("address",OFFSET(INDIRECT(SUBSTITUTE(SUBSTITUTE(CELL("address",$A141),"$",""),ROW(),"")&INDEX(ROW(OFFSET($A$129:$AT141,-1,0)),
LOOKUP(2,1/(OFFSET($AT$129:$AT141,-1,0)="dn"),ROW(OFFSET($AT$129:$AT141,-1,0))))),-1,1))),"u")
base formula working with, that seems to be working: row 141 is not
included in query, previous / last occurance of "dn" is correctly identified.
=LOOKUP(2,1/(OFFSET($AT$129:$AT141,-1,0)="dn"),ROW(OFFSET($AT$129:$AT141,-1,0)))