Relative Hyperlink

doug.washburn

New Member
Joined
May 18, 2004
Messages
49
Hello,

I want to create a hyperlink on a worksheet that takes you to another cell relative to the cell the user happens to be on.

For example, if you are on a cell in row 5, the hyperlink takes you to AA5. If you are on row 12, it takes you to AA12. Always the same column (AA) but relative to the row you are on.

Any suggestions?
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
This is one way:

=HYPERLINK("["&SUBSTITUTE(LEFT(CELL("filename",A5),FIND("]",CELL("filename",A5))-1),"[","")&"]'"&MID(CELL("filename",A1),FIND("]",CELL("Filename"))+1,32)&"'!AA"&ROW(),"AA"&ROW())

Hope that helps.
 
Upvote 0

Forum statistics

Threads
1,215,059
Messages
6,122,918
Members
449,093
Latest member
dbomb1414

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top