?How To: Create Hyperlink in a Cell that Selects a Dynamic Named Range?

Default300

Board Regular
Joined
Jul 13, 2009
Messages
83
Hi. Quick Question (I hope).

How do you create a Clickable Hyperlink in a Cell that links to / goes to / Selects a Dynamic Named Range?

I have created the Dynamic Named Range.

I have been able to achieve the above with a Static Named Range.
(eg Insert Menu / Hyperlink / Place In This Document / Defined Names)

I have not been able to achieve the above with a Dynamic Named Range.

Previously I was able to link to / select an "UnNamed" Range using a complex formula I found on the web. I don't have the generic version of this anymore. I've tried to make what I've posted here more generic by removing my heavy customisation, but can't guaranteee that I haven't damaged the functionality (eg relative vs absolute refrences) or column letters.
Column A: LookupColumn

Cell A1: "TextValue001"
Cell A2: "TextValue002"
Cell A2: "TextValue003"
...

Column D: ValueToFind

Cell D1: "TextValue527"

Cell B1: =TEXT("#"&CELL("address",INDIRECT("'Sheet1'!A"&MATCH(D1,'Sheet1'!A:A,0))),"Text")

Cell C1: =HYPERLINK(B1,"HyperlinkText")

Incidentally, the two formulae were combined into one in the original. I just split them for clarity and because mine were so long.


As always, any assistance would be very welcome!

By the way, this time I am looking for a VBA-Free solution. I don't want to erase the undo history.

Thanks!
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
=HYPERLINK("#" & "My_Dynamic_Range_Name")

If you have multiple dynamic range then....

Add a Data validation List with names of range
In this case A2 and
In a hyperlink cell type......=HYPERLINK("#" & A2)
 
Upvote 0

Forum statistics

Threads
1,215,061
Messages
6,122,922
Members
449,094
Latest member
teemeren

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